File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ namespace clang::tidy::bugprone {
24
24
namespace {
25
25
static constexpr StringRef DefaultIncludeTypeRegex =
26
26
" ::std::.*mutex;::std::future;::std::basic_string;::std::basic_regex;"
27
- " ::std::base_istringstream ;::std::base_stringstream ;::std::bitset;"
27
+ " ::std::basic_istringstream ;::std::basic_stringstream ;::std::bitset;"
28
28
" ::std::filesystem::path" ;
29
29
30
30
AST_MATCHER (VarDecl, isLocalVarDecl) { return Node.isLocalVarDecl (); }
Original file line number Diff line number Diff line change @@ -38,19 +38,18 @@ Options
38
38
.. option :: IncludeTypes
39
39
40
40
Semicolon-separated list of regular expressions matching types of variables
41
- to check.
42
- By default the following types are checked:
41
+ to check. By default the following types are checked:
43
42
44
43
* `::std::.*mutex `
45
44
* `::std::future `
46
- * `::std::string `
45
+ * `::std::basic_string `
47
46
* `::std::basic_regex `
48
47
* `::std::basic_istringstream `
49
48
* `::std::basic_stringstream `
50
49
* `::std::bitset `
51
- * `::std::path `
50
+ * `::std::filesystem:: path `
52
51
53
52
.. option :: ExcludeTypes
54
53
55
- A semicolon-separated list of regular expressions matching types that are
54
+ A semicolon-separated list of regular expressions matching types that are
56
55
excluded from the `IncludeTypes ` matches. By default it is an empty list.
You can’t perform that action at this time.
0 commit comments