summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-22 06:20:38 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-22 06:20:38 +0000
commit6fc2d813cbaa3f9308ecb05396a9cd33e52a8e50 (patch)
treeca0d929ea787bdd864d4260fe9e9b471837a54bf /clang/lib/AST/MicrosoftMangle.cpp
parent83484fdb8b6706512d2b2feba6cab50a3668a3bc (diff)
downloadbcm5719-llvm-6fc2d813cbaa3f9308ecb05396a9cd33e52a8e50.tar.gz
bcm5719-llvm-6fc2d813cbaa3f9308ecb05396a9cd33e52a8e50.zip
Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral
No functionality changed. llvm-svn: 222610
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index cae41602a1c..bc7e87a66a5 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud