[PATCH] D127251: [Lex] Fix `fixits` for typo-corrections of preprocessing directives within skipped blocks

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 13:51:47 PDT 2022


akyrtzi updated this revision to Diff 434940.
akyrtzi added a comment.

No need to add '#' for the fixit since we have the range of the directive identifier to fix.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127251/new/

https://reviews.llvm.org/D127251

Files:
  clang/include/clang/Lex/Preprocessor.h
  clang/lib/Lex/PPDirectives.cpp
  clang/test/Preprocessor/suggest-typoed-directive.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127251.434940.patch
Type: text/x-patch
Size: 4789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220607/44e1c9ba/attachment.bin>


More information about the cfe-commits mailing list