reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/libclang/CIndex.cpp
 5809   if (clang_isReference(C.kind)) {
 5810     switch (C.kind) {
 5813         = getCursorObjCSuperClassRef(C);
 5819         = getCursorObjCProtocolRef(C);
 5825         = getCursorObjCClassRef(C);
 5830       std::pair<const TypeDecl *, SourceLocation> P = getCursorTypeRef(C);
 5836           getCursorTemplateRef(C);
 5841       std::pair<const NamedDecl *, SourceLocation> P = getCursorNamespaceRef(C);
 5846       std::pair<const FieldDecl *, SourceLocation> P = getCursorMemberRef(C);
 5851       std::pair<const VarDecl *, SourceLocation> P = getCursorVariableRef(C);
 5856       const CXXBaseSpecifier *BaseSpec = getCursorCXXBaseSpecifier(C);
 5861         return cxloc::translateSourceLocation(getCursorContext(C),
 5864       return cxloc::translateSourceLocation(getCursorContext(C),
 5869       std::pair<const LabelStmt *, SourceLocation> P = getCursorLabelRef(C);
 5870       return cxloc::translateSourceLocation(getCursorContext(C), P.second);
 5874       return cxloc::translateSourceLocation(getCursorContext(C),
 5875                                           getCursorOverloadedDeclRef(C).second);
 5883   if (clang_isExpression(C.kind))
 5884     return cxloc::translateSourceLocation(getCursorContext(C),
 5885                                    getLocationFromExpr(getCursorExpr(C)));
 5887   if (clang_isStatement(C.kind))
 5888     return cxloc::translateSourceLocation(getCursorContext(C),
 5889                                           getCursorStmt(C)->getBeginLoc());
 5891   if (C.kind == CXCursor_PreprocessingDirective) {
 5892     SourceLocation L = cxcursor::getCursorPreprocessingDirective(C).getBegin();
 5893     return cxloc::translateSourceLocation(getCursorContext(C), L);
 5896   if (C.kind == CXCursor_MacroExpansion) {
 5898       = cxcursor::getCursorMacroExpansion(C).getSourceRange().getBegin();
 5899     return cxloc::translateSourceLocation(getCursorContext(C), L);
 5902   if (C.kind == CXCursor_MacroDefinition) {
 5903     SourceLocation L = cxcursor::getCursorMacroDefinition(C)->getLocation();
 5904     return cxloc::translateSourceLocation(getCursorContext(C), L);
 5907   if (C.kind == CXCursor_InclusionDirective) {
 5909       = cxcursor::getCursorInclusionDirective(C)->getSourceRange().getBegin();
 5910     return cxloc::translateSourceLocation(getCursorContext(C), L);
 5913   if (clang_isAttribute(C.kind)) {
 5915       = cxcursor::getCursorAttr(C)->getLocation();
 5916     return cxloc::translateSourceLocation(getCursorContext(C), L);
 5919   if (!clang_isDeclaration(C.kind))
 5922   const Decl *D = getCursorDecl(C);
 5933     if (!cxcursor::isFirstInDeclGroup(C))
 5941   return cxloc::translateSourceLocation(getCursorContext(C), Loc);