diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-05-26 19:44:52 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-05-26 19:44:52 +0000 |
commit | 674cf26892a724ffff202d3e48ff6b25b3a46a6d (patch) | |
tree | cff5c26ee68a79ef6b9e83e35aaa7dc06710733a /clang/test/Rewriter | |
parent | 74df0df135e17963761e4771755ed091a4f99c96 (diff) | |
download | llvm-674cf26892a724ffff202d3e48ff6b25b3a46a6d.zip llvm-674cf26892a724ffff202d3e48ff6b25b3a46a6d.tar.gz llvm-674cf26892a724ffff202d3e48ff6b25b3a46a6d.tar.bz2 |
__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
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/missing-dllimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Rewriter/missing-dllimport.c b/clang/test/Rewriter/missing-dllimport.c index a09ebff..9702c97 100644 --- a/clang/test/Rewriter/missing-dllimport.c +++ b/clang/test/Rewriter/missing-dllimport.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i686-pc-win32 -verify %s +// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s // Do not report that 'foo()' is redeclared without dllimport attribute. // specified. Addresses <rdar://problem/7653912>. |