]> granicus.if.org Git - clang/commit
Make sure we actually found a redeclaration before complaining about attributes added...
authorDouglas Gregor <dgregor@apple.com>
Fri, 28 Aug 2009 22:54:55 +0000 (22:54 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 28 Aug 2009 22:54:55 +0000 (22:54 +0000)
commitfdc39199c91e6246ac3f4da10eee96a369ce3e1a
tree6bc4a8787fe81cef951c9656455c0f3079900cc8
parent0d59292581dbaa4203451709077de40e0ad72c18
Make sure we actually found a redeclaration before complaining about attributes added to a redeclaration in C++

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80403 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/attr-after-definition.cpp [new file with mode: 0644]