Home
last modified time | relevance | path

Searched refs:StrLit (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/protobuf/src/text_format/lexer/
Dtoken.rs5 use super::str_lit::StrLit;
18 StrLit(StrLit), enumerator
28 &Token::StrLit(ref s) => s.quoted(), in format()
Dstr_lit.rs41 pub struct StrLit { struct
45 impl StrLit { impl
72 use crate::text_format::lexer::StrLit;
78 StrLit { in decode_utf8()
Dmod.rs18 pub use self::str_lit::StrLit;
Dlexer_impl.rs11 use super::str_lit::StrLit;
650 return Ok(Token::StrLit(StrLit { escaped })); in next_token_inner()
/external/rust/crates/syn/tests/common/
Deq.rs17 RangeLimits, RangeSyntax, Stmt, StmtKind, StrLit, StrStyle, StructExpr, StructRest,
326 spanless_eq_struct!(StrLit; style symbol suffix span symbol_unescaped);
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp928 if (auto *StrLit = dyn_cast<ObjCStringLiteral>(Key)) { in CheckObjCDictionaryLiteralDuplicateKeys() local
929 StringRef Bytes = StrLit->getString()->getBytes(); in CheckObjCDictionaryLiteralDuplicateKeys()
930 SourceLocation Loc = StrLit->getExprLoc(); in CheckObjCDictionaryLiteralDuplicateKeys()
DSemaDeclAttr.cpp665 if (const auto *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs() local
666 if (StrLit->getLength() == 0 || in checkAttrArgsAreCapabilityObjs()
667 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
DSemaExprCXX.cpp3857 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion() local
3864 switch (StrLit->getKind()) { in IsStringLiteralToNonConstPointerConversion()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp535 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs() local
536 if (StrLit->getLength() == 0 || in checkAttrArgsAreCapabilityObjs()
537 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
DSemaExprCXX.cpp3149 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion() local
3156 switch (StrLit->getKind()) { in IsStringLiteralToNonConstPointerConversion()