[PATCH] D125771: [clang-tidy] Add a useful note about -std=c++11-or-later
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 21 09:00:55 PDT 2022
steakhal 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.
----------------
LegalizeAdulthood wrote:
> It's only the `-or-later` variants that cause multiple runs, so we should explain this more explicitly.
Oh, true!
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