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

References

tools/clang/lib/AST/ASTContext.cpp
  531   if (!D || D->isInvalidDecl())
  531   if (!D || D->isInvalidDecl())
  533   D = &adjustDeclToTemplate(*D);
  533   D = &adjustDeclToTemplate(*D);
  535   const Decl *Canonical = D->getCanonicalDecl();
  540     if (Canonical != D) {
  542       comments::FullComment *CFC = cloneFullComment(FC, D);
  550   const RawComment *RC = getRawCommentForAnyRedecl(D, &OriginalDecl);
  552     if (isa<ObjCMethodDecl>(D) || isa<FunctionDecl>(D)) {
  552     if (isa<ObjCMethodDecl>(D) || isa<FunctionDecl>(D)) {
  554       const auto *OMD = dyn_cast<ObjCMethodDecl>(D);
  558             return cloneFullComment(FC, D);
  561       getOverriddenMethods(dyn_cast<NamedDecl>(D), Overridden);
  564           return cloneFullComment(FC, D);
  566     else if (const auto *TD = dyn_cast<TypedefNameDecl>(D)) {
  573             return cloneFullComment(FC, D);
  575     else if (const auto *IC = dyn_cast<ObjCInterfaceDecl>(D)) {
  579           return cloneFullComment(FC, D);
  582     else if (const auto *CD = dyn_cast<ObjCCategoryDecl>(D)) {
  585           return cloneFullComment(FC, D);
  587     else if (const auto *RD = dyn_cast<CXXRecordDecl>(D)) {
  602             return cloneFullComment(FC, D);
  616             return cloneFullComment(FC, D);
  627   if (D != OriginalDecl && OriginalDecl)
  630   comments::FullComment *FC = RC->parse(*this, PP, D);