summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/TargetAttributesSema.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2012-06-19 23:57:03 +0000
committerAlexis Hunt <alercah@gmail.com>2012-06-19 23:57:03 +0000
commit3bc72c1ec2b9828083cd0afad16fd655ca472916 (patch)
treed635d83cda9db8f4f23d945052c740e248a804e7 /clang/lib/Sema/TargetAttributesSema.cpp
parent3802bbf35ed95784a0764f06ead52802a06bbd33 (diff)
downloadbcm5719-llvm-3bc72c1ec2b9828083cd0afad16fd655ca472916.tar.gz
bcm5719-llvm-3bc72c1ec2b9828083cd0afad16fd655ca472916.zip
Reapply r158700 and fixup patches, minus one hunk that slipped through and
caused a crash in an obscure case. On the plus side, it caused me to catch another bug by inspection. llvm-svn: 158767
Diffstat (limited to 'clang/lib/Sema/TargetAttributesSema.cpp')
-rw-r--r--clang/lib/Sema/TargetAttributesSema.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/TargetAttributesSema.cpp b/clang/lib/Sema/TargetAttributesSema.cpp
index 893c3e4319d..25ace950e07 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;
}
OpenPOWER on IntegriCloud