[all-commits] [llvm/llvm-project] 761f3d: [clang][PreProcessor] Cutoff parsing after hitting...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Mon May 10 02:31:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 761f3d16753ecea625173729dd8c53df022cd4ab
https://github.com/llvm/llvm-project/commit/761f3d16753ecea625173729dd8c53df022cd4ab
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M clang/lib/Lex/PPDirectives.cpp
A clang/test/CodeCompletion/crash-if-directive.cpp
Log Message:
-----------
[clang][PreProcessor] Cutoff parsing after hitting completion point
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.
Differential Revision: https://reviews.llvm.org/D102069
More information about the All-commits
mailing list