summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-12-13 22:49:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-12-13 22:49:37 +0000
commit7da4299ef358b6d013f9c8b4035736d4485a1a3c (patch)
treee214807f287431ec12cf34458e132284ea01d8f8 /clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp
parent34e1122a0de2458fe5b986a25aac87152cd8178a (diff)
downloadbcm5719-llvm-7da4299ef358b6d013f9c8b4035736d4485a1a3c.tar.gz
bcm5719-llvm-7da4299ef358b6d013f9c8b4035736d4485a1a3c.zip
clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index*.cpp: Don't assume size_t were unsigned int.
llvm-svn: 255475
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp
index 7539a1d3721..8f22302ce29 100644
--- a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp
+++ b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp
@@ -1,6 +1,6 @@
// RUN: %check_clang_tidy %s cppcoreguidelines-pro-bounds-constant-array-index %t
-typedef unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
namespace std {
template<typename T, size_t N>
OpenPOWER on IntegriCloud