Home
last modified time | relevance | path

Searched refs:LiteralKind (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/regex-syntax/src/ast/
Dparse.rs1430 kind: ast::LiteralKind::Verbatim, in parse_primitive()
1498 kind: ast::LiteralKind::Punctuation, in parse_escape()
1505 kind: ast::LiteralKind::Special(kind), in parse_escape()
1571 kind: ast::LiteralKind::Octal, in parse_octal()
1647 kind: ast::LiteralKind::HexFixed(kind), in parse_hex_digits()
1702 kind: ast::LiteralKind::HexBrace(kind), in parse_hex_brace()
1871 kind: ast::LiteralKind::Verbatim, in parse_set_class_item()
1925 kind: ast::LiteralKind::Verbatim, in parse_set_class_open()
1940 kind: ast::LiteralKind::Verbatim, in parse_set_class_open()
2430 kind: ast::LiteralKind::Punctuation, in punct_lit()
[all …]
Dmod.rs609 pub kind: LiteralKind,
618 let short_hex = LiteralKind::HexFixed(HexLiteralKind::X); in byte()
629 pub enum LiteralKind { enum
Dprint.rs212 use ast::LiteralKind::*; in fmt_literal()
/external/clang/lib/Sema/
DSemaExprObjC.cpp170 Sema::ObjCLiteralKind LiteralKind) { in ClassKindFromLiteralKind() argument
171 switch (LiteralKind) { in ClassKindFromLiteralKind()
197 Sema::ObjCLiteralKind LiteralKind) { in ValidateObjCLiteralInterfaceDecl() argument
199 NSAPI::NSClassIdKindKind Kind = ClassKindFromLiteralKind(LiteralKind); in ValidateObjCLiteralInterfaceDecl()
202 << II->getName() << LiteralKind; in ValidateObjCLiteralInterfaceDecl()
206 << Decl->getName() << LiteralKind; in ValidateObjCLiteralInterfaceDecl()
219 Sema::ObjCLiteralKind LiteralKind) { in LookupObjCInterfaceDeclForLiteral() argument
220 NSAPI::NSClassIdKindKind ClassKind = ClassKindFromLiteralKind(LiteralKind); in LookupObjCInterfaceDeclForLiteral()
232 if (!ValidateObjCLiteralInterfaceDecl(S, ID, Loc, LiteralKind)) { in LookupObjCInterfaceDeclForLiteral()
DSemaExpr.cpp8960 Sema::ObjCLiteralKind LiteralKind = S.CheckLiteralKind(Literal); in diagnoseObjCLiteralComparison() local
8961 assert(LiteralKind != Sema::LK_Block); in diagnoseObjCLiteralComparison()
8962 if (LiteralKind == Sema::LK_None) { in diagnoseObjCLiteralComparison()
8966 if (LiteralKind == Sema::LK_String) in diagnoseObjCLiteralComparison()
8971 << LiteralKind << Literal->getSourceRange(); in diagnoseObjCLiteralComparison()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp171 Sema::ObjCLiteralKind LiteralKind) { in ClassKindFromLiteralKind() argument
172 switch (LiteralKind) { in ClassKindFromLiteralKind()
198 Sema::ObjCLiteralKind LiteralKind) { in ValidateObjCLiteralInterfaceDecl() argument
200 NSAPI::NSClassIdKindKind Kind = ClassKindFromLiteralKind(LiteralKind); in ValidateObjCLiteralInterfaceDecl()
203 << II->getName() << LiteralKind; in ValidateObjCLiteralInterfaceDecl()
207 << Decl->getName() << LiteralKind; in ValidateObjCLiteralInterfaceDecl()
220 Sema::ObjCLiteralKind LiteralKind) { in LookupObjCInterfaceDeclForLiteral() argument
221 NSAPI::NSClassIdKindKind ClassKind = ClassKindFromLiteralKind(LiteralKind); in LookupObjCInterfaceDeclForLiteral()
233 if (!ValidateObjCLiteralInterfaceDecl(S, ID, Loc, LiteralKind)) { in LookupObjCInterfaceDeclForLiteral()
DSemaExpr.cpp11132 Sema::ObjCLiteralKind LiteralKind = S.CheckLiteralKind(Literal); in diagnoseObjCLiteralComparison() local
11133 assert(LiteralKind != Sema::LK_Block); in diagnoseObjCLiteralComparison()
11134 if (LiteralKind == Sema::LK_None) { in diagnoseObjCLiteralComparison()
11138 if (LiteralKind == Sema::LK_String) in diagnoseObjCLiteralComparison()
11143 << LiteralKind << Literal->getSourceRange(); in diagnoseObjCLiteralComparison()