When we run out of source locations, try to produce useful information
authorRichard Smith <richard@metafoo.co.uk>
Wed, 9 Nov 2022 23:45:54 +0000 (15:45 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Wed, 16 Nov 2022 22:36:16 +0000 (14:36 -0800)
commit9e52db182794d87bb8527dda313afd1ac491ab11
treea740353e0359b726ed4e51e61f362322823bb2ff
parentbcc9c5d959b9cdfbb535ea298805c4993cf0bb64
When we run out of source locations, try to produce useful information
indicating why we ran out.
12 files changed:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticCommonKinds.td
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Basic/SourceManager.h
clang/lib/Basic/SourceManager.cpp
clang/lib/Lex/Pragma.cpp
clang/lib/Serialization/ASTReader.cpp
clang/test/Lexer/Inputs/inc2.h
clang/test/Lexer/SourceLocationsOverflow.c
clang/test/Misc/Inputs/include.h
clang/test/Misc/sloc-usage.cpp [new file with mode: 0644]
clang/test/Misc/warning-flags-enabled.c