<div dir="ltr">Doesn't cygwin do what mingw does, which is define __declspec to __attribute__?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 1:48 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, May 27, 2015 at 12:27 PM, Rafael Espíndola<br>
<<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>
> Maybe this broke cygwin:<br>
><br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bb.pgr.jp_builders_clang-2D3stage-2Di686-2Dcygwin_builds_1060_steps_make-5Fquick_logs_stdio&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=CXoyzkcOR5ZNX7UVrG0MLPABsTN11dUUNZVFwU3DL18&e=" target="_blank">http://bb.pgr.jp/builders/clang-3stage-i686-cygwin/builds/1060/steps/make_quick/logs/stdio</a><br>
<br>
</span>It did, and I am in contact with Takumi about the appropriate fix for<br>
it. We could revert until then if this is causing heartache.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> On 26 May 2015 at 15:44, Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
>> Author: aaronballman<br>
>> Date: Tue May 26 14:44:52 2015<br>
>> New Revision: 238238<br>
>><br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D238238-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=fT_7wrnkiz6VRKeOMBip13WYLtejH_qFRHwR1oAKSOk&e=" target="_blank">http://llvm.org/viewvc/llvm-project?rev=238238&view=rev</a><br>
>> Log:<br>
>> __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension.<br>
>><br>
>> 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.<br>
>><br>
>> Modified:<br>
>> cfe/trunk/docs/ReleaseNotes.rst<br>
>> cfe/trunk/include/clang/Basic/TokenKinds.def<br>
>> cfe/trunk/include/clang/Parse/Parser.h<br>
>> cfe/trunk/lib/Basic/IdentifierTable.cpp<br>
>> cfe/trunk/lib/Parse/ParseDecl.cpp<br>
>> cfe/trunk/test/CodeGen/dllexport.c<br>
>> cfe/trunk/test/CodeGen/dllimport.c<br>
>> cfe/trunk/test/CodeGen/ms-volatile.c<br>
>> cfe/trunk/test/CodeGen/windows-on-arm-dllimport-dllexport.c<br>
>> cfe/trunk/test/CodeGen/windows-on-arm-stack-probe-size.c<br>
>> cfe/trunk/test/CodeGenCXX/PR19955.cpp<br>
>> cfe/trunk/test/CodeGenCXX/dllexport.cpp<br>
>> cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp<br>
>> cfe/trunk/test/CodeGenCXX/dllimport.cpp<br>
>> cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp<br>
>> cfe/trunk/test/CodeGenCXX/pr20897.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-aligned-tail-padding.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-basic-layout.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-empty-layout.c<br>
>> cfe/trunk/test/Layout/ms-x86-empty-nonvirtual-bases.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-pack-and-align.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-size-alignment-fail.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-vfvb-alignment.cpp<br>
>> cfe/trunk/test/Layout/ms-x86-vfvb-sharing.cpp<br>
>> cfe/trunk/test/Parser/cxx-ambig-init-templ.cpp<br>
>> cfe/trunk/test/Rewriter/missing-dllimport.c<br>
>> cfe/trunk/test/Sema/dllexport.c<br>
>> cfe/trunk/test/Sema/dllimport.c<br>
>> cfe/trunk/test/Sema/ms-inline-asm.c<br>
>> cfe/trunk/test/Sema/pragma-ms_struct.c<br>
>> cfe/trunk/test/SemaCXX/dllexport-pr22591.cpp<br>
>> cfe/trunk/test/SemaCXX/dllexport.cpp<br>
>> cfe/trunk/test/SemaCXX/dllimport.cpp<br>
>> cfe/trunk/test/SemaCXX/generalized-deprecated.cpp<br>
>><br>
>> Modified: cfe/trunk/docs/ReleaseNotes.rst<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_docs_ReleaseNotes.rst-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=ns-yLLRjhsXzAvASWsfclGo93gwNQcE2wGeS9dWy3Zc&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/docs/ReleaseNotes.rst (original)<br>
>> +++ cfe/trunk/docs/ReleaseNotes.rst Tue May 26 14:44:52 2015<br>
>> @@ -47,7 +47,10 @@ sections with improvements to Clang's su<br>
>> Major New Features<br>
>> ------------------<br>
>><br>
>> -- Feature ...<br>
>> +- Use of the ``__declspec`` language extension for declaration attributes now<br>
>> +requires passing the -fms-extensions or -fborland compiler flag. This language<br>
>> +extension is also enabled when compiling CUDA code, but its use should be<br>
>> +viewed as an implementation detail that is subject to change.<br>
>><br>
>><br>
>> Improvements to Clang's diagnostics<br>
>><br>
>> Modified: cfe/trunk/include/clang/Basic/TokenKinds.def<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_TokenKinds.def-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=UpptYf9KpkfXDvQX63owfSWjr32K6Q2JdA3NjBbcZBg&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TokenKinds.def?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/include/clang/Basic/TokenKinds.def (original)<br>
>> +++ cfe/trunk/include/clang/Basic/TokenKinds.def Tue May 26 14:44:52 2015<br>
>> @@ -458,7 +458,7 @@ KEYWORD(__private_extern__ , KE<br>
>> KEYWORD(__module_private__ , KEYALL)<br>
>><br>
>> // Microsoft Extension.<br>
>> -KEYWORD(__declspec , KEYALL)<br>
>> +KEYWORD(__declspec , KEYMS|KEYBORLAND)<br>
>> KEYWORD(__cdecl , KEYALL)<br>
>> KEYWORD(__stdcall , KEYALL)<br>
>> KEYWORD(__fastcall , KEYALL)<br>
>><br>
>> Modified: cfe/trunk/include/clang/Parse/Parser.h<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Parse_Parser.h-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=TxvjJHfXo1ysqEsNbncoS_Px86FMFrS91qkvFp7EPic&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Parser.h?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/include/clang/Parse/Parser.h (original)<br>
>> +++ cfe/trunk/include/clang/Parse/Parser.h Tue May 26 14:44:52 2015<br>
>> @@ -2089,10 +2089,9 @@ private:<br>
>> SourceLocation *endLoc = nullptr);<br>
>> void MaybeParseMicrosoftDeclSpecs(ParsedAttributes &Attrs,<br>
>> SourceLocation *End = nullptr) {<br>
>> - // TODO: the __declspec keyword is parsed as a keyword for all languages,<br>
>> - // but this is a Microsoft extension. Investigate whether this should be<br>
>> - // protected by MicrosoftExt or not.<br>
>> - if (Tok.is(tok::kw___declspec))<br>
>> + const auto &LO = getLangOpts();<br>
>> + if ((LO.MicrosoftExt || LO.Borland || LO.CUDA) &&<br>
>> + Tok.is(tok::kw___declspec))<br>
>> ParseMicrosoftDeclSpecs(Attrs, End);<br>
>> }<br>
>> void ParseMicrosoftDeclSpecs(ParsedAttributes &Attrs,<br>
>><br>
>> Modified: cfe/trunk/lib/Basic/IdentifierTable.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Basic_IdentifierTable.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=9zPzIrGR15qIVGzkHiCh3ia_o2JLJ6sm-hy5ST86Kmk&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/IdentifierTable.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/lib/Basic/IdentifierTable.cpp (original)<br>
>> +++ cfe/trunk/lib/Basic/IdentifierTable.cpp Tue May 26 14:44:52 2015<br>
>> @@ -215,6 +215,12 @@ void IdentifierTable::AddKeywords(const<br>
>> if (LangOpts.ParseUnknownAnytype)<br>
>> AddKeyword("__unknown_anytype", tok::kw___unknown_anytype, KEYALL,<br>
>> LangOpts, *this);<br>
>> +<br>
>> + // FIXME: __declspec isn't really a CUDA extension, however it is required for<br>
>> + // supporting cuda_builtin_vars.h, which uses __declspec(property). Once that<br>
>> + // has been rewritten in terms of something more generic, remove this code.<br>
>> + if (LangOpts.CUDA)<br>
>> + AddKeyword("__declspec", tok::kw___declspec, KEYALL, LangOpts, *this);<br>
>> }<br>
>><br>
>> /// \brief Checks if the specified token kind represents a keyword in the<br>
>><br>
>> Modified: cfe/trunk/lib/Parse/ParseDecl.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Parse_ParseDecl.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=Aqh4ZoIbVy8P_CJqPUpPX40vIZB4CtJN0lR2xd1GnZU&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/lib/Parse/ParseDecl.cpp (original)<br>
>> +++ cfe/trunk/lib/Parse/ParseDecl.cpp Tue May 26 14:44:52 2015<br>
>> @@ -531,6 +531,9 @@ bool Parser::ParseMicrosoftDeclSpecArgs(<br>
>> /// extended-decl-modifier extended-decl-modifier-seq<br>
>> void Parser::ParseMicrosoftDeclSpecs(ParsedAttributes &Attrs,<br>
>> SourceLocation *End) {<br>
>> + assert((getLangOpts().MicrosoftExt || getLangOpts().Borland ||<br>
>> + getLangOpts().CUDA) &&<br>
>> + "Incorrect language options for parsing __declspec");<br>
>> assert(Tok.is(tok::kw___declspec) && "Not a declspec!");<br>
>><br>
>> while (Tok.is(tok::kw___declspec)) {<br>
>><br>
>> Modified: cfe/trunk/test/CodeGen/dllexport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGen_dllexport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=Ta8Oj0GDgPhHueuWcEO8CtnjezjoaEEBMYYWa2yOnlQ&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/dllexport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGen/dllexport.c (original)<br>
>> +++ cfe/trunk/test/CodeGen/dllexport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-gnu -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck %s<br>
>><br>
>><br>
>><br>
>><br>
>> Modified: cfe/trunk/test/CodeGen/dllimport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGen_dllimport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=nD45vzyqPfdgtIQu-6wbIFUgoGJ904SwDAdJR5G8BZg&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/dllimport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGen/dllimport.c (original)<br>
>> +++ cfe/trunk/test/CodeGen/dllimport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,9 +1,9 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GNU %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GNU %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c11 -O1 -o - %s | FileCheck --check-prefix=O1 --check-prefix=MO1 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c11 -O1 -o - %s | FileCheck --check-prefix=O1 --check-prefix=GO1 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GNU %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-gnu -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GNU %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -emit-llvm -std=c11 -O1 -o - %s | FileCheck --check-prefix=O1 --check-prefix=MO1 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -emit-llvm -std=c11 -O1 -o - %s | FileCheck --check-prefix=O1 --check-prefix=GO1 %s<br>
>><br>
>> #define JOIN2(x, y) x##y<br>
>> #define JOIN(x, y) JOIN2(x, y)<br>
>><br>
>> Modified: cfe/trunk/test/CodeGen/ms-volatile.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGen_ms-2Dvolatile.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=Yd3ZSp39hFexbsmA2Ah6XiaPWVmtncLnzhK8XdHN26g&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-volatile.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGen/ms-volatile.c (original)<br>
>> +++ cfe/trunk/test/CodeGen/ms-volatile.c Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -fms-volatile -o - < %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple i386-pc-win32 -fms-extensions -emit-llvm -fms-volatile -o - < %s | FileCheck %s<br>
>> struct foo {<br>
>> volatile int x;<br>
>> };<br>
>><br>
>> Modified: cfe/trunk/test/CodeGen/windows-on-arm-dllimport-dllexport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGen_windows-2Don-2Darm-2Ddllimport-2Ddllexport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=T5JNjgSzI34GU4th9vW47R1a87tpyOtm4q2oKP8dX-k&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/windows-on-arm-dllimport-dllexport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGen/windows-on-arm-dllimport-dllexport.c (original)<br>
>> +++ cfe/trunk/test/CodeGen/windows-on-arm-dllimport-dllexport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -Werror -triple thumbv7-windows-itanium -mfloat-abi hard -emit-llvm %s -o - | FileCheck %s<br>
>> +// RUN: %clang_cc1 -Werror -triple thumbv7-windows-itanium -mfloat-abi hard -fms-extensions -emit-llvm %s -o - | FileCheck %s<br>
>><br>
>> __declspec(dllexport) int export_int;<br>
>><br>
>><br>
>> Modified: cfe/trunk/test/CodeGen/windows-on-arm-stack-probe-size.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGen_windows-2Don-2Darm-2Dstack-2Dprobe-2Dsize.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=H5p9ay_iUmwJHLmRLy1BiqyJOi7e8ykqRhMB--VA4T8&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/windows-on-arm-stack-probe-size.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGen/windows-on-arm-stack-probe-size.c (original)<br>
>> +++ cfe/trunk/test/CodeGen/windows-on-arm-stack-probe-size.c Tue May 26 14:44:52 2015<br>
>> @@ -1,10 +1,10 @@<br>
>> -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=8096 -O2 -emit-llvm %s -o - \<br>
>> +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=8096 -fms-extensions -O2 -emit-llvm %s -o - \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-8096<br>
>><br>
>> -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=4096 -O2 -emit-llvm %s -o - \<br>
>> +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=4096 -fms-extensions -O2 -emit-llvm %s -o - \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-4096<br>
>><br>
>> -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -O2 -emit-llvm %s -o - \<br>
>> +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -fms-extensions -O2 -emit-llvm %s -o - \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK<br>
>><br>
>> __declspec(dllimport) void initialise(signed char buffer[4096]);<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/PR19955.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_PR19955.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=XXO1_QrH7qwoEyDhLZ4w1Jp5zqUGhRVUoHJnKNcRXy0&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR19955.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/PR19955.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/PR19955.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,5 +1,5 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-msvc -fno-rtti -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s --check-prefix X64<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -fno-rtti -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -fno-rtti -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s --check-prefix X64<br>
>><br>
>> extern int __declspec(dllimport) var;<br>
>> extern void __declspec(dllimport) fun();<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_dllexport.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=r1nFd_leJHlkFD9xofh5Mx9CbwfZ0QpUbntcUyIut1o&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllexport.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/dllexport.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/dllexport.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -O1 -mconstructor-aliases -disable-llvm-optzns -o - %s -w | FileCheck --check-prefix=MSC --check-prefix=M32 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -O0 -o - %s -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c++1y -fno-threadsafe-statics -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c++1y -fno-threadsafe-statics -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G64 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases -disable-llvm-optzns -o - %s -w | FileCheck --check-prefix=MSC --check-prefix=M32 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O0 -o - %s -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G64 %s<br>
>><br>
>> // Helper structs to make templates more expressive.<br>
>> struct ImplicitInst_Exported {};<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_dllimport-2Drtti.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=3FGhhxIXbJA7kCQxadMxkJ8jz5F0JCfmsDgy-lI2fPs&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/dllimport-rtti.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,5 +1,5 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -o - %s | FileCheck %s --check-prefix=MSVC<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -o - %s | FileCheck %s --check-prefix=GNU<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -fms-extensions -O1 -disable-llvm-optzns -o - %s | FileCheck %s --check-prefix=MSVC<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c++1y -fms-extensions -O1 -disable-llvm-optzns -o - %s | FileCheck %s --check-prefix=GNU<br>
>><br>
>> struct __declspec(dllimport) S {<br>
>> virtual void f() {}<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/dllimport.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_dllimport.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=3AtnJ7JwRcsUQvqjMEVWH16X3VMjuzk9Ild_Xvpxu-Y&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllimport.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/dllimport.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/dllimport.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,14 +1,14 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M32 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-msvc -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-windows-gnu -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G64 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-compatibility-version=18.00 -emit-llvm -std=c++1y -O1 -o - %s -DMSABI -w | FileCheck --check-prefix=MO1 --check-prefix=M18 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-compatibility-version=19.00 -emit-llvm -std=c++1y -O1 -o - %s -DMSABI -w | FileCheck --check-prefix=MO1 --check-prefix=M19 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O1 -o - %s -w | FileCheck --check-prefix=GO1 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M32 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-windows-gnu -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G64 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=18.00 -emit-llvm -std=c++1y -O1 -o - %s -DMSABI -w | FileCheck --check-prefix=MO1 --check-prefix=M18 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -fms-compatibility-version=19.00 -emit-llvm -std=c++1y -O1 -o - %s -DMSABI -w | FileCheck --check-prefix=MO1 --check-prefix=M19 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O1 -o - %s -w | FileCheck --check-prefix=GO1 %s<br>
>><br>
>> // CHECK-NOT doesn't play nice with CHECK-DAG, so use separate run lines.<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC2 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU2 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC2 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU2 %s<br>
>><br>
>> // Helper structs to make templates more expressive.<br>
>> struct ImplicitInst_Imported {};<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_microsoft-2Dabi-2Dvftables.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=HhLGrLzx8KbXk0wIWhc7zYm6i7cA7RyZ2iqynfucU3E&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vftables.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,5 +1,5 @@<br>
>> -// RUN: %clang_cc1 %s -fno-rtti -triple=i386-pc-win32 -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=NO-RTTI<br>
>> -// RUN: %clang_cc1 %s -triple=i386-pc-win32 -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=RTTI<br>
>> +// RUN: %clang_cc1 %s -fno-rtti -triple=i386-pc-win32 -fms-extensions -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=NO-RTTI<br>
>> +// RUN: %clang_cc1 %s -triple=i386-pc-win32 -fms-extensions -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -check-prefix=RTTI<br>
>><br>
>> // RTTI-DAG: $"\01??_7S@@6B@" = comdat largest<br>
>> // RTTI-DAG: $"\01??_7V@@6B@" = comdat largest<br>
>><br>
>> Modified: cfe/trunk/test/CodeGenCXX/pr20897.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_CodeGenCXX_pr20897.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=BKl2aIhE2pdnkv1crhTeffiKmACE63ZAImqW2i_VXqA&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr20897.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/CodeGenCXX/pr20897.cpp (original)<br>
>> +++ cfe/trunk/test/CodeGenCXX/pr20897.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s | FileCheck %s<br>
>> struct Base {};<br>
>><br>
>> // __declspec(dllexport) causes us to export the implicit constructor.<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dalias-2Davoidance-2Dpadding.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=7R91x3RSTL67jEMLISJ7fr1_gKRFjF8yD0hBONEKAHo&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-aligned-tail-padding.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Daligned-2Dtail-2Dpadding.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=Zb6vFG2uxzNgw-Eozhu5r8hpNFTVPXk4hQAqakSJhLM&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-aligned-tail-padding.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-aligned-tail-padding.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-aligned-tail-padding.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-basic-layout.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dbasic-2Dlayout.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=GYehqtgCXLHSLQoNlYKvRRO3RO4YcnKkeK_GGMwZneY&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-basic-layout.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-basic-layout.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-basic-layout.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-empty-layout.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dempty-2Dlayout.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=0kAXm4iT4q4WedXmbZF0-73O9-lA1Z5t0fae6dKZTp8&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-empty-layout.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-empty-layout.c (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-empty-layout.c Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>><br>
>> struct EmptyIntMemb {<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-empty-nonvirtual-bases.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dempty-2Dnonvirtual-2Dbases.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=LzhSKlC5GScmDa3-c7L9H2ZggsNXBUtm6op6XRc6gQc&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-empty-nonvirtual-bases.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-empty-nonvirtual-bases.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-empty-nonvirtual-bases.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dempty-2Dvirtual-2Dbase.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=SqpDOjpVe4-Zt0PUMFWSofXksWVKvVyMisDhQIwBmD8&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-empty-virtual-base.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dlazy-2Dempty-2Dnonvirtual-2Dbase.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=rvj8jcQmaJfgRpnebe6BNGgpIHzUkYKnudGZg6zX9kA&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-pack-and-align.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dpack-2Dand-2Dalign.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=1tiyqTG7ocL7rzmIq2qqud3iNn_ZbRphKKTxqbEVSwM&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-pack-and-align.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-pack-and-align.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-pack-and-align.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only -Wno-inaccessible-base %s 2>&1 \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only -Wno-inaccessible-base %s 2>&1 \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only -Wno-inaccessible-base %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only -Wno-inaccessible-base %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-size-alignment-fail.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dsize-2Dalignment-2Dfail.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=vuecDi1MiC2cwHMf4pXMctgfGEhiOrr9NhgaCCgX1-c&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-size-alignment-fail.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-size-alignment-fail.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-size-alignment-fail.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-vfvb-alignment.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dvfvb-2Dalignment.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=61Xk1NZ50PbkLNhB13HkR9bQ7F68fywLD-_klGea12U&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-vfvb-alignment.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-vfvb-alignment.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-vfvb-alignment.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>&1 \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>&1 \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Layout/ms-x86-vfvb-sharing.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Layout_ms-2Dx86-2Dvfvb-2Dsharing.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=Wo39wRz3b2bGKhOZAHtBTd_F5zgTz0Ixxxf1Ny4Edno&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/ms-x86-vfvb-sharing.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Layout/ms-x86-vfvb-sharing.cpp (original)<br>
>> +++ cfe/trunk/test/Layout/ms-x86-vfvb-sharing.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,6 +1,6 @@<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>&1 \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>&1 \<br>
>> // RUN: | FileCheck %s<br>
>> -// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> +// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-layouts -fsyntax-only %s 2>/dev/null \<br>
>> // RUN: | FileCheck %s -check-prefix CHECK-X64<br>
>><br>
>> extern "C" int printf(const char *fmt, ...);<br>
>><br>
>> Modified: cfe/trunk/test/Parser/cxx-ambig-init-templ.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Parser_cxx-2Dambig-2Dinit-2Dtempl.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=07ppszLuEfZRkWL_uJrUgTMv_aPPRP_lO8FLeOY82IY&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx-ambig-init-templ.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Parser/cxx-ambig-init-templ.cpp (original)<br>
>> +++ cfe/trunk/test/Parser/cxx-ambig-init-templ.cpp Tue May 26 14:44:52 2015<br>
>> @@ -160,7 +160,6 @@ namespace Operators {<br>
>> namespace ElaboratedTypeSpecifiers {<br>
>> struct S {<br>
>> int f(int x = T<a, struct S>());<br>
>> - int g(int x = T<a, class __declspec() C>());<br>
>> int h(int x = T<a, union __attribute__(()) U>());<br>
>> int i(int x = T<a, enum E>());<br>
>> int j(int x = T<a, struct S::template T<0, enum E>>());<br>
>><br>
>> Modified: cfe/trunk/test/Rewriter/missing-dllimport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Rewriter_missing-2Ddllimport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=vtv0oRHDAg4hDMZ6t9ozhojHpF5ZCQlYbvJft8sH3zM&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/missing-dllimport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Rewriter/missing-dllimport.c (original)<br>
>> +++ cfe/trunk/test/Rewriter/missing-dllimport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -triple i686-pc-win32 -verify %s<br>
>> +// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s<br>
>><br>
>> // Do not report that 'foo()' is redeclared without dllimport attribute.<br>
>> // specified. Addresses <rdar://problem/7653912>.<br>
>><br>
>> Modified: cfe/trunk/test/Sema/dllexport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Sema_dllexport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=YIwxqQqeHYxbp1h1ayPkVsPOMNIFrcsY3zUBIFND66Q&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/dllexport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Sema/dllexport.c (original)<br>
>> +++ cfe/trunk/test/Sema/dllexport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -verify -std=c99 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -verify -std=c11 %s<br>
>> -// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -verify -std=c11 %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -verify -std=c99 %s<br>
>> +// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c99 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -fms-extensions -verify -std=c11 %s<br>
>> +// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -fms-extensions -verify -std=c11 %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -fms-extensions -verify -std=c99 %s<br>
>><br>
>> // Invalid usage.<br>
>> __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies to variables and functions}}<br>
>><br>
>> Modified: cfe/trunk/test/Sema/dllimport.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Sema_dllimport.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=ZJbFFbexh8HRnG2guYEf3mJM9f2U55ectK0zoXVNBR0&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/dllimport.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Sema/dllimport.c (original)<br>
>> +++ cfe/trunk/test/Sema/dllimport.c Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -verify -std=c99 -DMS %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -verify -std=c11 -DMS %s<br>
>> -// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -verify -std=c11 -DGNU %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -verify -std=c99 -DGNU %s<br>
>> +// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c99 -DMS %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -fms-extensions -verify -std=c11 -DMS %s<br>
>> +// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -fms-extensions -verify -std=c11 -DGNU %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -fms-extensions -verify -std=c99 -DGNU %s<br>
>><br>
>> // Invalid usage.<br>
>> __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies to variables and functions}}<br>
>><br>
>> Modified: cfe/trunk/test/Sema/ms-inline-asm.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Sema_ms-2Dinline-2Dasm.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=D_SffGMzxz_zvGJaPCpcwTJU_ujg7flOF2xgjtS8taQ&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ms-inline-asm.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Sema/ms-inline-asm.c (original)<br>
>> +++ cfe/trunk/test/Sema/ms-inline-asm.c Tue May 26 14:44:52 2015<br>
>> @@ -1,5 +1,5 @@<br>
>> // REQUIRES: x86-registered-target<br>
>> -// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fasm-blocks -Wno-microsoft -Wunused-label -verify -fsyntax-only<br>
>> +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fms-extensions -fasm-blocks -Wno-microsoft -Wunused-label -verify -fsyntax-only<br>
>><br>
>> void t1(void) {<br>
>> __asm __asm // expected-error {{__asm used with no assembly instructions}}<br>
>><br>
>> Modified: cfe/trunk/test/Sema/pragma-ms_struct.c<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_Sema_pragma-2Dms-5Fstruct.c-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=1lyzoo-Ipvih1UKvGvX8qH7mb3RSDQMb8z3jOv4AE2I&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/pragma-ms_struct.c?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/Sema/pragma-ms_struct.c (original)<br>
>> +++ cfe/trunk/test/Sema/pragma-ms_struct.c Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin9 %s<br>
>> +// RUN: %clang_cc1 -fsyntax-only -fms-extensions -verify -triple x86_64-apple-darwin9 %s<br>
>><br>
>> #pragma ms_struct on<br>
>><br>
>><br>
>> Modified: cfe/trunk/test/SemaCXX/dllexport-pr22591.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_SemaCXX_dllexport-2Dpr22591.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=mLwk8Mz_nVivKP4jsPFNARipJ022JCBS7Wd1ww2kTc8&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/dllexport-pr22591.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/SemaCXX/dllexport-pr22591.cpp (original)<br>
>> +++ cfe/trunk/test/SemaCXX/dllexport-pr22591.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++03 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++11 %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -verify -std=c++03 -DERROR %s<br>
>> -// RUN: %clang_cc1 -triple i686-windows-msvc -verify -std=c++11 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -verify -std=c++03 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -verify -std=c++11 %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -verify -std=c++03 -DERROR %s<br>
>> +// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -verify -std=c++11 %s<br>
>><br>
>> #ifndef ERROR<br>
>> // expected-no-diagnostics<br>
>><br>
>> Modified: cfe/trunk/test/SemaCXX/dllexport.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_SemaCXX_dllexport.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=SLlR3WGU8Gbf0DZbG1KMANwaaUJXDQ2_SNfbb1PeMME&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/dllexport.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/SemaCXX/dllexport.cpp (original)<br>
>> +++ cfe/trunk/test/SemaCXX/dllexport.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -verify -std=c++1y -Wunsupported-dll-base-class-template -DMS %s<br>
>> -// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -verify -std=c++1y -Wunsupported-dll-base-class-template %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -verify -std=c++11 -Wunsupported-dll-base-class-template %s<br>
>> +// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -fms-extensions -verify -std=c++1y -Wunsupported-dll-base-class-template -DMS %s<br>
>> +// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -fms-extensions -verify -std=c++1y -Wunsupported-dll-base-class-template %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template %s<br>
>><br>
>> // Helper structs to make templates more expressive.<br>
>> struct ImplicitInst_Exported {};<br>
>><br>
>> Modified: cfe/trunk/test/SemaCXX/dllimport.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_SemaCXX_dllimport.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=DxMIPhCwcK5kC9qx1YQABsV9Vq8ZLY69bT-9zwrmRCI&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/dllimport.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/SemaCXX/dllimport.cpp (original)<br>
>> +++ cfe/trunk/test/SemaCXX/dllimport.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,7 +1,7 @@<br>
>> -// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -verify -std=c++1y -Wunsupported-dll-base-class-template -DMS %s<br>
>> -// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -verify -std=c++1y -Wunsupported-dll-base-class-template -DGNU %s<br>
>> -// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -verify -std=c++11 -Wunsupported-dll-base-class-template -DGNU %s<br>
>> +// RUN: %clang_cc1 -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-win32 -fsyntax-only -fms-extensions -verify -std=c++1y -Wunsupported-dll-base-class-template -DMS %s<br>
>> +// RUN: %clang_cc1 -triple i686-mingw32 -fsyntax-only -fms-extensions -verify -std=c++1y -Wunsupported-dll-base-class-template -DGNU %s<br>
>> +// RUN: %clang_cc1 -triple x86_64-mingw32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DGNU %s<br>
>><br>
>> // Helper structs to make templates more expressive.<br>
>> struct ImplicitInst_Imported {};<br>
>><br>
>> Modified: cfe/trunk/test/SemaCXX/generalized-deprecated.cpp<br>
>> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_test_SemaCXX_generalized-2Ddeprecated.cpp-3Frev-3D238238-26r1-3D238237-26r2-3D238238-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=rwzt8WYurAPgHVDQANiK0gEUGSP6IUPvg-caq-Tut78&s=TjoFgkRblagoKB150gJnd2DBGrA9BoxofpjiJOfx5yA&e=" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/generalized-deprecated.cpp?rev=238238&r1=238237&r2=238238&view=diff</a><br>
>> ==============================================================================<br>
>> --- cfe/trunk/test/SemaCXX/generalized-deprecated.cpp (original)<br>
>> +++ cfe/trunk/test/SemaCXX/generalized-deprecated.cpp Tue May 26 14:44:52 2015<br>
>> @@ -1,4 +1,4 @@<br>
>> -// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -Wno-deprecated %s<br>
>> +// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -fms-extensions -Wno-deprecated %s<br>
>><br>
>> // NOTE: use -Wno-deprecated to avoid cluttering the output with deprecated<br>
>> // warnings<br>
>><br>
>><br>
>> _______________________________________________<br>
>> cfe-commits mailing list<br>
>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>