clang
7.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/Rewrite/Core/HTMLRewrite.h"
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
#include "clang/StaticAnalyzer/Core/IssueHash.h"
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
Go to the source code of this file.
Functions | |
static void | EmitRanges (raw_ostream &o, const ArrayRef< SourceRange > Ranges, const FIDMap &FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent) |
static void | EmitMessage (raw_ostream &o, StringRef Message, unsigned indent) |
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 PathDiagnosticEventPiece &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 | ReportNote (raw_ostream &o, const PathDiagnosticNotePiece &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 108 of file PlistDiagnostics.cpp.
|
static |
Definition at line 87 of file PlistDiagnostics.cpp.
|
static |
Definition at line 224 of file PlistDiagnostics.cpp.
References clang::ento::PathDiagnosticCallPiece::getCallEnterEvent(), clang::ento::PathDiagnosticCallPiece::getCallEnterWithinCallerEvent(), clang::ento::PathDiagnosticPiece::isLastInMainSourceFile(), and ReportPiece().
Referenced by ReportPiece().
|
static |
Definition at line 122 of file PlistDiagnostics.cpp.
Referenced by ReportPiece().
|
static |
Definition at line 292 of file PlistDiagnostics.cpp.
References ReportPiece().
|
static |
Definition at line 176 of file PlistDiagnostics.cpp.
Referenced by ReportPiece().
|
static |
Definition at line 251 of file PlistDiagnostics.cpp.
Referenced by ReportPiece().
|
static |
Definition at line 264 of file PlistDiagnostics.cpp.
Referenced by ReportPiece().
|
static |
Definition at line 298 of file PlistDiagnostics.cpp.
References clang::markup::AddFID(), clang::ento::PathDiagnosticPiece::Call, clang::ento::PathDiagnosticPiece::ControlFlow, clang::markup::EmitPlistHeader(), clang::markup::EmitString(), clang::ento::PathDiagnosticPiece::Event, clang::getClangFullVersion(), clang::SourceManager::getFileEntryForID(), clang::ento::PathDiagnosticPiece::getKind(), clang::FileEntry::getName(), clang::ento::PathDiagnosticPiece::Macro, clang::ento::PathDiagnosticPiece::Note, clang::ento::PathDiagnostic::path, ReportCall(), ReportControlFlow(), ReportEvent(), ReportMacro(), and ReportNote().
Referenced by ReportCall(), and ReportDiag().