Home | History | Annotate | Download | only in libclang

Lines Matching refs:Def

1429 #include "clang/AST/BuiltinTypes.def"
1934 #include "clang/Basic/OpenMPKinds.def"
4632 if (const MacroDefinition *Def = getCursorMacroExpansion(C).getDefinition())
4633 return MakeMacroDefinitionCursor(Def, tu);
4645 if (const ObjCProtocolDecl *Def = Prot->getDefinition())
4646 return MakeCXCursor(Def, tu);
4653 if (const ObjCInterfaceDecl *Def = Class->getDefinition())
4654 return MakeCXCursor(Def, tu);
4775 if (TagDecl *Def = cast<TagDecl>(D)->getDefinition())
4776 return MakeCXCursor(Def, TU);
4784 const FunctionDecl *Def = nullptr;
4785 if (cast<FunctionDecl>(D)->getBody(Def))
4786 return MakeCXCursor(Def, TU);
4794 if (const VarDecl *Def = cast<VarDecl>(D)->getDefinition())
4795 return MakeCXCursor(Def, TU);
4800 const FunctionDecl *Def = nullptr;
4801 if (cast<FunctionTemplateDecl>(D)->getTemplatedDecl()->getBody(Def))
4802 return MakeCXCursor(Def->getDescribedFunctionTemplate(), TU);
4807 if (RecordDecl *Def = cast<ClassTemplateDecl>(D)->getTemplatedDecl()
4809 return MakeCXCursor(cast<CXXRecordDecl>(Def)->getDescribedClassTemplate(),
4815 if (VarDecl *Def =
4817 return MakeCXCursor(cast<VarDecl>(Def)->getDescribedVarTemplate(), TU);
4841 if (ObjCMethodDecl *Def = ClassImpl->getMethod(Method->getSelector(),
4843 if (Def->isThisDeclarationADefinition())
4844 return MakeCXCursor(Def, TU);
4856 if (const ObjCProtocolDecl *Def = cast<ObjCProtocolDecl>(D)->getDefinition())
4857 return MakeCXCursor(Def, TU);
4868 if (const ObjCInterfaceDecl *Def = IFace->getDefinition())
4869 return MakeCXCursor(Def, TU);
4883 if (const ObjCInterfaceDecl *Def = Class->getDefinition())
4884 return MakeCXCursor(Def, TU);
6859 Def = MD->getDefinition(); Def; Def = Def.getPreviousDefinition()) {
6860 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc())
6861 return Def.getMacroInfo();