Home
last modified time | relevance | path

Searched refs:LiteralToken (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.td67 Role<"LiteralToken", Token<"numeric_constant">>,
79 Role<"LiteralToken", AnyCharacterLiteral>,
87 Role<"LiteralToken", Token<"numeric_constant">>,
102 Role<"LiteralToken", AnyStringLiteral>,
110 Role<"LiteralToken", AnyToken<["kw_false","kw_true"]>>,
118 Role<"LiteralToken", Keyword<"nullptr">>,
136 Role<"LiteralToken", Keyword<"numeric_constant">>,
144 Role<"LiteralToken", Keyword<"numeric_constant">>,
152 Role<"LiteralToken", AnyCharacterLiteral>,
160 Role<"LiteralToken", AnyStringLiteral>,
DNodes.h72 LiteralToken, enumerator
/external/llvm-project/clang/unittests/Tooling/Syntax/
DSynthesisTest.cpp141 auto *Int1 = createTree(*Arena, {{Leaf1, NodeRole::LiteralToken}}, in TEST_P()
147 auto *Int2 = createTree(*Arena, {{Leaf2, NodeRole::LiteralToken}}, in TEST_P()
172 {{LeafContinue, NodeRole::LiteralToken}, in TEST_P()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp886 Builder.markChildToken(S->getBeginLoc(), syntax::NodeRole::LiteralToken); in WalkUpFromUserDefinedLiteral()
1094 Builder.markChildToken(S->getLocation(), syntax::NodeRole::LiteralToken); in WalkUpFromIntegerLiteral()
1101 Builder.markChildToken(S->getLocation(), syntax::NodeRole::LiteralToken); in WalkUpFromCharacterLiteral()
1108 Builder.markChildToken(S->getLocation(), syntax::NodeRole::LiteralToken); in WalkUpFromFloatingLiteral()
1115 Builder.markChildToken(S->getBeginLoc(), syntax::NodeRole::LiteralToken); in WalkUpFromStringLiteral()
1122 Builder.markChildToken(S->getLocation(), syntax::NodeRole::LiteralToken); in WalkUpFromCXXBoolLiteralExpr()
1129 Builder.markChildToken(S->getLocation(), syntax::NodeRole::LiteralToken); in WalkUpFromCXXNullPtrLiteralExpr()
DNodes.cpp35 case syntax::NodeRole::LiteralToken: in operator <<()