class PathDiagnosticEventPiece
Declaration
class PathDiagnosticEventPiece : public PathDiagnosticSpotPiece { /* full declaration omitted */ };
Description
Node - This class is used to maintain the singly linked bucket list in a folding set.
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:534
Inherits from: PathDiagnosticSpotPiece
Member Variables
- private Optional<bool> IsPrunable
Method Overview
- public PathDiagnosticEventPiece(const clang::ento::PathDiagnosticLocation & pos, llvm::StringRef s, bool addPosRange = true)
- public static bool classof(const clang::ento::PathDiagnosticPiece * P)
- public void dump() const
- public bool isPrunable() const
- public void setPrunable(bool isPrunable, bool override = false)
- public ~PathDiagnosticEventPiece()
Inherited from PathDiagnosticSpotPiece:
Inherited from PathDiagnosticPiece:
- public Profile
- public addFixit
- public addRange
- public addRange
- public dump
- public flattenLocations
- public getDisplayHint
- public getFixits
- public getKind
- public getLocation
- public getRanges
- public getString
- public getTag
- public getTagStr
- public isLastInMainSourceFile
- public setAsLastInMainSourceFile
- public setTag
Inherited from FoldingSetBase::Node:
Methods
¶PathDiagnosticEventPiece(
const clang::ento::PathDiagnosticLocation&
pos,
llvm::StringRef s,
bool addPosRange = true)
PathDiagnosticEventPiece(
const clang::ento::PathDiagnosticLocation&
pos,
llvm::StringRef s,
bool addPosRange = true)
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:538
Parameters
- const clang::ento::PathDiagnosticLocation& pos
- llvm::StringRef s
- bool addPosRange = true
¶static bool classof(
const clang::ento::PathDiagnosticPiece* P)
static bool classof(
const clang::ento::PathDiagnosticPiece* P)
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:557
Parameters
- const clang::ento::PathDiagnosticPiece* P
¶void dump() const
void dump() const
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:555
¶bool isPrunable() const
bool isPrunable() const
Description
Return true if the diagnostic piece is prunable.
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:553
¶void setPrunable(bool isPrunable,
bool override = false)
void setPrunable(bool isPrunable,
bool override = false)
Description
Mark the diagnostic piece as being potentially prunable. This flag may have been previously set, at which point it will not be reset unless one specifies to do so.
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:546
Parameters
- bool isPrunable
- bool override = false
¶~PathDiagnosticEventPiece()
~PathDiagnosticEventPiece()
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:541