chapuni added a subscriber: chapuni.
chapuni added a comment.
I have reverted in r253428, since I can reproduce failure locally. I'll
investigate later, too.
================
Comment at:
clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp:2
@@ +1,3 @@
+// 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
+#include <array>
+// CHECK-FIXES: #include "dir1/gslheader.h"
----------------
Standard headers might be unavailable depending on a target, like host=linux
target=msvc.
Could you improve it?
# Avoid <array>
# Introduce a new feature like "native"
Repository:
rL LLVM
http://reviews.llvm.org/D13746
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits