summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorNandor Licker <n@ndor.email>2019-08-30 15:41:45 +0000
committerNandor Licker <n@ndor.email>2019-08-30 15:41:45 +0000
commit5c8b94a672e78d92d058f146741277228f28f9dd (patch)
treef8d0851637cb87afc6da1f0149d47d0e395e614f /clang/lib/AST/ASTContext.cpp
parent3fac668d837a92bfbabb1205027b830d709a3c42 (diff)
downloadbcm5719-llvm-5c8b94a672e78d92d058f146741277228f28f9dd.tar.gz
bcm5719-llvm-5c8b94a672e78d92d058f146741277228f28f9dd.zip
Revert [Clang Interpreter] Initial patch for the constexpr interpreter
This reverts r370476 (git commit a5590950549719d0d9ea69ed164b0c8c0f4e02e6) llvm-svn: 370481
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp8
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) {
OpenPOWER on IntegriCloud