A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's reportingDescriptor encounters a match on the file being analysed by the tool.  
 More...
#include "clang/Basic/Sarif.h"
A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's reportingDescriptor encounters a match on the file being analysed by the tool. 
This builder provides a SarifResult::create static method that can be used to create an empty shell onto which attributes can be added using the setX(...) methods.
For example: 
SarifResult setDiagnosticMessage(llvm::StringRef Message)
 
SarifResult setRuleId(llvm::StringRef Id)
 
static SarifResult create(uint32_t RuleIdx)
 
 Reference:
- SARIFresult 
 
Definition at line 315 of file Sarif.h.
 
◆ addPartialFingerprint()
  
  
      
        
          | SarifResult clang::SarifResult::addPartialFingerprint  | 
          ( | 
          llvm::StringRef |           key,  | 
         
        
           | 
           | 
          llvm::StringRef |           value ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ create()
  
  
      
        
          | SarifResult clang::SarifResult::create  | 
          ( | 
          uint32_t |           RuleIdx | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ setDiagnosticLevel()
◆ setDiagnosticMessage()
  
  
      
        
          | SarifResult clang::SarifResult::setDiagnosticMessage  | 
          ( | 
          llvm::StringRef |           Message | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setHostedViewerURI()
  
  
      
        
          | SarifResult clang::SarifResult::setHostedViewerURI  | 
          ( | 
          llvm::StringRef |           URI | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setIndex()
  
  
      
        
          | SarifResult clang::SarifResult::setIndex  | 
          ( | 
          uint32_t |           Idx | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setLocations()
◆ setRuleId()
  
  
      
        
          | SarifResult clang::SarifResult::setRuleId  | 
          ( | 
          llvm::StringRef |           Id | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setThreadFlows()
◆ clang::SarifDocumentWriter
The documentation for this class was generated from the following file: