diff options
author | Nandor Licker <n@ndor.email> | 2019-08-30 21:32:00 +0000 |
---|---|---|
committer | Nandor Licker <n@ndor.email> | 2019-08-30 21:32:00 +0000 |
commit | 0300c3536a33c2be5dea1577702d0d052b95da18 (patch) | |
tree | 9520f92856100b841501ae7af55ec8d762cb4e6a /clang/lib/AST/ASTContext.cpp | |
parent | a33474d595d8414ddbf936c82cf093b9a587c834 (diff) | |
download | bcm5719-llvm-0300c3536a33c2be5dea1577702d0d052b95da18.tar.gz bcm5719-llvm-0300c3536a33c2be5dea1577702d0d052b95da18.zip |
Revert [Clang Interpreter] Initial patch for the constexpr interpreter
This reverts r370531 (git commit d4c1002e0bbbbab50f6891cdd2f5bd3a8f3a3584)
llvm-svn: 370535
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index dd88c919669..063c202cb63 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -12,7 +12,6 @@ #include "clang/AST/ASTContext.h" #include "CXXABI.h" -#include "Interp/Context.h" #include "clang/AST/APValue.h" #include "clang/AST/ASTMutationListener.h" #include "clang/AST/ASTTypeTraits.h" @@ -784,13 +783,6 @@ CXXABI *ASTContext::createCXXABI(const TargetInfo &T) { llvm_unreachable("Invalid CXXABI type!"); } -interp::Context &ASTContext::getInterpContext() { - if (!InterpContext) { - InterpContext.reset(new interp::Context(*this)); - } - return *InterpContext.get(); -} - static const LangASMap *getAddressSpaceMap(const TargetInfo &T, const LangOptions &LOpts) { if (LOpts.FakeAddressSpaceMap) { |