OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tgtok
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/TableGen/
TGLexer.cpp
41
/// location. This is defined to always return
tgtok
::Error.
42
tgtok
::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) {
44
return
tgtok
::Error;
88
tgtok
::TokKind TGLexer::LexToken() {
101
case EOF: return
tgtok
::Eof;
102
case ':': return
tgtok
::colon;
103
case ';': return
tgtok
::semi;
104
case '.': return
tgtok
::period;
105
case ',': return
tgtok
::comma;
106
case '<': return
tgtok
::less
[
all
...]
TGLexer.h
29
namespace
tgtok
{
namespace in namespace:llvm
70
tgtok
::TokKind CurCode;
88
tgtok
::TokKind Lex() {
96
tgtok
::TokKind getCode() const { return CurCode; }
99
assert((CurCode ==
tgtok
::Id || CurCode ==
tgtok
::StrVal ||
100
CurCode ==
tgtok
::VarName || CurCode ==
tgtok
::CodeFragment) &&
105
assert(CurCode ==
tgtok
::IntVal && "This token isn't an integer");
113
tgtok
::TokKind LexToken()
[
all
...]
TGParser.cpp
377
static bool isObjectStart(
tgtok
::TokKind K) {
378
return K ==
tgtok
::Class || K ==
tgtok
::Def ||
379
K ==
tgtok
::Defm || K ==
tgtok
::Let ||
380
K ==
tgtok
::MultiClass || K ==
tgtok
::Foreach;
396
case
tgtok
::colon:
397
case
tgtok
::semi:
398
case
tgtok
::l_brace
[
all
...]
Completed in 375 milliseconds