From 10a165463557429935b094ee3f0581ea73bb734c Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Sat, 22 Nov 2014 06:20:38 +0000 Subject: [PATCH] Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral No functionality changed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222610 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/MicrosoftMangle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.40.0