Skip to content

Commit 323d4b6

Browse files
authored
Merge pull request #1634 from Chilledheart/cpp_imsvc_support
cpp: support -imsvc
2 parents 9ce9158 + 29f5294 commit 323d4b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ycmd/completers/cpp/flags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
# checks prefixes).
3535
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '-isysroot', '--sysroot',
3636
'-gcc-toolchain', '-include-pch', '-include', '-iframework',
37-
'-F', '-imacros', '-idirafter', '-B' ]
38-
INCLUDE_FLAGS_WIN_STYLE = [ '/I' ]
37+
'-F', '-imacros', '-idirafter', '-B', '-imsvc' ]
38+
INCLUDE_FLAGS_WIN_STYLE = [ '/I', '-imsvc' ]
3939
PATH_FLAGS = [ '--sysroot=' ] + INCLUDE_FLAGS
4040

4141
# We need to remove --fcolor-diagnostics because it will cause shell escape

0 commit comments

Comments
 (0)