]> granicus.if.org Git - clang/commit
Follow-up to r235046: selectany only causes a definition if it's not inherited.
authorNico Weber <nicolasweber@gmx.de>
Fri, 17 Apr 2015 09:50:28 +0000 (09:50 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 17 Apr 2015 09:50:28 +0000 (09:50 +0000)
commit1b2d986f8a66b32523465fe606c7f2b12b3cfd83
tree65498e440d204ad053f4dbb2c491b45fec0fd88a
parentc40b644374e695f1d324a7d840c6c3a2009e8616
Follow-up to r235046: selectany only causes a definition if it's not inherited.

(For example needed to parse system header inputscope.h, which first has
an extern "C" selectany IID and then later an extern "C" declaration of that
same IID.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235174 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/SemaCXX/attr-selectany.cpp