aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-16 06:10:48 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-16 06:10:48 +0000
commit06be8b8a698b3d71aa93f30456b197ca6d54b1d0 (patch)
treeb77abb3727ee0ff1d5bc7a5965e715a80fdbad10 /lib/AsmParser/LLLexer.cpp
parenta032dbd62f46a40b2cf759ce0dd0ebd41ef0614c (diff)
downloadexternal_llvm-06be8b8a698b3d71aa93f30456b197ca6d54b1d0.zip
external_llvm-06be8b8a698b3d71aa93f30456b197ca6d54b1d0.tar.gz
external_llvm-06be8b8a698b3d71aa93f30456b197ca6d54b1d0.tar.bz2
Fix typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r--lib/AsmParser/LLLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index a60e4aa..d8ffe8f 100644
--- a/lib/AsmParser/LLLexer.cpp
+++ b/lib/AsmParser/LLLexer.cpp
@@ -744,7 +744,7 @@ lltok::Kind LLLexer::Lex0x() {
/// HexFP128Constant 0xL[0-9A-Fa-f]+
/// HexPPC128Constant 0xM[0-9A-Fa-f]+
lltok::Kind LLLexer::LexDigitOrNegative() {
- // If the letter after the negative is a number, this is probably a label.
+ // If the letter after the negative is not a number, this is probably a label.
if (!isdigit(TokStart[0]) && !isdigit(CurPtr[0])) {
// Okay, this is not a number after the -, it's probably a label.
if (const char *End = isLabelTail(CurPtr)) {