[clang-tools-extra] r332152 - [clang-tidy] Fixing fuchsia-restrict-includes-headers test

Julie Hockett via cfe-commits cfe-commits at lists.llvm.org
Fri May 11 15:58:45 PDT 2018


Author: juliehockett
Date: Fri May 11 15:58:45 2018
New Revision: 332152

URL: http://llvm.org/viewvc/llvm-project?rev=332152&view=rev
Log:
[clang-tidy] Fixing fuchsia-restrict-includes-headers test

Removing filepaths so windows tests pass.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/fuchsia-restrict-system-includes-headers.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/fuchsia-restrict-system-includes-headers.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/fuchsia-restrict-system-includes-headers.cpp?rev=332152&r1=332151&r2=332152&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/fuchsia-restrict-system-includes-headers.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/fuchsia-restrict-system-includes-headers.cpp Fri May 11 15:58:45 2018
@@ -10,12 +10,12 @@
 
 // transitive.h includes <r.h> and <t.h>
 #include <transitive.h>
-// CHECK-MESSAGES: :1:1: warning: system include r.h not allowed, transitively included from {{(.*\/)*}}Headers/fuchsia-restrict-system-includes/system/transitive.h
-// CHECK-MESSAGES: :2:1: warning: system include t.h not allowed, transitively included from {{(.*\/)*}}Headers/fuchsia-restrict-system-includes/system/transitive.h
+// CHECK-MESSAGES: :1:1: warning: system include r.h not allowed, transitively included from {{.*}}
+// CHECK-MESSAGES: :2:1: warning: system include t.h not allowed, transitively included from {{.*}}
 
 // transitive.h includes <s.h> and <t.h>
 #include "transitive2.h"
-// CHECK-MESSAGES: :2:1: warning: system include t.h not allowed, transitively included from {{(.*\/)*}}Headers/fuchsia-restrict-system-includes/transitive2.h
+// CHECK-MESSAGES: :2:1: warning: system include t.h not allowed, transitively included from {{.*}}
 // CHECK-FIXES-NOT: #include <t.h>
 
 int main() {




More information about the cfe-commits mailing list