Home
last modified time | relevance | path

Searched refs:ItemKind (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Ditem_kind.rs13 pub enum ItemKind { enum
28 impl ItemKind { implementation
33 ItemKind::Module(ref module) => Some(module), in as_module()
41 ItemKind::Module(..) => "Module", in kind_name()
42 ItemKind::Type(..) => "Type", in kind_name()
43 ItemKind::Function(..) => "Function", in kind_name()
44 ItemKind::Var(..) => "Var", in kind_name()
63 ItemKind::Function(ref func) => Some(func), in as_function()
83 ItemKind::Type(ref ty) => Some(ty), in as_type()
92 ItemKind::Type(ref mut ty) => Some(ty), in as_type_mut()
[all …]
Ditem.rs15 use super::item_kind::ItemKind;
186 impl AsTemplateParam for ItemKind { implementation
195 ItemKind::Type(ref ty) => ty.as_template_param(ctx, item), in as_template_param()
196 ItemKind::Module(..) | in as_template_param()
197 ItemKind::Function(..) | in as_template_param()
198 ItemKind::Var(..) => None, in as_template_param()
284 ItemKind::Type(ref ty) => { in trace()
294 ItemKind::Function(ref fun) => { in trace()
299 ItemKind::Var(ref var) => { in trace()
302 ItemKind::Module(_) => { in trace()
[all …]
Dcontext.rs17 use super::item_kind::ItemKind;
1400 Item::new(id, None, None, id, ItemKind::Module(module)) in build_root_module()
1709 ItemKind::Type(sub_ty), in instantiate_template()
1773 ItemKind::Type(ty), in instantiate_template()
1914 ItemKind::Type(ty), in build_wrapper()
1982 ItemKind::Type(ty), in build_builtin_ty()
2175 ItemKind::Module(module), in module()
2282 ItemKind::Module(..) => true, in compute_allowlisted_and_codegen_items()
2283 ItemKind::Function(_) => { in compute_allowlisted_and_codegen_items()
2286 ItemKind::Var(_) => { in compute_allowlisted_and_codegen_items()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceThreading.h175 enum ItemKind { WI_Nop, WI_GlobalInits, WI_Asm, WI_Cfg }; enum
185 ItemKind getKind() const { return Kind; } in getKind()
193 const ItemKind Kind;
/external/llvm-project/clang/include/clang/Analysis/
DConstructionContext.h30 enum ItemKind { enum
48 LLVM_DUMP_METHOD static StringRef getKindAsString(ItemKind K) { in getKindAsString()
65 const ItemKind Kind;
129 ItemKind getKind() const { return Kind; } in getKind()
/external/rust/crates/syn/tests/common/
Deq.rs13 IsAuto, Item, ItemKind, Label, Lifetime, Lit, LitFloatType, LitIntType, LitKind,
404 spanless_eq_enum!(ItemKind; ExternCrate(0) Use(0) Static(0 1 2) Const(0 1 2)
/external/rust/crates/bindgen/src/codegen/
Dmod.rs37 use crate::ir::item_kind::ItemKind;
483 ItemKind::Module(ref module) => { in codegen()
486 ItemKind::Function(ref fun) => { in codegen()
489 ItemKind::Var(ref var) => { in codegen()
492 ItemKind::Type(ref ty) => { in codegen()
/external/llvm-project/clang-tools-extra/clangd/
DProtocol.cpp332 if (auto *ItemKind = Completion->getObject("completionItemKind")) { in fromJSON() local
333 if (auto *ValueSet = ItemKind->get("valueSet")) { in fromJSON()