| Issue |
238447
|
| Summary |
Typo correction is suppressed when it should not have been
|
| Labels |
clang:diagnostics
|
| Assignees |
|
| Reporter |
Endilll
|
Consider the following part of the test for CWG987: https://github.com/llvm/llvm-project/blob/c59d82931ace84507af780e0ae175356bc25d16b/clang/test/CXX/drs/cwg9xx.cpp#L303-L308
C++98 mode diagnostics is much better thanks to the typo correction, but unfortunately they are limited to C++98 mode. This discrepancy does not arise if you copy just CWG987 test to Compiler Explorer, which makes me think that other code in that file wrapped in `#if __cplusplus >= 201103L` prevents typo correction from working.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs