This is an archive of the discontinued LLVM Phabricator instance.

[AST] Pass the ASTContext to one of the ctor of DeclRefExpr
AbandonedPublic

Authored by riccibruno on Dec 5 2018, 10:02 AM.

Details

Reviewers
aaron.ballman
Summary

(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.

Diff Detail

Repository
rC Clang

Event Timeline

riccibruno created this revision.Dec 5 2018, 10:02 AM
riccibruno planned changes to this revision.Dec 5 2018, 10:28 AM
riccibruno requested review of this revision.Dec 13 2018, 4:39 PM
riccibruno edited the summary of this revision. (Show Details)
riccibruno abandoned this revision.Dec 21 2018, 2:30 AM