[all-commits] [llvm/llvm-project] fbaa8b: [Lex] Fix `fixits` for typo-corrections of preproc...
Argyrios Kyrtzidis via All-commits
all-commits at lists.llvm.org
Fri Jun 10 13:32:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbaa8b9ae5f3c6637be7d4dae6adaab4be811625
https://github.com/llvm/llvm-project/commit/fbaa8b9ae5f3c6637be7d4dae6adaab4be811625
Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
Date: 2022-06-10 (Fri, 10 Jun 2022)
Changed paths:
M clang/include/clang/Lex/Preprocessor.h
M clang/lib/Lex/PPDirectives.cpp
M clang/test/Preprocessor/suggest-typoed-directive.c
Log Message:
-----------
[Lex] Fix `fixits` for typo-corrections of preprocessing directives within skipped blocks
The `EndLoc` parameter was always unset so no fixit was emitted. But it is also unnecessary for determining the range so we can remove it.
Differential Revision: https://reviews.llvm.org/D127251
More information about the All-commits
mailing list