Skip to content

Commit 772c950

Browse files
tkoeppecopybara-github
authored andcommitted
Remove unused private member "compiler_"
Indexer-PiperOrigin-RevId: 802304807
1 parent 1e77a78 commit 772c950

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

infra/indexer/frontend/ast_visitor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ class AstVisitor : public clang::RecursiveASTVisitor<AstVisitor> {
4242
clang::CompilerInstance& compiler)
4343
: index_(index),
4444
context_(context),
45-
compiler_(compiler),
4645
sema_(compiler.getSema()) {}
4746

4847
bool shouldVisitImplicitCode() const { return true; }
@@ -101,7 +100,6 @@ class AstVisitor : public clang::RecursiveASTVisitor<AstVisitor> {
101100

102101
InMemoryIndex &index_;
103102
clang::ASTContext &context_;
104-
clang::CompilerInstance &compiler_;
105103
clang::Sema& sema_;
106104

107105
struct CachedEntityId {

0 commit comments

Comments
 (0)