Home | History | Annotate | Download | only in AST

Lines Matching defs:ParentMap

1 //===--- ParentMap.cpp - Mappings from Stmts to their Parents ---*- C++ -*-===//
10 // This file defines the ParentMap class.
14 #include "clang/AST/ParentMap.h"
95 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) {
103 ParentMap::~ParentMap() {
107 void ParentMap::addStmt(Stmt* S) {
113 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) {
120 Stmt* ParentMap::getParent(Stmt* S) const {
126 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const {
131 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const {
140 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const {
148 Stmt *ParentMap::getOuterParenParent(Stmt *S) const {
157 bool ParentMap::isConsumedExpr(Expr* E) const {