diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-04 10:57:06 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-04 10:57:06 +0000 |
commit | 2c9f83cfab797330fab4227b77773827b70c91fc (patch) | |
tree | eeabbe36d3c51d93c60263f427e8748ea30bdfe1 /clang/lib/AST/ASTContext.cpp | |
parent | d3e3c11f4bccbfeb36dc70eb2acb34b1622cd51a (diff) | |
download | bcm5719-llvm-2c9f83cfab797330fab4227b77773827b70c91fc.tar.gz bcm5719-llvm-2c9f83cfab797330fab4227b77773827b70c91fc.zip |
Revert "[Clang Interpreter] Initial patch for the constexpr interpreter"
Breaks BUILD_SHARED_LIBS build, introduces cycles in library dependency
graphs. (clangInterp depends on clangAST which depends on clangInterp)
This reverts r370839, which is an yet another recommit of D64146.
llvm-svn: 370874
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 29a80f17eb9..94a5addff25 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) { |