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)
commit6ee53bc0850c80287a6c5905af0ffd2101513021
treeef42f6ef861f3541ebf74e5204d02e1ea9d4dc37
parentd497ad43da0d83e9a4713431fc86dc3e648a6d06
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.

llvm-svn: 255371
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/Sema/asm-label.c [new file with mode: 0644]