cor3ntin accepted this revision as: cor3ntin.
cor3ntin added a comment.
This revision is now accepted and ready to land.

LGTM except a couple of nitpicks



================
Comment at: clang/lib/Sema/SemaExpr.cpp:7052
+    // the call, diagnose this as calling a function without a prototype.
+    // However, if we found a function declaration, check to see if the strict
+    // uses without a prototype warning was disabled where the function was
----------------
I have a hard time parsing this sentence. I suspect words or punctuation are 
missing 


================
Comment at: clang/lib/Sema/SemaExpr.cpp:7065
+      Diag(LParenLoc, diag::warn_strict_uses_without_prototype)
+          << (bool)FDecl << FDecl;
+
----------------
`!= nullptr` may be cleaner 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123456/new/

https://reviews.llvm.org/D123456

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to