Home
last modified time | relevance | path

Searched refs:AttrValue (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/
H A Dattr.rs21 pub value: Option<AttrValue>,
53 pub fn value_or_abort(&self) -> Result<&AttrValue, syn::Error> { in value_or_abort()
62 AttrValue::LitStr(tokens) => Ok(tokens), in lit_str_or_abort()
63 AttrValue::Expr(_) | AttrValue::Call(_) => { in lit_str_or_abort()
113 Some(AttrValue::LitStr(lit)) in parse()
116 Ok(expr) => Some(AttrValue::Expr(expr)), in parse()
130 Some(AttrValue::Call(Vec::from_iter(method_args))) in parse()
175 pub enum AttrValue { enum
181 impl ToTokens for AttrValue {
[all...]
H A Ditem.rs333 if let Some(AttrValue::Call(_)) = &attr.value { in infer_kind()
433 if let Some(AttrValue::Call(tokens)) = &attr.value { in push_attrs()
1164 Skip(Option<AttrValue>, AttrKind),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp170 for (auto AttrValue : Die.attributes()) { in verifyUnitContents()
171 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue); in verifyUnitContents()
172 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue); in verifyUnitContents()
448 DWARFAttribute &AttrValue) { in verifyDebugInfoAttribute()
457 const auto Attr = AttrValue.Attr; in verifyDebugInfoAttribute()
461 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()
470 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()
533 DWARFAttribute &AttrValue) { in verifyDebugInfoForm()
537 const auto Form = AttrValue.Value.getForm(); in verifyDebugInfoForm()
545 Optional<uint64_t> RefVal = AttrValue in verifyDebugInfoForm()
447 verifyDebugInfoAttribute(const DWARFDie &Die, DWARFAttribute &AttrValue) verifyDebugInfoAttribute() argument
532 verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue) verifyDebugInfoForm() argument
[all...]
H A DDWARFDie.cpp677 AttrValue.Offset = D.getOffset() + AbbrDecl->getCodeByteSize();
688 AttrValue.Attr = AbbrDecl.getAttrByIndex(Index);
690 AttrValue.Offset += AttrValue.ByteSize;
691 uint64_t ParseOffset = AttrValue.Offset;
694 AttrValue.Value = DWARFFormValue::createFromUnit(
696 AttrValue.ByteSize = ParseOffset - AttrValue.Offset;
699 AttrValue = {};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFVerifier.h192 /// \param AttrValue The DWARF attribute value to check
197 DWARFAttribute &AttrValue);
207 /// \param AttrValue The DWARF attribute value to check
211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue);
H A DDWARFDie.h293 DWARFAttribute AttrValue; member in llvm::DWARFDie::attribute_iterator
301 /// attribute is able to be read, update AttrValue and the Index member
313 explicit operator bool() const { return AttrValue.isValid(); } in operator bool()
314 const DWARFAttribute &operator*() const { return AttrValue; } in operator *()

Completed in 6 milliseconds