Ignore compile_commands.json only at the root of the tree.
[oota-llvm.git] / .gitignore
index eeebe0d05267db3c3eb32fca9a3278e54fe6fdf6..02146ef0ac53c2f7bd0faa8163b1e84c32fcd5e5 100644 (file)
@@ -16,7 +16,7 @@
 # Byte compiled python modules.
 *.pyc
 # vim swap files
-.*.swp
+.*.sw?
 .sw?
 #OS X specific files.
 .DS_store
 #==============================================================================#
 # Explicit files to ignore (only matches one).
 #==============================================================================#
+# Various tag programs
+/tags
+/TAGS
+/GPATH
+/GRTAGS
+/GSYMS
+/GTAGS
 .gitusers
 autom4te.cache
 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).
@@ -45,7 +52,15 @@ tools/clang
 tools/lldb
 # lld, which is tracked independently.
 tools/lld
+# llgo, which is tracked independently.
+tools/llgo
 # Polly, which is tracked independently.
 tools/polly
 # Sphinx build tree, if building in-source dir.
 docs/_build
+
+#==============================================================================#
+# Files created in tree by the Go bindings.
+#==============================================================================#
+bindings/go/llvm/llvm_config.go
+bindings/go/llvm/workdir