Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp3059 Decl *currentDecl = nullptr; in BuildPredefinedExpr() local
3061 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
3063 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
3065 currentDecl = CSI->TheCapturedDecl; in BuildPredefinedExpr()
3067 currentDecl = getCurFunctionOrMethodDecl(); in BuildPredefinedExpr()
3069 if (!currentDecl) { in BuildPredefinedExpr()
3071 currentDecl = Context.getTranslationUnitDecl(); in BuildPredefinedExpr()
3076 if (cast<DeclContext>(currentDecl)->isDependentContext()) in BuildPredefinedExpr()
3081 auto Str = PredefinedExpr::ComputeName(IT, currentDecl); in BuildPredefinedExpr()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp3463 Decl *currentDecl = nullptr; in BuildPredefinedExpr() local
3465 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
3467 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
3469 currentDecl = CSI->TheCapturedDecl; in BuildPredefinedExpr()
3471 currentDecl = getCurFunctionOrMethodDecl(); in BuildPredefinedExpr()
3473 if (!currentDecl) { in BuildPredefinedExpr()
3475 currentDecl = Context.getTranslationUnitDecl(); in BuildPredefinedExpr()
3480 if (cast<DeclContext>(currentDecl)->isDependentContext()) in BuildPredefinedExpr()
3485 auto Str = PredefinedExpr::ComputeName(IK, currentDecl); in BuildPredefinedExpr()