diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-19 21:48:43 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-19 21:48:43 +0000 |
commit | e1c0ae6fda87373a954cf483dec638c0115d4fb1 (patch) | |
tree | 6028cf840f6a9a32647f2d25312dd43ed06e33e2 /clang/lib/Sema/TargetAttributesSema.cpp | |
parent | 77a0cfb19aeac98e3db932ed715e2f942085685b (diff) | |
download | bcm5719-llvm-e1c0ae6fda87373a954cf483dec638c0115d4fb1.tar.gz bcm5719-llvm-e1c0ae6fda87373a954cf483dec638c0115d4fb1.zip |
Revert r158700 and dependent patches r158716, r158717, and r158731.
The original r158700 caused crashes in the gcc test suite,
g++.abi/vtable3a.C among others. It also caused failures in the libc++
test suite.
llvm-svn: 158749
Diffstat (limited to 'clang/lib/Sema/TargetAttributesSema.cpp')
-rw-r--r-- | clang/lib/Sema/TargetAttributesSema.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/TargetAttributesSema.cpp b/clang/lib/Sema/TargetAttributesSema.cpp index 25ace950e07..893c3e4319d 100644 --- a/clang/lib/Sema/TargetAttributesSema.cpp +++ b/clang/lib/Sema/TargetAttributesSema.cpp @@ -244,9 +244,9 @@ namespace { if (Triple.getOS() == llvm::Triple::Win32 || Triple.getOS() == llvm::Triple::MinGW32) { switch (Attr.getKind()) { - case AttributeList::AT_DLLImport: HandleDLLImportAttr(D, Attr, S); + case AttributeList::AT_dllimport: HandleDLLImportAttr(D, Attr, S); return true; - case AttributeList::AT_DLLExport: HandleDLLExportAttr(D, Attr, S); + case AttributeList::AT_dllexport: HandleDLLExportAttr(D, Attr, S); return true; default: break; } |