__declspec is not a core Clang language extension. Instead, require -fms-extensions...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 26 May 2015 19:44:52 +0000 (19:44 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 26 May 2015 19:44:52 +0000 (19:44 +0000)
commit674cf26892a724ffff202d3e48ff6b25b3a46a6d
treecff5c26ee68a79ef6b9e83e35aaa7dc06710733a
parent74df0df135e17963761e4771755ed091a4f99c96
__declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension.

Note: __declspec is also temporarily enabled when compiling for a CUDA target because there are implementation details relying on __declspec(property) support currently. When those details change, __declspec should be disabled for CUDA targets.
llvm-svn: 238238
37 files changed:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/TokenKinds.def
clang/include/clang/Parse/Parser.h
clang/lib/Basic/IdentifierTable.cpp
clang/lib/Parse/ParseDecl.cpp
clang/test/CodeGen/dllexport.c
clang/test/CodeGen/dllimport.c
clang/test/CodeGen/ms-volatile.c
clang/test/CodeGen/windows-on-arm-dllimport-dllexport.c
clang/test/CodeGen/windows-on-arm-stack-probe-size.c
clang/test/CodeGenCXX/PR19955.cpp
clang/test/CodeGenCXX/dllexport.cpp
clang/test/CodeGenCXX/dllimport-rtti.cpp
clang/test/CodeGenCXX/dllimport.cpp
clang/test/CodeGenCXX/microsoft-abi-vftables.cpp
clang/test/CodeGenCXX/pr20897.cpp
clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
clang/test/Layout/ms-x86-aligned-tail-padding.cpp
clang/test/Layout/ms-x86-basic-layout.cpp
clang/test/Layout/ms-x86-empty-layout.c
clang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp
clang/test/Layout/ms-x86-empty-virtual-base.cpp
clang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp
clang/test/Layout/ms-x86-pack-and-align.cpp
clang/test/Layout/ms-x86-size-alignment-fail.cpp
clang/test/Layout/ms-x86-vfvb-alignment.cpp
clang/test/Layout/ms-x86-vfvb-sharing.cpp
clang/test/Parser/cxx-ambig-init-templ.cpp
clang/test/Rewriter/missing-dllimport.c
clang/test/Sema/dllexport.c
clang/test/Sema/dllimport.c
clang/test/Sema/ms-inline-asm.c
clang/test/Sema/pragma-ms_struct.c
clang/test/SemaCXX/dllexport-pr22591.cpp
clang/test/SemaCXX/dllexport.cpp
clang/test/SemaCXX/dllimport.cpp
clang/test/SemaCXX/generalized-deprecated.cpp