Home
last modified time | relevance | path

Searched refs:CurrentDecl (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp580 ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); in getSourceTextOfDeclaration()
587 ThisDecl->CurrentDecl->print(OS, PPolicy, in getSourceTextOfDeclaration()
901 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp679 const Decl *CurrentDecl, in ComputeName() argument
681 ASTContext &Context = CurrentDecl->getASTContext(); in ComputeName()
684 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl)) { in ComputeName()
710 if (isa<BlockDecl>(CurrentDecl)) { in ComputeName()
714 auto DC = CurrentDecl->getDeclContext(); in ComputeName()
727 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { in ComputeName()
910 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
920 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurrentDecl)) { in ComputeName()
941 if (isa<TranslationUnitDecl>(CurrentDecl) && in ComputeName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1992 Decl *CurrentDecl = getPredefinedExprDecl(CurContext); in ExpandFunctionLocalPredefinedMacros() local
1993 if (!CurrentDecl) in ExpandFunctionLocalPredefinedMacros()
1994 CurrentDecl = Context.getTranslationUnitDecl(); in ExpandFunctionLocalPredefinedMacros()
2004 if (isa<TranslationUnitDecl>(CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
2022 getPredefinedExprKind(Tok.getKind()), CurrentDecl)) in ExpandFunctionLocalPredefinedMacros()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2053 const Decl *CurrentDecl,