diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp b/clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp index 9ae63207fd3..afb1eaaad87 100644 --- a/clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp +++ b/clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp @@ -105,9 +105,6 @@ void test_templates() { #define CAST(type, value) (type)(value) void macros(double d) { int i = CAST(int, d); - // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: C-style casts are discouraged. Use static_cast. - // CHECK-FIXES: #define CAST(type, value) (type)(value) - // CHECK-FIXES: int i = CAST(int, d); } enum E { E1 = 1 }; |

