summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp
diff options
context:
space:
mode:
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.cpp2
1 files changed, 2 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 9e5a2fe0497..0c4338f7a55 100644
--- a/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp
+++ b/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp
@@ -30,6 +30,8 @@
#define GOOD18(x) ;x;
#define GOOD19 ;-2;
#define GOOD20 void*
+#define GOOD21(a) case Fred::a:
+#define GOOD22(a) if (verbose) return a;
// These are allowed for now..
#define MAYBE1 *12.34
OpenPOWER on IntegriCloud