diff options
author | Nirav Dave <niravd@google.com> | 2016-07-29 14:42:00 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2016-07-29 14:42:00 +0000 |
commit | 8b3dc876ea494f2b1e403721041116daf80dbe30 (patch) | |
tree | 8115af6e1ae96cc8b10d1c0f418c9230eda9ac7b /llvm/lib/MC/MCParser/AsmLexer.cpp | |
parent | 22ae7df6f430596f81e616476fe1cc6ded72d26c (diff) | |
download | llvm-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.cpp | 2 |
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)); |