r222610 - Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral
David Majnemer
david.majnemer at gmail.com
Fri Nov 21 22:20:38 PST 2014
Author: majnemer
Date: Sat Nov 22 00:20:38 2014
New Revision: 222610
URL: http://llvm.org/viewvc/llvm-project?rev=222610&view=rev
Log:
Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral
No functionality changed.
Modified:
cfe/trunk/lib/AST/MicrosoftMangle.cpp
Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=222610&r1=222609&r2=222610&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Sat Nov 22 00:20:38 2014
@@ -338,8 +338,7 @@ bool MicrosoftMangleContextImpl::shouldM
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) {
More information about the cfe-commits
mailing list