From: David Majnemer Date: Sat, 22 Nov 2014 06:20:38 +0000 (+0000) Subject: Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a165463557429935b094ee3f0581ea73bb734c;p=clang Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral No functionality changed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222610 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index cae41602a1..bc7e87a66a 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -338,8 +338,7 @@ bool MicrosoftMangleContextImpl::shouldMangleCXXName(const NamedDecl *D) { bool MicrosoftMangleContextImpl::shouldMangleStringLiteral(const StringLiteral *SL) { - return SL->isAscii() || SL->isWide() || SL->isUTF8() || SL->isUTF16() || - SL->isUTF32(); + return true; } void MicrosoftCXXNameMangler::mangle(const NamedDecl *D, StringRef Prefix) {