[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 13:17:42 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGecf5924eb4c4: [clang-tidy] Add a useful note about -std=c++11-or-later (authored by steakhal).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125771/new/
https://reviews.llvm.org/D125771
Files:
clang-tools-extra/test/clang-tidy/check_clang_tidy.py
Index: clang-tools-extra/test/clang-tidy/check_clang_tidy.py
===================================================================
--- clang-tools-extra/test/clang-tidy/check_clang_tidy.py
+++ clang-tools-extra/test/clang-tidy/check_clang_tidy.py
@@ -19,11 +19,17 @@
[-assume-filename=<file-with-source-extension>] \
[-check-suffix=<comma-separated-file-check-suffixes>] \
[-check-suffixes=<comma-separated-file-check-suffixes>] \
+ [-std=c++(98|11|14|17|20)[-or-later]] \
<source-file> <check-name> <temp-file> \
-- [optional clang-tidy arguments]
Example:
// RUN: %check_clang_tidy %s llvm-include-order %t -- -- -isystem %S/Inputs
+
+Notes:
+ -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.
"""
import argparse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125771.431175.patch
Type: text/x-patch
Size: 884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220521/359d3e28/attachment.bin>
More information about the cfe-commits
mailing list