Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: tools/clang/translation_unit/test_files/compile_commands.json.template

Issue 1658553002: Check for system include paths by looking at clang's HeaderSearchOptions, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add helpful comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698