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

Unified Diff: tools/vim/chromium.ycm_extra_conf.py

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 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
« no previous file with comments | « tools/valgrind/memcheck/suppressions_linux.txt ('k') | tools/vim/ninja_output.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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\.'
« no previous file with comments | « tools/valgrind/memcheck/suppressions_linux.txt ('k') | tools/vim/ninja_output.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698