Home
last modified time | relevance | path

Searched refs:RuleIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSarif.h322 uint32_t RuleIdx; variable
330 explicit SarifResult(uint32_t RuleIdx) : RuleIdx(RuleIdx) {} in SarifResult() argument
333 static SarifResult create(uint32_t RuleIdx) { return SarifResult{RuleIdx}; } in create() argument
336 RuleIdx = Idx; in setIndex()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp160 size_t RuleIdx = SarifWriter.createRule(Rule); in createRuleMapping() local
161 RuleMapping[CheckName] = RuleIdx; in createRuleMapping()
172 uint32_t RuleIdx = RuleMapping.lookup(CheckName); in createResult() local
177 auto Result = SarifResult::create(RuleIdx) in createResult()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp386 size_t RuleIdx = Result.RuleIdx; in appendResult() local
387 assert(RuleIdx < CurrentRules.size() && in appendResult()
389 const SarifRule &Rule = CurrentRules[RuleIdx]; in appendResult()
393 {"ruleIndex", static_cast<int64_t>(RuleIdx)}, in appendResult()