OSDN Git Service

Added the AsmToken::Hash enum constant to MCAsmLexer.h in preparation of
authorKevin Enderby <enderby@apple.com>
Fri, 4 Sep 2009 21:45:34 +0000 (21:45 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 4 Sep 2009 21:45:34 +0000 (21:45 +0000)
commit9823ca971d5cb475401e59fde244caf5087c74a1
tree96b87e75cf825093e41b7784be3f0042e50d587f
parent68f195cc50a8b7722004c8f3ca3dcf624b524552
Added the AsmToken::Hash enum constant to MCAsmLexer.h in preparation of
supporting other targets.  Changed the code to pass MCAsmInfo to the parser
and the lexer.  Then changed the lexer to use CommentString from MCAsmInfo
instead of a literal '#' character.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81046 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmLexer.h
tools/llvm-mc/AsmLexer.cpp
tools/llvm-mc/AsmLexer.h
tools/llvm-mc/AsmParser.h
tools/llvm-mc/llvm-mc.cpp