Merging r216619:
------------------------------------------------------------------------ r216619 | hans | 2014-08-27 14:27:40 -0700 (Wed, 27 Aug 2014) | 7 lines Allow adding dll attributes on certain redecls with a warning if the decl hasn't been used yet (PR20746) This shouldn't really be allowed, but it comes up in real code (see PR). As long as the decl hasn't been used there's no technical difficulty in supporting it, so downgrade the error to a warning. Differential Revision: http://reviews.llvm.org/D5087 ------------------------------------------------------------------------ llvm-svn: 218644
parent
484f12f6
Please register or sign in to comment