[PATCH] D92039: [-Wcalled-once-parameter] Introduce 'called_once' attribute

Arthur O'Dwyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 24 09:55:35 PST 2020


Quuxplusone added inline comments.


================
Comment at: clang/lib/Analysis/CalledOnceCheck.cpp:1223
+    // We consider '(void)parameter' as a manual no-op escape.
+    // It should be used to explicitly tell the analysis that this paramater
+    // is intentionally not called on this path.
----------------
s/paramater/parameter/


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92039



More information about the cfe-commits mailing list