Home | History | Annotate | Download | only in libclang

Lines Matching defs:Def

1477 #include "clang/Basic/OpenCLImageTypes.def"
1489 #include "clang/AST/BuiltinTypes.def"
2048 #include "clang/Basic/OpenMPKinds.def"
5509 if (const MacroDefinitionRecord *Def =
5511 return MakeMacroDefinitionCursor(Def, tu);
5523 if (const ObjCProtocolDecl *Def = Prot->getDefinition())
5524 return MakeCXCursor(Def, tu);
5531 if (const ObjCInterfaceDecl *Def = Class->getDefinition())
5532 return MakeCXCursor(Def, tu);
5660 if (TagDecl *Def = cast<TagDecl>(D)->getDefinition())
5661 return MakeCXCursor(Def, TU);
5669 const FunctionDecl *Def = nullptr;
5670 if (cast<FunctionDecl>(D)->getBody(Def))
5671 return MakeCXCursor(Def, TU);
5679 if (const VarDecl *Def = cast<VarDecl>(D)->getDefinition())
5680 return MakeCXCursor(Def, TU);
5685 const FunctionDecl *Def = nullptr;
5686 if (cast<FunctionTemplateDecl>(D)->getTemplatedDecl()->getBody(Def))
5687 return MakeCXCursor(Def->getDescribedFunctionTemplate(), TU);
5692 if (RecordDecl *Def = cast<ClassTemplateDecl>(D)->getTemplatedDecl()
5694 return MakeCXCursor(cast<CXXRecordDecl>(Def)->getDescribedClassTemplate(),
5700 if (VarDecl *Def =
5702 return MakeCXCursor(cast<VarDecl>(Def)->getDescribedVarTemplate(), TU);
5727 if (ObjCMethodDecl *Def = ClassImpl->getMethod(Method->getSelector(),
5729 if (Def->isThisDeclarationADefinition())
5730 return MakeCXCursor(Def, TU);
5742 if (const ObjCProtocolDecl *Def = cast<ObjCProtocolDecl>(D)->getDefinition())
5743 return MakeCXCursor(Def, TU);
5754 if (const ObjCInterfaceDecl *Def = IFace->getDefinition())
5755 return MakeCXCursor(Def, TU);
5769 if (const ObjCInterfaceDecl *Def = Class->getDefinition())
5770 return MakeCXCursor(Def, TU);
7846 Def = MD->getDefinition(); Def; Def = Def.getPreviousDefinition()) {
7847 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc())
7848 return Def.getMacroInfo();