aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCParser/AsmLexer.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-07-29 14:42:00 +0000
committerNirav Dave <niravd@google.com>2016-07-29 14:42:00 +0000
commit8b3dc876ea494f2b1e403721041116daf80dbe30 (patch)
tree8115af6e1ae96cc8b10d1c0f418c9230eda9ac7b /llvm/lib/MC/MCParser/AsmLexer.cpp
parent22ae7df6f430596f81e616476fe1cc6ded72d26c (diff)
downloadllvm-8b3dc876ea494f2b1e403721041116daf80dbe30.zip
llvm-8b3dc876ea494f2b1e403721041116daf80dbe30.tar.gz
llvm-8b3dc876ea494f2b1e403721041116daf80dbe30.tar.bz2
[MC] When emitting output hash comments always use standard line comment seperator
llvm-svn: 277146
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmLexer.cpp')
-rw-r--r--llvm/lib/MC/MCParser/AsmLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmLexer.cpp b/llvm/lib/MC/MCParser/AsmLexer.cpp
index d56071a..7037bb1 100644
--- a/llvm/lib/MC/MCParser/AsmLexer.cpp
+++ b/llvm/lib/MC/MCParser/AsmLexer.cpp
@@ -197,7 +197,7 @@ AsmToken AsmLexer::LexLineComment() {
CurChar = getNextChar();
IsAtStartOfLine = true;
- // Whis is a whole line comment. leave newline
+ // This is a whole line comment. leave newline
if (IsAtStartOfStatement)
return AsmToken(AsmToken::EndOfStatement,
StringRef(TokStart, CurPtr - TokStart));