Index: tools/clang/translation_unit/test_files/compile_commands.json.template |
diff --git a/tools/clang/translation_unit/test_files/compile_commands.json.template b/tools/clang/translation_unit/test_files/compile_commands.json.template |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f7710877fb1ff666e6328d296a6862abb52799b3 |
--- /dev/null |
+++ b/tools/clang/translation_unit/test_files/compile_commands.json.template |
@@ -0,0 +1,12 @@ |
+[ |
+ { |
+ "directory": "$test_files_dir", |
+ "command": "clang++ -fsyntax-only -std=c++11 -c test.cc", |
+ "file": "test.cc" |
+ }, |
+ { |
+ "directory": "$test_files_dir", |
+ "command": "clang++ -fsyntax-only -std=c++11 --sysroot ./sysroot -c test_relative_sysroot.cc", |
+ "file": "test_relative_sysroot.cc" |
+ } |
+] |