Clang builtin headers now included with -isystem
This commit is contained in:
parent
5c90ef8c9f
commit
db4c25c97a
@ -200,6 +200,6 @@ def _RemoveUnusedFlags( flags, filename ):
|
||||
def _SpecialClangIncludes():
|
||||
libclang_dir = os.path.dirname( ycm_core.__file__ )
|
||||
path_to_includes = os.path.join( libclang_dir, 'clang_includes' )
|
||||
return [ '-I', path_to_includes ]
|
||||
return [ '-isystem', path_to_includes ]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user