class PathDiagnosticSpotPiece
Declaration
class PathDiagnosticSpotPiece : public PathDiagnosticPiece { /* 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:508
Inherits from: PathDiagnosticPiece
Member Variables
- private clang::ento::PathDiagnosticLocation Pos
Method Overview
- public PathDiagnosticSpotPiece(const clang::ento::PathDiagnosticLocation & pos, llvm::StringRef s, PathDiagnosticPiece::Kind k, bool addPosRange = true)
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public static bool classof(const clang::ento::PathDiagnosticPiece * P)
- public void flattenLocations()
- public clang::ento::PathDiagnosticLocation getLocation() const
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
¶PathDiagnosticSpotPiece(
const clang::ento::PathDiagnosticLocation&
pos,
llvm::StringRef s,
PathDiagnosticPiece::Kind k,
bool addPosRange = true)
PathDiagnosticSpotPiece(
const clang::ento::PathDiagnosticLocation&
pos,
llvm::StringRef s,
PathDiagnosticPiece::Kind k,
bool addPosRange = true)
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:513
Parameters
- const clang::ento::PathDiagnosticLocation& pos
- llvm::StringRef s
- PathDiagnosticPiece::Kind k
- bool addPosRange = true
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:526
Parameters
¶static bool classof(
const clang::ento::PathDiagnosticPiece* P)
static bool classof(
const clang::ento::PathDiagnosticPiece* P)
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:528
Parameters
- const clang::ento::PathDiagnosticPiece* P
¶void flattenLocations()
void flattenLocations()
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:524
¶clang::ento::PathDiagnosticLocation getLocation()
const
clang::ento::PathDiagnosticLocation getLocation()
const
Declared at: clang/include/clang/Analysis/PathDiagnostic.h:523