diff options
2 files changed, 2 insertions, 2 deletions
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<typename T, size_t N> 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> |