aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2011-12-09 15:57:33 +0000
committerHans Wennborg <hans@hanshq.net>2011-12-09 15:57:33 +0000
commit630821869c4ec4604ab479d66e5ff81147a858e1 (patch)
treec142cc6bcd04659a6a2bde61c55f11709cb8f70f /lib/Analysis/PrintfFormatString.cpp
parentf4f0c6095d1f481b94c6821c65e3bf1c9df42af7 (diff)
Remove unnecessary braces from my previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
-rw-r--r--lib/Analysis/PrintfFormatString.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/PrintfFormatString.cpp b/lib/Analysis/PrintfFormatString.cpp
index 2dd9bf7b2e..45e32681c1 100644
--- a/lib/Analysis/PrintfFormatString.cpp
+++ b/lib/Analysis/PrintfFormatString.cpp
@@ -297,11 +297,10 @@ ArgTypeResult PrintfSpecifier::getArgType(ASTContext &Ctx) const {
}
switch (CS.getKind()) {
- case ConversionSpecifier::sArg: {
+ case ConversionSpecifier::sArg:
if (LM.getKind() == LengthModifier::AsWideChar)
return ArgTypeResult(ArgTypeResult::WCStrTy, "wchar_t *");
return ArgTypeResult::CStrTy;
- }
case ConversionSpecifier::SArg:
// FIXME: This appears to be Mac OS X specific.
return ArgTypeResult(ArgTypeResult::WCStrTy, "wchar_t *");