Home | History | Annotate | Download | only in AST

Lines Matching refs:ParentMap

1 //===--- ParentMap.cpp - Mappings from Stmts to their Parents ---*- C++ -*-===//
10 // This file defines the ParentMap class.
14 #include "clang/AST/ParentMap.h"
83 ParentMap::ParentMap(Stmt* S) : Impl(0) {
91 ParentMap::~ParentMap() {
95 void ParentMap::addStmt(Stmt* S) {
101 Stmt* ParentMap::getParent(Stmt* S) const {
107 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const {
112 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const {
121 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const {
129 Stmt *ParentMap::getOuterParenParent(Stmt *S) const {
138 bool ParentMap::isConsumedExpr(Expr* E) const {