Lines Matching defs:definition
133 explicit PDLIndexSymbol(const ast::Decl *definition)
134 : definition(definition) {}
135 explicit PDLIndexSymbol(const ods::Operation *definition)
136 : definition(definition) {}
138 /// Return the location of the definition of this symbol.
141 llvm::dyn_cast_if_present<const ast::Decl *>(definition)) {
145 return cast<const ods::Operation *>(definition)->getLoc();
148 /// The main definition of the symbol.
149 PointerUnion<const ast::Decl *, const ods::Operation *> definition;
155 /// It provides efficient lookup of a definition given an input source range.
181 /// An interval map containing a corresponding definition mapped to a source
471 llvm::dyn_cast_if_present<const ods::Operation *>(symbol->definition))
473 const auto *decl = cast<const ast::Decl *>(symbol->definition);