Ignore compile_commands.json only at the root of the tree.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 26 Mar 2015 18:55:42 +0000 (18:55 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 26 Mar 2015 18:55:42 +0000 (18:55 +0000)
Can avoid a problem if tools/clang/tools/extra is in the tree.

Patch by Douglas Yung!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233307 91177308-0d34-0410-b5e6-96231b3b80d8

.gitignore

index 7109373b7f8907af5052cdfd132cfd4bc17c0f14..02146ef0ac53c2f7bd0faa8163b1e84c32fcd5e5 100644 (file)
@@ -37,7 +37,7 @@ cscope.files
 cscope.out
 autoconf/aclocal.m4
 autoconf/autom4te.cache
-compile_commands.json
+/compile_commands.json
 
 #==============================================================================#
 # Directories to ignore (do not add trailing '/'s, they skip symlinks).