summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-05-04 20:33:53 +0000
committerZachary Turner <zturner@google.com>2016-05-04 20:33:53 +0000
commit54fd7ff6db59368d22389dcf8b47db1534ec3710 (patch)
tree79a71805c0fe923f3b85716226d3f807cdb18fc0 /lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
parentec28fc349987fa9cd9a05680ea5e81d9a9b35ce3 (diff)
downloadbcm5719-llvm-54fd7ff6db59368d22389dcf8b47db1534ec3710.tar.gz
bcm5719-llvm-54fd7ff6db59368d22389dcf8b47db1534ec3710.zip
Update for llvm change to add pdb namespace.
r268544 moves all PDB reading code into a pdb namespace, so LLDB needs to be updated to take this into account. llvm-svn: 268545
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
index d4e92bf4f32..1e8e040fd47 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
@@ -32,6 +32,7 @@
using namespace lldb;
using namespace lldb_private;
using namespace llvm;
+using namespace llvm::pdb;
namespace
{
@@ -85,7 +86,7 @@ PDBASTParser::~PDBASTParser()
// DebugInfoASTParser interface
lldb::TypeSP
-PDBASTParser::CreateLLDBTypeFromPDBType(const llvm::PDBSymbol &type)
+PDBASTParser::CreateLLDBTypeFromPDBType(const PDBSymbol &type)
{
// PDB doesn't maintain enough information to robustly rebuild the entire
// tree, and this is most problematic when it comes to figure out the
@@ -194,7 +195,7 @@ PDBASTParser::CreateLLDBTypeFromPDBType(const llvm::PDBSymbol &type)
}
bool
-PDBASTParser::AddEnumValue(CompilerType enum_type, const llvm::PDBSymbolData &enum_value) const
+PDBASTParser::AddEnumValue(CompilerType enum_type, const PDBSymbolData &enum_value) const
{
Declaration decl;
Variant v = enum_value.getValue();
OpenPOWER on IntegriCloud