Searched refs:MacroStack (Results 1 – 4 of 4) sorted by relevance
18 static void printMacroName(llvm::raw_string_ostream &MacroStack, in printMacroName() argument20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName()25 MacroStack << " "; in printMacroName()34 std::string MacroStack; in getMacroStack() local35 llvm::raw_string_ostream MacroStackStream(MacroStack); in getMacroStack()45 return MacroStack; in getMacroStack()
430 std::string MacroStack = in calculateStmtComplexity() local441 if (!ParentMacroStack.empty() && MacroStack == ParentMacroStack) { in calculateStmtComplexity()450 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()457 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
2656 MacroStackTy MacroStack; in CompactMacroExpandedPieces() local2678 MacroStack.clear(); in CompactMacroExpandedPieces()2686 if (!MacroStack.empty() && InstantiationLoc == MacroStack.back().second) { in CompactMacroExpandedPieces()2687 MacroStack.back().first->subPieces.push_back(piece); in CompactMacroExpandedPieces()2700 while (!MacroStack.empty()) { in CompactMacroExpandedPieces()2701 if (InstantiationLoc == MacroStack.back().second) { in CompactMacroExpandedPieces()2702 MacroGroup = MacroStack.back().first; in CompactMacroExpandedPieces()2706 if (ParentInstantiationLoc == MacroStack.back().second) { in CompactMacroExpandedPieces()2707 MacroGroup = MacroStack.back().first; in CompactMacroExpandedPieces()2711 MacroStack.pop_back(); in CompactMacroExpandedPieces()[all …]
2968 MacroStackTy MacroStack; in CompactPathDiagnostic() local2991 MacroStack.clear(); in CompactPathDiagnostic()2999 if (!MacroStack.empty() && InstantiationLoc == MacroStack.back().second) { in CompactPathDiagnostic()3000 MacroStack.back().first->subPieces.push_back(piece); in CompactPathDiagnostic()3013 while (!MacroStack.empty()) { in CompactPathDiagnostic()3014 if (InstantiationLoc == MacroStack.back().second) { in CompactPathDiagnostic()3015 MacroGroup = MacroStack.back().first; in CompactPathDiagnostic()3019 if (ParentInstantiationLoc == MacroStack.back().second) { in CompactPathDiagnostic()3020 MacroGroup = MacroStack.back().first; in CompactPathDiagnostic()3024 MacroStack.pop_back(); in CompactPathDiagnostic()[all …]