class ThreadFlow
Declaration
class ThreadFlow { /* full declaration omitted */ };
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
Declared at: clang/include/clang/Basic/Sarif.h:156
Member Variables
- private clang::CharSourceRange Range
- private clang::ThreadFlowImportance Importance
- private std::string Message
Method Overview
- private ThreadFlow()
- public static clang::ThreadFlow create()
- public clang::ThreadFlow setImportance(const clang::ThreadFlowImportance & ItemImportance)
- public clang::ThreadFlow setMessage(llvm::StringRef ItemMessage)
- public clang::ThreadFlow setRange(const clang::CharSourceRange & ItemRange)
Methods
¶ThreadFlow()
ThreadFlow()
Declared at: clang/include/clang/Basic/Sarif.h:163
¶static clang::ThreadFlow create()
static clang::ThreadFlow create()
Declared at: clang/include/clang/Basic/Sarif.h:166
¶clang::ThreadFlow setImportance(
const clang::ThreadFlowImportance&
ItemImportance)
clang::ThreadFlow setImportance(
const clang::ThreadFlowImportance&
ItemImportance)
Declared at: clang/include/clang/Basic/Sarif.h:175
Parameters
- const clang::ThreadFlowImportance& ItemImportance
¶clang::ThreadFlow setMessage(
llvm::StringRef ItemMessage)
clang::ThreadFlow setMessage(
llvm::StringRef ItemMessage)
Declared at: clang/include/clang/Basic/Sarif.h:180
Parameters
- llvm::StringRef ItemMessage
¶clang::ThreadFlow setRange(
const clang::CharSourceRange& ItemRange)
clang::ThreadFlow setRange(
const clang::CharSourceRange& ItemRange)
Declared at: clang/include/clang/Basic/Sarif.h:168
Parameters
- const clang::CharSourceRange& ItemRange