[clang] d36f72b - [clang][Sema][NFC] Add a boolean parameter comment

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 13 02:12:01 PST 2023


Author: Timm Bäder
Date: 2023-12-13T11:11:39+01:00
New Revision: d36f72b4187c3d934fd0558d174ad0c5ecafe140

URL: https://github.com/llvm/llvm-project/commit/d36f72b4187c3d934fd0558d174ad0c5ecafe140
DIFF: https://github.com/llvm/llvm-project/commit/d36f72b4187c3d934fd0558d174ad0c5ecafe140.diff

LOG: [clang][Sema][NFC] Add a boolean parameter comment

Added: 
    

Modified: 
    clang/lib/Sema/SemaDecl.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 19d972ed8ab2d..63854846f3d8c 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -15800,7 +15800,7 @@ Decl *Sema::ActOnSkippedFunctionBody(Decl *Decl) {
 }
 
 Decl *Sema::ActOnFinishFunctionBody(Decl *D, Stmt *BodyArg) {
-  return ActOnFinishFunctionBody(D, BodyArg, false);
+  return ActOnFinishFunctionBody(D, BodyArg, /*IsInstantiation=*/false);
 }
 
 /// RAII object that pops an ExpressionEvaluationContext when exiting a function


        


More information about the cfe-commits mailing list