blob: 8d3e66f4c113e0b43c1c566e48400f1ece776264 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- origsrc/llvm-3.4.2.src/tools/clang/lib/Sema/TargetAttributesSema.cpp 2013-10-01 09:34:25.000000000 -0500
+++ src/llvm-3.4.2.src/tools/clang/lib/Sema/TargetAttributesSema.cpp 2014-07-18 00:02:50.234889300 -0500
@@ -257,6 +257,7 @@ namespace {
const AttributeList &Attr, Sema &S) const {
const llvm::Triple &Triple(S.Context.getTargetInfo().getTriple());
if (Triple.getOS() == llvm::Triple::Win32 ||
+ Triple.getOS() == llvm::Triple::Cygwin ||
Triple.getOS() == llvm::Triple::MinGW32) {
switch (Attr.getKind()) {
case AttributeList::AT_DLLImport: HandleDLLImportAttr(D, Attr, S);
|