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

References

tools/clang/lib/AST/Comment.cpp
  221   CurrentDecl = CommentDecl;
tools/clang/lib/AST/CommentSema.cpp
  811   return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
  812          isa<FunctionDecl>(ThisDeclInfo->CurrentDecl);
  816   if (!isFunctionDecl() || !ThisDeclInfo->CurrentDecl)
  819         dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl))
  822         dyn_cast<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl))
  825         dyn_cast<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl))
  828           dyn_cast<TypedefNameDecl>(ThisDeclInfo->CurrentDecl)) {
  839   return isFunctionDecl() && ThisDeclInfo->CurrentDecl &&
  840          isa<ObjCMethodDecl>(ThisDeclInfo->CurrentDecl);
  849     if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(ThisDeclInfo->CurrentDecl)) {
  863       !ThisDeclInfo->CurrentDecl)
  866   if (const auto *VD = dyn_cast<DeclaratorDecl>(ThisDeclInfo->CurrentDecl))
  869                dyn_cast<ObjCPropertyDecl>(ThisDeclInfo->CurrentDecl))
  892   return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty;
  918         dyn_cast_or_null<RecordDecl>(ThisDeclInfo->CurrentDecl))
  928   return ThisDeclInfo->CurrentDecl &&
  929          isa<RecordDecl>(ThisDeclInfo->CurrentDecl) &&
  938   return ThisDeclInfo->CurrentDecl &&
  939           (isa<ClassTemplateDecl>(ThisDeclInfo->CurrentDecl));
  947   return ThisDeclInfo->CurrentDecl &&
  948          (isa<FunctionTemplateDecl>(ThisDeclInfo->CurrentDecl));
  956   return ThisDeclInfo->CurrentDecl &&
  957          isa<ObjCInterfaceDecl>(ThisDeclInfo->CurrentDecl);
  965   return ThisDeclInfo->CurrentDecl &&
  966          isa<ObjCProtocolDecl>(ThisDeclInfo->CurrentDecl);
tools/clang/lib/Index/CommentToXML.cpp
  572   ASTContext &Context = ThisDecl->CurrentDecl->getASTContext();
  579   ThisDecl->CurrentDecl->print(OS, PPolicy,
  878       SourceLocation Loc = DI->CurrentDecl->getLocation();