Skip to content

Commit

Permalink
chore(cxx_indexer): remove experimental_alias_ref_fix flag (kythe#5938)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrlk authored Nov 16, 2023
1 parent 1ac7b16 commit e2fb7be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kythe/cxx/indexer/cxx/IndexerASTHooks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ ABSL_FLAG(bool, experimental_threaded_claiming, false,
"Defer answering claims and submit them in bulk when possible.");
ABSL_FLAG(bool, emit_anchors_on_builtins, true,
"Emit anchors on builtin types like int and float.");
ABSL_FLAG(bool, experimental_alias_ref_fix, true,
"Fix template references when aliasing is turned on.");
ABSL_FLAG(bool, emit_anchor_scopes, false,
"Emit childof edges to an anchor's semantic scope");

Expand Down Expand Up @@ -2075,7 +2073,6 @@ bool IndexerASTVisitor::VisitTemplateSpecializationTypePairHelper(
// we need to use the template name for primary templates.
if (!absl::GetFlag(
FLAGS_experimental_alias_template_instantiations) ||
!absl::GetFlag(FLAGS_experimental_alias_ref_fix) ||
IsExplicitOrInstantiatedFromPartialSpecialization(Decl)) {
return BuildNodeIdForDecl(Decl);
}
Expand Down

0 comments on commit e2fb7be

Please sign in to comment.