[PATCH] D136162: [analyzer] Fix assertion failure with conflicting prototype calls

Tomasz KamiƄski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 09:17:25 PDT 2022


tomasz-kaminski-sonarsource added inline comments.


================
Comment at: clang/test/Analysis/region-store.c:66
+  // expected-warning at +1 {{passing arguments to 'b' without a prototype is deprecated in all versions of C and is not supported in C2x}}
+  b(&buffer);
+}
----------------
tomasz-kaminski-sonarsource wrote:
> I would like to see an example where the called function is implicitly defined.
After rethinking it, I have not idea how to construct that example.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136162



More information about the cfe-commits mailing list