|
clang
5.0.0
|
#include "clang/Basic/FileManager.h"#include "clang/Basic/PlistSupport.h"#include "clang/Basic/SourceManager.h"#include "clang/Basic/Version.h"#include "clang/Lex/Preprocessor.h"#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"#include "clang/StaticAnalyzer/Core/IssueHash.h"#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"#include "llvm/ADT/SmallVector.h"#include "llvm/Support/Casting.h"Go to the source code of this file.
Functions | |
| static void | ReportControlFlow (raw_ostream &o, const PathDiagnosticControlFlowPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent) |
| static void | ReportEvent (raw_ostream &o, const PathDiagnosticPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent, unsigned depth, bool isKeyEvent=false) |
| static void | ReportPiece (raw_ostream &o, const PathDiagnosticPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent, unsigned depth, bool includeControlFlow, bool isKeyEvent=false) |
| static void | ReportCall (raw_ostream &o, const PathDiagnosticCallPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent, unsigned depth) |
| static void | ReportMacro (raw_ostream &o, const PathDiagnosticMacroPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent, unsigned depth) |
| static void | ReportDiag (raw_ostream &o, const PathDiagnosticPiece &P, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts) |
|
static |
Definition at line 204 of file PlistDiagnostics.cpp.
References E, clang::ento::PathDiagnosticCallPiece::getCallEnterEvent(), clang::ento::PathDiagnosticCallPiece::getCallEnterWithinCallerEvent(), clang::ento::PathDiagnosticCallPiece::getCallExitEvent(), I, clang::ento::PathDiagnosticPiece::isLastInMainSourceFile(), clang::ento::PathDiagnosticCallPiece::path, and ReportPiece().
Referenced by ReportPiece().
|
static |
Definition at line 82 of file PlistDiagnostics.cpp.
References clang::ento::PathDiagnosticControlFlowPiece::begin(), E, clang::markup::EmitRange(), clang::markup::EmitString(), clang::ento::PathDiagnosticControlFlowPiece::end(), clang::Lexer::getAsCharRange(), clang::SourceManager::getExpansionLoc(), clang::ento::PathDiagnosticPiece::getString(), I, and Indent.
Referenced by ReportPiece().
|
static |
Definition at line 244 of file PlistDiagnostics.cpp.
References ReportPiece().
|
static |
Definition at line 136 of file PlistDiagnostics.cpp.
References clang::ento::PathDiagnosticLocation::asLocation(), clang::markup::EmitInteger(), clang::markup::EmitLocation(), clang::markup::EmitRange(), clang::markup::EmitString(), clang::Lexer::getAsCharRange(), clang::SourceManager::getExpansionRange(), clang::ento::PathDiagnosticPiece::getLocation(), clang::ento::PathDiagnosticPiece::getRanges(), clang::ento::PathDiagnosticPiece::getString(), Indent, and SM.
Referenced by ReportPiece().
|
static |
Definition at line 231 of file PlistDiagnostics.cpp.
References E, I, ReportPiece(), and clang::ento::PathDiagnosticMacroPiece::subPieces.
Referenced by ReportPiece().
|
static |
Definition at line 250 of file PlistDiagnostics.cpp.
References clang::ento::PathDiagnosticPiece::Call, clang::ento::PathDiagnosticPiece::ControlFlow, clang::ento::PathDiagnosticPiece::Event, clang::ento::PathDiagnosticPiece::getKind(), clang::ento::PathDiagnosticPiece::Macro, clang::ento::PathDiagnosticPiece::Note, ReportCall(), ReportControlFlow(), ReportEvent(), and ReportMacro().
Referenced by ReportCall(), ReportDiag(), and ReportMacro().
1.8.6