diff options
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index ee8883b8b26..3414c27bfc8 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -1046,6 +1046,12 @@ bool Preprocessor::ConcatenateIncludeName( while (CurTok.isNot(tok::eom)) { End = CurTok.getLocation(); + // FIXME: Provide code completion for #includes. + if (CurTok.is(tok::code_completion)) { + Lex(CurTok); + continue; + } + // Append the spelling of this token to the buffer. If there was a space // before it, add it now. if (CurTok.hasLeadingSpace()) |