diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-17 08:51:38 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-17 08:51:38 +0000 |
commit | 31ea2f14bcdb3f2aa4251e0ead772e02b04a71ed (patch) | |
tree | 6de960d53d63916ea8af48ab1aaf0c74baff2c2b /clang/lib/Sema/TargetAttributesSema.cpp | |
parent | 029d74b264dc211ca7d2357c74a0a5eecc5e7a3c (diff) | |
download | bcm5719-llvm-31ea2f14bcdb3f2aa4251e0ead772e02b04a71ed.tar.gz bcm5719-llvm-31ea2f14bcdb3f2aa4251e0ead772e02b04a71ed.zip |
Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead.
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
Diffstat (limited to 'clang/lib/Sema/TargetAttributesSema.cpp')
-rw-r--r-- | clang/lib/Sema/TargetAttributesSema.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/TargetAttributesSema.cpp b/clang/lib/Sema/TargetAttributesSema.cpp index 96117ad3066..c3415cb847a 100644 --- a/clang/lib/Sema/TargetAttributesSema.cpp +++ b/clang/lib/Sema/TargetAttributesSema.cpp @@ -238,8 +238,7 @@ namespace { const AttributeList &Attr, Sema &S) const { const llvm::Triple &Triple(S.Context.Target.getTriple()); if (Triple.getOS() == llvm::Triple::Win32 || - Triple.getOS() == llvm::Triple::MinGW32 || - Triple.getOS() == llvm::Triple::MinGW64) { + Triple.getOS() == llvm::Triple::MinGW32) { switch (Attr.getKind()) { case AttributeList::AT_dllimport: HandleDLLImportAttr(D, Attr, S); return true; |