Searched refs:RuleMapping (Results 1 - 1 of 1) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SarifDiagnostics.cpp | 284 const StringMap<unsigned> &RuleMapping) { 288 auto Iter = RuleMapping.find(Diag.getCheckerName()); 289 assert(Iter != RuleMapping.end() && "Rule ID is not in the array index map?"); 340 StringMap<unsigned> &RuleMapping) { 348 RuleMapping[RuleID] = Rules.size(); // Maps RuleID to an Array Index. 357 StringMap<unsigned> &RuleMapping) { 363 {"rules", createRules(Diags, RuleMapping)}}}}; 369 StringMap<unsigned> RuleMapping; local 370 json::Object Tool = createTool(Diags, RuleMapping); 373 Results.push_back(createResult(LO, *D, Artifacts, RuleMapping)); 281 createResult(const LangOptions &LO, const PathDiagnostic &Diag, json::Array &Artifacts, const StringMap<unsigned> &RuleMapping) argument 339 createRules(std::vector<const PathDiagnostic *> &Diags, StringMap<unsigned> &RuleMapping) argument 356 createTool(std::vector<const PathDiagnostic *> &Diags, StringMap<unsigned> &RuleMapping) argument [all...] |
Completed in 44 milliseconds