Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/
DDataCollection.cpp18 static void printMacroName(llvm::raw_string_ostream &MacroStack, in printMacroName() argument
20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName()
25 MacroStack << " "; in printMacroName()
34 std::string MacroStack; in getMacroStack() local
35 llvm::raw_string_ostream MacroStackStream(MacroStack); in getMacroStack()
45 return MacroStack; in getMacroStack()
/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp430 std::string MacroStack = in calculateStmtComplexity() local
441 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()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2656 MacroStackTy MacroStack; in CompactMacroExpandedPieces() local
2678 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 …]
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2968 MacroStackTy MacroStack; in CompactPathDiagnostic() local
2991 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 …]