Skip to content

Commit bf55333

Browse files
committed
[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.
1 parent dc5f274 commit bf55333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaObjCProperty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ RedeclarePropertyAccessor(ASTContext &Context, ObjCImplementationDecl *Impl,
10411041
Decl->getSelector(), Decl->getReturnType(),
10421042
Decl->getReturnTypeSourceInfo(), Impl, Decl->isInstanceMethod(),
10431043
Decl->isVariadic(), Decl->isPropertyAccessor(),
1044-
/* isSynthesized*/ true, Decl->isImplicit(), Decl->isDefined(),
1044+
/*isSynthesizedAccessorStub=*/true, Decl->isImplicit(), Decl->isDefined(),
10451045
Decl->getImplementationControl(), Decl->hasRelatedResultType());
10461046
ImplDecl->getMethodFamily();
10471047
if (Decl->hasAttrs())

0 commit comments

Comments
 (0)