diff options
author | Nandor Licker <n@ndor.email> | 2019-09-02 11:34:47 +0000 |
---|---|---|
committer | Nandor Licker <n@ndor.email> | 2019-09-02 11:34:47 +0000 |
commit | c3bdad8c1e142925fd7d65191ca88cb8e28782df (patch) | |
tree | c5081c2a8b55cbd654d027f18b47f4c9390839a0 /clang/lib/AST/ASTContext.cpp | |
parent | da496363bf2b65b22a80772fec5693d14270e655 (diff) | |
download | bcm5719-llvm-c3bdad8c1e142925fd7d65191ca88cb8e28782df.tar.gz bcm5719-llvm-c3bdad8c1e142925fd7d65191ca88cb8e28782df.zip |
Revert [Clang Interpreter] Initial patch for the constexpr interpreter
This reverts r370636 (git commit 8327fed9475a14c3376b4860c75370c730e08f33)
llvm-svn: 370642
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) { |