]> granicus.if.org Git - clang/commit
Error on redeclaring with a conflicting asm label and on redeclaring with an asm...
authorNick Lewycky <nicholas@mxc.ca>
Fri, 11 Dec 2015 21:28:55 +0000 (21:28 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 11 Dec 2015 21:28:55 +0000 (21:28 +0000)
commit7271e6a3578dfaa990ae26affd3efeac43cdee87
tree23f8ad220ae6c3f2a4d03b792bc5972cde62b224
parent96e7b7f14b6a91ec581e834bb47d4829d8c7efed
Error on redeclaring with a conflicting asm label and on redeclaring with an asm label after the first ODR-use. Detects problems like the one in PR22830 where gcc and clang both compiled the file but with different behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255371 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/Sema/asm-label.c [new file with mode: 0644]