[PATCH] D125771: [clang-tidy] Add a useful note about -std=c++11-or-later

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 13:59:20 PDT 2022


LegalizeAdulthood added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/check_clang_tidy.py:31
+  -std=c++(98|11|14|17|20)[-or-later]:
+    This flag will cause multiple runs within the same check_clang_tidy
+    execution. Make sure you don't have shared state across these runs.
----------------
It's only the `-or-later` variants that cause multiple runs, so we should explain this more explicitly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125771



More information about the cfe-commits mailing list