Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp3529 Decl *currentDecl = nullptr; in BuildPredefinedExpr() local
3531 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
3533 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
3535 currentDecl = CSI->TheCapturedDecl; in BuildPredefinedExpr()
3537 currentDecl = getCurFunctionOrMethodDecl(); in BuildPredefinedExpr()
3539 if (!currentDecl) { in BuildPredefinedExpr()
3541 currentDecl = Context.getTranslationUnitDecl(); in BuildPredefinedExpr()
3546 if (cast<DeclContext>(currentDecl)->isDependentContext()) in BuildPredefinedExpr()
3551 auto Str = PredefinedExpr::ComputeName(IK, currentDecl); in BuildPredefinedExpr()