clang API Documentation
#include "clang/AST/ParentMap.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "llvm/ADT/DenseMap.h"
Go to the source code of this file.
Typedefs | |
typedef llvm::DenseMap< Stmt *, Stmt * > | MapTy |
Enumerations | |
enum | OpaqueValueMode { OV_Transparent, OV_Opaque } |
Functions | |
static void | BuildParentMap (MapTy &M, Stmt *S, OpaqueValueMode OVMode=OV_Transparent) |
Definition at line 22 of file ParentMap.cpp.
enum OpaqueValueMode |
Definition at line 24 of file ParentMap.cpp.
static void BuildParentMap | ( | MapTy & | M, |
Stmt * | S, | ||
OpaqueValueMode | OVMode = OV_Transparent |
||
) | [static] |
Definition at line 29 of file ParentMap.cpp.
References clang::Stmt::children(), clang::BinaryConditionalOperator::getCommon(), clang::BinaryConditionalOperator::getCond(), clang::BinaryConditionalOperator::getFalseExpr(), clang::OpaqueValueExpr::getSourceExpr(), clang::Stmt::getStmtClass(), clang::PseudoObjectExpr::getSyntacticForm(), clang::BinaryConditionalOperator::getTrueExpr(), OV_Opaque, OV_Transparent, S, clang::PseudoObjectExpr::semantics_begin(), and clang::PseudoObjectExpr::semantics_end().
Referenced by clang::ParentMap::addStmt(), and clang::ParentMap::ParentMap().