From 7da4299ef358b6d013f9c8b4035736d4485a1a3c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 13 Dec 2015 22:49:37 +0000 Subject: clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index*.cpp: Don't assume size_t were unsigned int. llvm-svn: 255475 --- .../cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp') diff --git a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp index 5ababf76092..a88a2d9e9ce 100644 --- a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp +++ b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp @@ -1,7 +1,7 @@ // RUN: %check_clang_tidy %s cppcoreguidelines-pro-bounds-constant-array-index %t -- -config='{CheckOptions: [{key: cppcoreguidelines-pro-bounds-constant-array-index.GslHeader, value: "dir1/gslheader.h"}]}' -- -std=c++11 // CHECK-FIXES: #include "dir1/gslheader.h" -typedef unsigned int size_t; +typedef __SIZE_TYPE__ size_t; namespace std { template -- cgit v1.2.3