summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-01-31 19:03:16 +0000
committerAlexander Kornienko <alexfh@google.com>2013-01-31 19:03:16 +0000
commitd22674446d2eb5545f927b7e3a04616e7407fadc (patch)
treef222abb7c33b2a44f4dde8c945cb85bf9f7ce5bc
parent33e83b6cf776875be5716d214710717a898325c0 (diff)
downloadclang-d22674446d2eb5545f927b7e3a04616e7407fadc.tar.gz
Micro-change: moved a brace for better readability
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174075 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--.gitignore2
-rw-r--r--lib/Lex/PPExpressions.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 6c34e37f4c..834dfaf12c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/lib/Lex/PPExpressions.cpp b/lib/Lex/PPExpressions.cpp
index c564653e8f..7ebf3e0072 100644
--- a/lib/Lex/PPExpressions.cpp
+++ b/lib/Lex/PPExpressions.cpp
@@ -264,9 +264,9 @@ static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT,
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;