clang 20.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::ThreadFlow Class Reference

A thread flow is a sequence of code locations that specify a possible path through a single thread of execution. More...

#include "clang/Basic/Sarif.h"

Public Member Functions

ThreadFlow setRange (const CharSourceRange &ItemRange)
 
ThreadFlow setImportance (const ThreadFlowImportance &ItemImportance)
 
ThreadFlow setMessage (llvm::StringRef ItemMessage)
 

Static Public Member Functions

static ThreadFlow create ()
 

Friends

class SarifDocumentWriter
 

Detailed Description

A thread flow is a sequence of code locations that specify a possible path through a single thread of execution.

A thread flow in SARIF is related to a code flow which describes the progress of one or more programs through one or more thread flows.

Reference:

  1. threadFlow object
  2. codeFlow object

Definition at line 175 of file Sarif.h.

Member Function Documentation

◆ create()

static ThreadFlow clang::ThreadFlow::create ( )
inlinestatic

Definition at line 185 of file Sarif.h.

Referenced by createThreadFlows().

◆ setImportance()

ThreadFlow clang::ThreadFlow::setImportance ( const ThreadFlowImportance ItemImportance)
inline

Definition at line 194 of file Sarif.h.

Referenced by createThreadFlows().

◆ setMessage()

ThreadFlow clang::ThreadFlow::setMessage ( llvm::StringRef  ItemMessage)
inline

Definition at line 199 of file Sarif.h.

Referenced by createThreadFlows().

◆ setRange()

ThreadFlow clang::ThreadFlow::setRange ( const CharSourceRange ItemRange)
inline

Definition at line 187 of file Sarif.h.

References clang::CharSourceRange::isCharRange(), and Range.

Referenced by createThreadFlows().

Friends And Related Function Documentation

◆ SarifDocumentWriter

friend class SarifDocumentWriter
friend

Definition at line 176 of file Sarif.h.


The documentation for this class was generated from the following file: