[llvm-bugs] [Bug 52256] New: Missing typo correction diagnostic in preprocessor conditionals
llvm-bugs at lists.llvm.org
Thu Oct 21 10:34:05 PDT 2021
Bug ID: 52256
Summary: Missing typo correction diagnostic in preprocessor
OS: Windows NT
Assignee: unassignedclangbugs at nondot.org
Reporter: aaron at aaronballman.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Consider the following code, and assume that FOO is not defined:
In this case, we do not issue any diagnostic about the typo where `#elifdef` is
misspelled as `#elfidef` because it appears within a preprocessor branch that
When scanning for the end of the discarded block, we should consider typo
corrections for non-directives to help catch this sort of mistake.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs