1 //===-- PDBASTParser.h ------------------------------------------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_PLUGINS_SYMBOLFILE_PDB_PDBASTPARSER_H
11 #define LLDB_PLUGINS_SYMBOLFILE_PDB_PDBASTPARSER_H
13 #include "lldb/lldb-forward.h"
15 #include "lldb/Symbol/ClangASTImporter.h"
24 namespace lldb_private {
25 class ClangASTContext;
27 } // namespace lldb_private
33 class PDBSymbolTypeBuiltin;
39 PDBASTParser(lldb_private::ClangASTContext &ast);
42 lldb::TypeSP CreateLLDBTypeFromPDBType(const llvm::pdb::PDBSymbol &type);
45 bool AddEnumValue(lldb_private::CompilerType enum_type,
46 const llvm::pdb::PDBSymbolData &data) const;
48 lldb_private::ClangASTContext &m_ast;
49 lldb_private::ClangASTImporter m_ast_importer;
52 #endif // LLDB_PLUGINS_SYMBOLFILE_PDB_PDBASTPARSER_H