summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-05-01 18:50:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-05-01 18:50:15 +0000
commit32ac816fff2fb4137fc9633e459826289ce20481 (patch)
tree773953b60f76b8fa2827fa015cb977e32969454e /clang/lib/AST/MicrosoftMangle.cpp
parent1501af4846791c3b52b812c41ec540081343ba38 (diff)
downloadbcm5719-llvm-32ac816fff2fb4137fc9633e459826289ce20481.tar.gz
bcm5719-llvm-32ac816fff2fb4137fc9633e459826289ce20481.zip
Fix bogus MSVC char8_t mangling.
This appears to have been caused by a bad automatic svn merge with r330225 attaching the 'case' label to the wrong block of code. :( llvm-svn: 331299
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index f39c1a8e38f..7b60c14e41e 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1918,7 +1918,6 @@ void MicrosoftCXXNameMangler::mangleType(const BuiltinType *T, Qualifiers,
Out << "$$T";
break;
- case BuiltinType::Char8:
case BuiltinType::Float16:
mangleArtificalTagType(TTK_Struct, "_Float16", {"__clang"});
break;
@@ -1927,6 +1926,7 @@ void MicrosoftCXXNameMangler::mangleType(const BuiltinType *T, Qualifiers,
mangleArtificalTagType(TTK_Struct, "_Half", {"__clang"});
break;
+ case BuiltinType::Char8:
case BuiltinType::Float128: {
DiagnosticsEngine &Diags = Context.getDiags();
unsigned DiagID = Diags.getCustomDiagID(
OpenPOWER on IntegriCloud