#include "SarifDiagnostics.h"
#include "HTMLDiagnostics.h"
#include "clang/Analysis/IssueHash.h"
#include "clang/Analysis/MacroExpansionContext.h"
#include "clang/Analysis/PathDiagnostic.h"
#include "clang/Basic/Sarif.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Version.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/JSON.h"
#include <memory>
#include "clang/StaticAnalyzer/Checkers/Checkers.inc"
Go to the source code of this file.
|
| static const llvm::StringRef | IssueHashKey = "clang/issueHash/v1" |
◆ CHECKER [1/2]
| #define CHECKER |
( |
| FULLNAME, |
|
|
| CLASS, |
|
|
| HELPTEXT, |
|
|
| DOC_URI, |
|
|
| IS_HIDDEN ) |
Value: .Case(FULLNAME, HELPTEXT)
◆ CHECKER [2/2]
| #define CHECKER |
( |
| FULLNAME, |
|
|
| CLASS, |
|
|
| HELPTEXT, |
|
|
| DOC_URI, |
|
|
| IS_HIDDEN ) |
◆ GET_CHECKERS [1/2]
◆ GET_CHECKERS [2/2]
◆ calculateImportance()
Definition at line 109 of file SarifDiagnostics.cpp.
References clang::ento::PathDiagnosticPiece::Call, clang::ento::PathDiagnosticPiece::ControlFlow, clang::Essential, clang::ento::PathDiagnosticPiece::Event, clang::ento::PathDiagnosticPiece::getKind(), clang::ento::PathDiagnosticPiece::getTagStr(), clang::Important, clang::ento::PathDiagnosticPiece::Macro, clang::ento::PathDiagnosticPiece::Note, clang::ento::PathDiagnosticPiece::PopUp, and clang::Unimportant.
Referenced by createThreadFlows().
◆ convertTokenRangeToCharRange()
◆ createRuleMapping()
◆ createThreadFlows()
◆ getRuleDescription()
| StringRef getRuleDescription |
( |
StringRef | CheckName | ) |
|
|
static |
◆ getRuleHelpURIStr()
| StringRef getRuleHelpURIStr |
( |
StringRef | CheckName | ) |
|
|
static |
◆ IssueHashKey
| const llvm::StringRef IssueHashKey = "clang/issueHash/v1" |
|
static |