clang-cl: Handle dll attributes in explicit class template specialization definitions...
authorHans Wennborg <hans@hanshq.net>
Wed, 27 May 2015 00:06:45 +0000 (00:06 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 27 May 2015 00:06:45 +0000 (00:06 +0000)
commit17f9b4469e71544ef62059c7c7d99ee684cb323b
treeae70815af62be0a41bd2ddce91f5dc945f8a957c
parentbc6a90938426330a76ea1ec29d99ca7fcf46f447
clang-cl: Handle dll attributes in explicit class template specialization definitions (PR23667)

Previously, we wouldn't call checkDLLAttribute() after the class template
specialization definition if the class template was already instantiated
by an explicit class template specialization declaration.

llvm-svn: 238266
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/test/CodeGenCXX/dllexport.cpp
clang/test/CodeGenCXX/dllimport.cpp