summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit26b9580d87832755039ab333d7f7685bfa2aa816 (patch)
tree66da9d30301a2911f98a7519a0057af82efb2d9d /llvm/lib/AsmParser/LLLexer.cpp
parentfe40a35075be31b5cb830891605982c6a40c454c (diff)
downloadbcm5719-llvm-26b9580d87832755039ab333d7f7685bfa2aa816.tar.gz
bcm5719-llvm-26b9580d87832755039ab333d7f7685bfa2aa816.zip
Fix typo in a comment.
llvm-svn: 168138
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index a60e4aa41c4..d8ffe8fb732 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/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)) {
OpenPOWER on IntegriCloud