A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/llvm/llvm-project/issues/51598 below:

Missing typo correction diagnostic in preprocessor conditionals · Issue #51598 · llvm/llvm-project · GitHub

Bugzilla Link 52256 Version trunk OS Windows NT CC @zygoloid Extended Description

Consider the following code, and assume that FOO is not defined:

#ifdef FOO
#elfidef BAR
#endif

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 is discarded.

When scanning for the end of the discarded block, we should consider typo corrections for non-directives to help catch this sort of mistake.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4