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:

Inherited from FoldingSetBase::Node:

Methods

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

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:526

Parameters

llvm::FoldingSetNodeID& ID

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()

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:524

clang::ento::PathDiagnosticLocation getLocation()
    const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:523