r174075 - Micro-change: moved a brace for better readability

Alexander Kornienko alexfh at google.com
Thu Jan 31 11:03:17 PST 2013


Author: alexfh
Date: Thu Jan 31 13:03:16 2013
New Revision: 174075

URL: http://llvm.org/viewvc/llvm-project?rev=174075&view=rev
Log:
Micro-change: moved a brace for better readability

Modified:
    cfe/trunk/.gitignore
    cfe/trunk/lib/Lex/PPExpressions.cpp

Modified: cfe/trunk/.gitignore
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/.gitignore?rev=174075&r1=174074&r2=174075&view=diff
==============================================================================
--- cfe/trunk/.gitignore (original)
+++ cfe/trunk/.gitignore Thu Jan 31 13:03:16 2013
@@ -29,7 +29,7 @@ cscope.out
 # Directories to ignore (do not add trailing '/'s, they skip symlinks).
 #==============================================================================#
 # Clang extra user tools, which is tracked independently (clang-tools-extra).
-tools/extra
+# tools/extra [alexfh] I want this locally
 # Sphinx build products
 docs/_build
 docs/analyzer/_build

Modified: cfe/trunk/lib/Lex/PPExpressions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPExpressions.cpp?rev=174075&r1=174074&r2=174075&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPExpressions.cpp (original)
+++ cfe/trunk/lib/Lex/PPExpressions.cpp Thu Jan 31 13:03:16 2013
@@ -264,9 +264,9 @@ static bool EvaluateValue(PPValue &Resul
     return false;
   }
   case tok::char_constant:          // 'x'
-  case tok::wide_char_constant: {   // L'x'
+  case tok::wide_char_constant:     // L'x'
   case tok::utf16_char_constant:    // u'x'
-  case tok::utf32_char_constant:    // U'x'
+  case tok::utf32_char_constant: {  // U'x'
     // Complain about, and drop, any ud-suffix.
     if (PeekTok.hasUDSuffix())
       PP.Diag(PeekTok, diag::err_pp_invalid_udl) << /*character*/0;





More information about the cfe-commits mailing list