(Background : D55658 Avoid Decl::getASTContext in hot paths where possible, Part 1)
Pass the ASTContext to one of the constructor of DeclRefExpr since
in most cases the appropriate ASTContext is readily available.
Paths
| Differential D55334
[AST] Pass the ASTContext to one of the ctor of DeclRefExpr AbandonedPublic Authored by riccibruno on Dec 5 2018, 10:02 AM.
Details
Summary (Background : D55658 Avoid Decl::getASTContext in hot paths where possible, Part 1) Pass the ASTContext to one of the constructor of DeclRefExpr since
Diff Detail
Revision Contents
Diff 176848 include/clang/AST/Expr.h
lib/AST/ASTContext.cpp
lib/AST/Expr.cpp
lib/Analysis/ThreadSafety.cpp
lib/Analysis/ThreadSafetyCommon.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/Frontend/Rewrite/RewriteModernObjC.cpp
lib/Frontend/Rewrite/RewriteObjC.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaCUDA.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaObjCProperty.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/TreeTransform.h
|