Skip to content

Commit f16395c

Browse files
mparkgithub-actions[bot]
authored andcommitted
Automerge: [NFC] Add a leading comment to boolean arguments. (#131746)
Addressing [nit comments](llvm/llvm-project#129982 (comment)) from @shafik
2 parents be19090 + 0f7bd60 commit f16395c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10825,7 +10825,8 @@ void ASTReader::FinishedDeserializing() {
1082510825
{
1082610826
// Guard variable to avoid recursively entering the process of passing
1082710827
// decls to consumer.
10828-
SaveAndRestore GuardPassingDeclsToConsumer(CanPassDeclsToConsumer, false);
10828+
SaveAndRestore GuardPassingDeclsToConsumer(CanPassDeclsToConsumer,
10829+
/*NewValue=*/false);
1082910830

1083010831
// Propagate exception specification and deduced type updates along
1083110832
// redeclaration chains.

clang/lib/Serialization/ASTReaderDecl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4314,7 +4314,8 @@ void ASTReader::PassInterestingDeclsToConsumer() {
43144314

43154315
// Guard variable to avoid recursively redoing the process of passing
43164316
// decls to consumer.
4317-
SaveAndRestore GuardPassingDeclsToConsumer(CanPassDeclsToConsumer, false);
4317+
SaveAndRestore GuardPassingDeclsToConsumer(CanPassDeclsToConsumer,
4318+
/*NewValue=*/false);
43184319

43194320
// Ensure that we've loaded all potentially-interesting declarations
43204321
// that need to be eagerly loaded.

0 commit comments

Comments
 (0)