File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -261,30 +261,6 @@ static InterpreterInfo& getInterpInfo(compat::Interpreter* I) {
261261 llvm_unreachable (" Invalid State" );
262262}
263263
264- // static compat::Interpreter& getInterp(const clang::Decl* D) {
265- // std::lock_guard<std::mutex> Lock(InterpreterStackLock);
266- // if (!D)
267- // return *getInterpInfo(NULLPTR).Interpreter;
268- // if (sInterpreters->size() == 1)
269- // return *sInterpreters->back()->Interpreter;
270- // return *(*sInterpreterASTMap)[&D->getASTContext()]->Interpreter;
271- // }
272- // static compat::Interpreter& getInterp(const void* D) {
273- // return *getInterpInfo(D).Interpreter;
274- // }
275-
276- // static clang::Sema& getSema(const clang::Decl* D) {
277- // return getInterpInfo(D).Interpreter->getSema();
278- // }
279- // static clang::Sema& getSema(const void* D) { return getInterp(D).getSema(); }
280-
281- // static clang::ASTContext& getASTContext(const clang::Decl* D) {
282- // return getSema(D).getASTContext();
283- // }
284- // static clang::ASTContext& getASTContext(const void* D) {
285- // return getSema(D).getASTContext();
286- // }
287-
288264int Declare (compat::Interpreter& I, const char * code, bool silent);
289265static TCppType_t GetTypeFromScope (clang::Decl* D, compat::Interpreter& I);
290266static TCppIndex_t GetNumBases (compat::Interpreter& I, clang::CXXRecordDecl* D);
You can’t perform that action at this time.
0 commit comments