struct VariablePattern::VariableOccurence

Declaration

struct VariablePattern::VariableOccurence { /* full declaration omitted */ };

Description

Describes an occurrence of a variable reference in a statement.

Declared at: clang/include/clang/Analysis/CloneDetection.h:346

Member Variables

public size_t KindID
The index of the associated VarDecl in the Variables vector.
public const clang::Stmt* Mention
The statement in the code where the variable was referenced.

Method Overview

Methods

ΒΆVariableOccurence(size_t KindID,
                  const clang::Stmt* Mention)

Declared at: clang/include/clang/Analysis/CloneDetection.h:352

Parameters

size_t KindID
const clang::Stmt* Mention