summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-04-15 14:35:06 +0000
committerNico Weber <nicolasweber@gmx.de>2016-04-15 14:35:06 +0000
commit917fc9d7cb401f2de332738e4929e053f305e468 (patch)
tree85e764fdac5ea931245095a3487746aebff1d51b /clang/lib/AST/MicrosoftMangle.cpp
parent6cb18a09b139b231c187d4c8b9ae939460a26db8 (diff)
downloadbcm5719-llvm-917fc9d7cb401f2de332738e4929e053f305e468.tar.gz
bcm5719-llvm-917fc9d7cb401f2de332738e4929e053f305e468.zip
Revert r266415, it broke parsing SDK headers (PR27367).
llvm-svn: 266431
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index 617e22d3b30..c9caddbb6fc 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1444,9 +1444,6 @@ void MicrosoftCXXNameMangler::manglePointerExtQualifiers(Qualifiers Quals,
(PointeeType.isNull() || !PointeeType->isFunctionType()))
Out << 'E';
- if (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())
- Out << 'F';
-
if (HasRestrict)
Out << 'I';
}
@@ -1580,8 +1577,6 @@ void MicrosoftCXXNameMangler::mangleType(QualType T, SourceRange Range,
}
break;
case QMM_Result:
- // Presence of __unaligned qualifier shouldn't affect mangling here.
- Quals.removeUnaligned();
if ((!IsPointer && Quals) || isa<TagType>(T)) {
Out << '?';
mangleQualifiers(Quals, false);
OpenPOWER on IntegriCloud