Clang builtin headers now included with -isystem

This commit is contained in:
Strahinja Val Markovic 2014-01-12 12:36:44 -08:00
parent 5c90ef8c9f
commit db4c25c97a

View File

@ -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 ]