clang  6.0.0svn
Functions
PlistDiagnostics.cpp File Reference
#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"
Include dependency graph for PlistDiagnostics.cpp:

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)
 

Function Documentation

◆ ReportCall()

static void ReportCall ( raw_ostream &  o,
const PathDiagnosticCallPiece P,
const FIDMap &  FM,
const SourceManager SM,
const LangOptions LangOpts,
unsigned  indent,
unsigned  depth 
)
static

◆ ReportControlFlow()

static void ReportControlFlow ( raw_ostream &  o,
const PathDiagnosticControlFlowPiece P,
const FIDMap &  FM,
const SourceManager SM,
const LangOptions LangOpts,
unsigned  indent 
)
static

Definition at line 82 of file PlistDiagnostics.cpp.

Referenced by ReportPiece().

◆ ReportDiag()

static void ReportDiag ( raw_ostream &  o,
const PathDiagnosticPiece P,
const FIDMap &  FM,
const SourceManager SM,
const LangOptions LangOpts 
)
static

Definition at line 244 of file PlistDiagnostics.cpp.

References ReportPiece().

◆ ReportEvent()

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

Definition at line 136 of file PlistDiagnostics.cpp.

Referenced by ReportPiece().

◆ ReportMacro()

static void ReportMacro ( raw_ostream &  o,
const PathDiagnosticMacroPiece P,
const FIDMap &  FM,
const SourceManager SM,
const LangOptions LangOpts,
unsigned  indent,
unsigned  depth 
)
static

Definition at line 231 of file PlistDiagnostics.cpp.

Referenced by ReportPiece().

◆ ReportPiece()

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