We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62945bb commit 630ba7dCopy full SHA for 630ba7d
clang/lib/Analysis/UnsafeBufferUsage.cpp
@@ -739,7 +739,7 @@ class UPCStandalonePointerGadget : public FixableGadget {
739
static Matcher matcher() {
740
auto ArrayOrPtr = anyOf(hasPointerType(), hasArrayType());
741
auto target = expr(
742
- ignoringParenImpCasts(declRefExpr(allOf(ArrayOrPtr,
+ ignoringParenImpCasts(declRefExpr(allOf(ArrayOrPtr,
743
toSupportedVariable())).bind(DeclRefExprTag)));
744
return stmt(isInUnspecifiedPointerContext(target));
745
}
0 commit comments