diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp b/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp index 0c4338f7a55..d298343f990 100644 --- a/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp @@ -32,6 +32,9 @@ #define GOOD20 void* #define GOOD21(a) case Fred::a: #define GOOD22(a) if (verbose) return a; +#define GOOD23(type) (type::Field) +#define GOOD24(t) std::set<t> s +#define GOOD25(t) std::set<t,t,t> s // These are allowed for now.. #define MAYBE1 *12.34 |

