Index: tools/vim/chromium.ycm_extra_conf.py |
diff --git a/tools/vim/chromium.ycm_extra_conf.py b/tools/vim/chromium.ycm_extra_conf.py |
index 2901c545dd08d8623a557fb2830f2b2f89b9c941..76fce6761164f7f6aa976c93899f4ca1aeb6e049 100644 |
--- a/tools/vim/chromium.ycm_extra_conf.py |
+++ b/tools/vim/chromium.ycm_extra_conf.py |
@@ -56,7 +56,7 @@ def SystemIncludeDirectoryFlags(): |
with open(os.devnull, 'rb') as DEVNULL: |
output = subprocess.check_output(['clang', '-v', '-E', '-x', 'c++', '-'], |
stdin=DEVNULL, stderr=subprocess.STDOUT) |
- except (FileNotFoundError, subprocess.CalledProcessError): |
+ except: |
return [] |
includes_regex = r'#include <\.\.\.> search starts here:\s*' \ |
r'(.*?)End of search list\.' |