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

/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1097 FunctionDecl *currentDecl = getSema().getCurFunctionDecl();
1098 assert(currentDecl && "Must have current function declaration when "
1103 unsigned Length = PredefinedExpr::ComputeName(IT, currentDecl).length();
H A DSemaExpr.cpp2606 Decl *currentDecl = getCurFunctionOrMethodDecl(); local
2608 if (!currentDecl) {
2610 currentDecl = BSI->TheDecl;
2612 currentDecl = LSI->CallOperator;
2615 if (!currentDecl) {
2617 currentDecl = Context.getTranslationUnitDecl();
2621 if (cast<DeclContext>(currentDecl)->isDependentContext()) {
2624 unsigned Length = PredefinedExpr::ComputeName(IT, currentDecl).length();

Completed in 83 milliseconds