Searched defs:CurrentDecl (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
H A DComment.h991 /// CurrentDecl is the declaration with which the FullComment is associated.
995 /// \c CurrentDecl too (for example, for a redeclaration or an overrider of
998 /// The information in the DeclInfo corresponds to CurrentDecl.
999 const Decl *CurrentDecl; member in struct:clang::comments::ParamCommandComment::DeclInfo
/external/clang/lib/AST/
H A DExpr.cpp472 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { argument
473 ASTContext &Context = CurrentDecl->getASTContext();
476 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) {
498 if (auto *BD = dyn_cast<BlockDecl>(CurrentDecl)) {
503 auto DC = CurrentDecl->getDeclContext();
514 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) {
653 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) {
663 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) {
684 if (isa<TranslationUnitDecl>(CurrentDecl) && IT == PrettyFunction) {

Completed in 194 milliseconds