[cfe-commits] r146259 - /cfe/trunk/lib/Analysis/PrintfFormatString.cpp

Hans Wennborg hans at hanshq.net
Fri Dec 9 09:57:33 CST 2011


Author: hans
Date: Fri Dec  9 09:57:33 2011
New Revision: 146259

URL: http://llvm.org/viewvc/llvm-project?rev=146259&view=rev
Log:
Remove unnecessary braces from my previous commit.

Modified:
    cfe/trunk/lib/Analysis/PrintfFormatString.cpp

Modified: cfe/trunk/lib/Analysis/PrintfFormatString.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/PrintfFormatString.cpp?rev=146259&r1=146258&r2=146259&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/PrintfFormatString.cpp (original)
+++ cfe/trunk/lib/Analysis/PrintfFormatString.cpp Fri Dec  9 09:57:33 2011
@@ -297,11 +297,10 @@
   }
 
   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 *");




More information about the cfe-commits mailing list