diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-09-11 08:16:30 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-09-11 08:16:30 +0000 |
| commit | d7df4055808eb9c7315177aab231ca5fdeeabe52 (patch) | |
| tree | 16474a72b29c11bdde41d7930105a5e3f892db44 | |
| parent | c3115d1c280f0f696b641c4a8859e14e7f5dca8a (diff) | |
| download | bcm5719-llvm-d7df4055808eb9c7315177aab231ca5fdeeabe52.tar.gz bcm5719-llvm-d7df4055808eb9c7315177aab231ca5fdeeabe52.zip | |
clang-tidy/misc-sizeof-container.cpp: Add explicit triple.
For targeting LLP64, like Windows x86, size_t is not unsigned long.
tools/clang/tools/extra/test/clang-tidy/Output/misc-sizeof-container.cpp.tmp.cpp:33:12: error: target of using declaration conflicts with declaration already in scope [clang-diagnostic-error]
using std::size_t;
^
llvm-svn: 247394
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-sizeof-container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-sizeof-container.cpp b/clang-tools-extra/test/clang-tidy/misc-sizeof-container.cpp index 4ef92385a2a..41f5029b592 100644 --- a/clang-tools-extra/test/clang-tidy/misc-sizeof-container.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-sizeof-container.cpp @@ -1,4 +1,4 @@ -// RUN: %python %S/check_clang_tidy.py %s misc-sizeof-container %t +// RUN: %python %S/check_clang_tidy.py %s misc-sizeof-container %t -- -std=c++11 -target x86_64-unknown-unknown namespace std { |

