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 44fe99c commit b18957fCopy full SHA for b18957f
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -1375,7 +1375,8 @@ bool isVoidStar(QualType T) {
1375
return !T.isNull() && T->isPointerType() && T->getPointeeType()->isVoidType();
1376
}
1377
1378
-const Expr* getPlacementNewBufferArg(const CallExpr *CE, const FunctionDecl *FD) {
+const Expr *getPlacementNewBufferArg(const CallExpr *CE,
1379
+ const FunctionDecl *FD) {
1380
if (CE->getNumArgs() == 1)
1381
return nullptr;
1382
// Second argument of placement new must be void*
0 commit comments