This fixes a crash caused by Lexers being invalidated at code
completion points in
https://github.com/llvm/llvm-project/blob/main/clang/lib/Lex/PPLexerChange.cpp#L520.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Lex/PPDirectives.cpp | ||
---|---|---|
3029 | evulating => evaluating IIUC, CurPPLexer may be reset to nullptr after the above EvaluateDirectiveExpression call? If so, I think there is another place having the same pattern, line 597 of this file. |
evulating => evaluating
IIUC, CurPPLexer may be reset to nullptr after the above EvaluateDirectiveExpression call? If so, I think there is another place having the same pattern, line 597 of this file.