class FunctionCodeRegion

Declaration

class FunctionCodeRegion : public CodeTextRegion { /* full declaration omitted */ };

Description

FunctionCodeRegion - A region that represents code texts of function.

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:580

Inherits from: CodeTextRegion

Member Variables

private const clang::NamedDecl* FD

Inherited from SubRegion:

protected superRegion

Method Overview

  • private FunctionCodeRegion(const clang::NamedDecl * fd, const clang::ento::CodeSpaceRegion * sreg)
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private static void ProfileRegion(llvm::FoldingSetNodeID & ID, const clang::NamedDecl * FD, const clang::ento::MemRegion *)
  • public static bool classof(const clang::ento::MemRegion * R)
  • public void dumpToStream(llvm::raw_ostream & os) const
  • public const clang::NamedDecl * getDecl() const
  • public clang::QualType getLocationType() const

Inherited from CodeTextRegion:

Inherited from TypedRegion:

Inherited from SubRegion:

Inherited from MemRegion:

Inherited from FoldingSetBase::Node:

Methods

FunctionCodeRegion(
    const clang::NamedDecl* fd,
    const clang::ento::CodeSpaceRegion* sreg)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:585

Parameters

const clang::NamedDecl* fd
const clang::ento::CodeSpaceRegion* sreg

void Profile(llvm::FoldingSetNodeID& ID) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:614

Parameters

llvm::FoldingSetNodeID& ID

static void ProfileRegion(
    llvm::FoldingSetNodeID& ID,
    const clang::NamedDecl* FD,
    const clang::ento::MemRegion*)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:590

Parameters

llvm::FoldingSetNodeID& ID
const clang::NamedDecl* FD
const clang::ento::MemRegion*

static bool classof(
    const clang::ento::MemRegion* R)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:616

Parameters

const clang::ento::MemRegion* R

void dumpToStream(llvm::raw_ostream& os) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:612

Parameters

llvm::raw_ostream& os

const clang::NamedDecl* getDecl() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:608

clang::QualType getLocationType() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:594