Author: Michael Buch
Date: 2025-10-24T17:31:29+01:00
New Revision: bf553338e5e1e4520d69ef5b34a8659bf3d92492

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

LOG: [clang][Sema][NFC] Adjust parameter name comment

The parameter is called `isSynthesizedAccessorStub`. This is the only callsite 
that sets it to `true`. So making it greppable is important.

I tried to find this callsite via `grep` but couldn't. This patch aligns the 
comment with all the other instances.

Added: 
    

Modified: 
    clang/lib/Sema/SemaObjCProperty.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaObjCProperty.cpp 
b/clang/lib/Sema/SemaObjCProperty.cpp
index 1880cec6ec8e5..67c554c50a8ce 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -1041,7 +1041,7 @@ RedeclarePropertyAccessor(ASTContext &Context, 
ObjCImplementationDecl *Impl,
       Decl->getSelector(), Decl->getReturnType(),
       Decl->getReturnTypeSourceInfo(), Impl, Decl->isInstanceMethod(),
       Decl->isVariadic(), Decl->isPropertyAccessor(),
-      /* isSynthesized*/ true, Decl->isImplicit(), Decl->isDefined(),
+      /*isSynthesizedAccessorStub=*/true, Decl->isImplicit(), 
Decl->isDefined(),
       Decl->getImplementationControl(), Decl->hasRelatedResultType());
   ImplDecl->getMethodFamily();
   if (Decl->hasAttrs())


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to