From cb18647b19ef1a6b42409c4e39bd9b8caf9555a7 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 20 May 2019 09:26:47 +0000 Subject: Run ClangTidy tests in all C++ language modes Summary: I inspected every test and did one of the following: - changed the test to run in all language modes, - added a comment explaining why the test is only applicable in a certain mode, - limited the test to language modes where it passes and added a FIXME to fix the checker or the test. Reviewers: alexfh, lebedev.ri Subscribers: nemanjai, kbarton, arphaman, jdoerfert, lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62125 llvm-svn: 361131 --- .../readability-inconsistent-declaration-parameter-name-macros.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang-tools-extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp') diff --git a/clang-tools-extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp b/clang-tools-extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp index ed05faca415..4dcf99ec8ef 100644 --- a/clang-tools-extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp +++ b/clang-tools-extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp @@ -1,6 +1,5 @@ // RUN: %check_clang_tidy %s readability-inconsistent-declaration-parameter-name %t -- \ -// RUN: -config="{CheckOptions: [{key: readability-inconsistent-declaration-parameter-name.IgnoreMacros, value: 0}]}" \ -// RUN: -- -std=c++11 +// RUN: -config="{CheckOptions: [{key: readability-inconsistent-declaration-parameter-name.IgnoreMacros, value: 0}]}" #define MACRO() \ void f(int x) -- cgit v1.2.3