aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorJun Zhang <jun@junz.org>2022-09-12 22:21:17 +0800
committerJun Zhang <jun@junz.org>2022-09-12 22:40:54 +0800
commit1d51bb824f25140a5b1aa783f6860ac3e7f7d16d (patch)
treec676e252ea8eaff43ed13bcc4fa50b27a0ed80ff /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parente4f4542517fbd678f25fa4b5771641ace6915804 (diff)
downloadllvm-1d51bb824f25140a5b1aa783f6860ac3e7f7d16d.zip
llvm-1d51bb824f25140a5b1aa783f6860ac3e7f7d16d.tar.gz
llvm-1d51bb824f25140a5b1aa783f6860ac3e7f7d16d.tar.bz2
[Clang] Reword diagnostic for scope identifier with linkage
If the declaration of an identifier has block scope, and the identifier has external or internal linkage, the declaration shall have no initializer for the identifier. Clang now gives a more suitable diagnosis for this case. Fixes https://github.com/llvm/llvm-project/issues/57478 Signed-off-by: Jun Zhang <jun@junz.org> Differential Revision: https://reviews.llvm.org/D133088
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions