[clang-tidy] Mock system headers for portability-restrict-system-includes tests.
[lldb.git] / clang-tools-extra / test / clang-tidy / checkers / portability-restrict-system-includes-allow.cpp
index e3a9376..a74b94b 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %check_clang_tidy %s portability-restrict-system-includes %t \
-// RUN:     -- -config="{CheckOptions: [{key: portability-restrict-system-includes.Includes, value: '*,-stddef.h'}]}"
+// RUN:     -- -config="{CheckOptions: [{key: portability-restrict-system-includes.Includes, value: '*,-stddef.h'}]}" \
+// RUN:     -- -isystem %S/Inputs/portability-restrict-system-includes/system
 
 // Test block-list functionality: allow all but stddef.h.