diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-05-20 09:26:47 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-05-20 09:26:47 +0000 |
commit | cb18647b19ef1a6b42409c4e39bd9b8caf9555a7 (patch) | |
tree | c4e49641a033b1f558b0f964cb0140e5348b0ee3 /clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp | |
parent | a760e698405c2756d8901c11f31061b904746e2c (diff) | |
download | bcm5719-llvm-cb18647b19ef1a6b42409c4e39bd9b8caf9555a7.tar.gz bcm5719-llvm-cb18647b19ef1a6b42409c4e39bd9b8caf9555a7.zip |
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
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp b/clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp index 98117fc544b..9690972a97c 100644 --- a/clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp +++ b/clang-tools-extra/test/clang-tidy/modernize-use-auto-iterator.cpp @@ -1,5 +1,5 @@ -// RUN: %check_clang_tidy %s modernize-use-auto %t -- -- \ -// RUN: -std=c++11 -I %S/Inputs/modernize-use-auto +// RUN: %check_clang_tidy -std=c++11,c++14 %s modernize-use-auto %t -- -- -I %S/Inputs/modernize-use-auto +// FIXME: Fix the checker to work in C++17 mode. #include "containers.h" |