summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-11-17 18:04:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-11-17 18:04:13 +0000
commit9941da41918fde4e1d1afe6923f122bea3e99597 (patch)
tree4bea587ff459e0a3c9961ebf7928d9b878d5b2c6 /clang/lib/Frontend/CompilerInstance.cpp
parentef543381ed713c1dce381d064812194bf3ae8e6b (diff)
downloadbcm5719-llvm-9941da41918fde4e1d1afe6923f122bea3e99597.tar.gz
bcm5719-llvm-9941da41918fde4e1d1afe6923f122bea3e99597.zip
Sink BuryPointer from Clang into LLVM for reuse there
llvm-svn: 347141
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index be38c69235f..cc609bc302e 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -38,6 +38,7 @@
#include "clang/Serialization/ASTReader.h"
#include "clang/Serialization/GlobalModuleIndex.h"
#include "llvm/ADT/Statistic.h"
+#include "llvm/Support/BuryPointer.h"
#include "llvm/Support/CrashRecoveryContext.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/FileSystem.h"
@@ -2132,7 +2133,7 @@ CompilerInstance::lookupMissingImports(StringRef Name,
return false;
}
-void CompilerInstance::resetAndLeakSema() { BuryPointer(takeSema()); }
+void CompilerInstance::resetAndLeakSema() { llvm::BuryPointer(takeSema()); }
void CompilerInstance::setExternalSemaSource(
IntrusiveRefCntPtr<ExternalSemaSource> ESS) {
OpenPOWER on IntegriCloud