1 //===- PDBSymbolCompiland.h - Accessors for querying PDB compilands -----*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
14 #include "PDBSymbol.h"
21 class PDBSymbolCompiland : public PDBSymbol {
23 PDBSymbolCompiland(std::unique_ptr<IPDBRawSymbol> CompilandSymbol);
25 void dump(llvm::raw_ostream &OS) const override;
27 FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
28 FORWARD_SYMBOL_METHOD(getLexicalParentId)
29 FORWARD_SYMBOL_METHOD(getLibraryName)
30 FORWARD_SYMBOL_METHOD(getName)
31 FORWARD_SYMBOL_METHOD(getSourceFileName)
32 FORWARD_SYMBOL_METHOD(getSymIndexId)
34 static bool classof(const PDBSymbol *S) {
35 return S->getSymTag() == PDB_SymType::Compiland;
40 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H