diff --git a/.gitignore b/.gitignore
index ceb4f93b369d53eb6841484f63aac4308a03d7a3..52c6e54898882737066c8fb0adce55b337903db8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@ ID
 /configure
 /config.cache
 /config.log
+/.clang_complete
 
 # Empty marker file that's generated when we check out NSS
 security/manager/.nss.checkout
diff --git a/.hgignore b/.hgignore
index b0dae3cf2df9c74907af86bcb28286fe06023840..45e1bf866722fe569a6706e6e6c51e8ea032a15d 100644
--- a/.hgignore
+++ b/.hgignore
@@ -17,6 +17,7 @@
 ^configure$
 ^config\.cache$
 ^config\.log$
+^\.clang_complete
 
 # Empty marker file that's generated when we check out NSS
 ^security/manager/\.nss\.checkout$