Follow-up to r216619: use isCXXCLassMember() instead of trying to
authorHans Wennborg <hans@hanshq.net>
Wed, 29 Oct 2014 21:20:57 +0000 (21:20 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 29 Oct 2014 21:20:57 +0000 (21:20 +0000)
commitac6073bb1f01e67c47e004c5f3adb2bd6c1230cb
treef400977223331e4e09ab234fe852e0ead32faff4
parent323d57336c74715ebf79b597dd0a239849e8456e
Follow-up to r216619: use isCXXCLassMember() instead of trying to
check the context ourselves when selectively allowing late-added
dll attributes on unused free functions and variables (PR20746)

llvm-svn: 220874
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/dllexport.cpp
clang/test/SemaCXX/dllimport.cpp