clang: lib/Analysis/FlowSensitive/ASTOps.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace clang
The JSON file list parser is used to communicate input to InstallAPI.
namespace clang::dataflow
Dataflow Directional Tag Classes.
Functions
const Expr & clang::dataflow::ignoreCFGOmittedNodes (const Expr &E)
Skip past nodes that the CFG does not emit.
const Stmt & clang::dataflow::ignoreCFGOmittedNodes (const Stmt &S)
static void clang::dataflow::getFieldsFromClassHierarchy (QualType Type, FieldSet &Fields)
FieldSet clang::dataflow::getObjectFields (QualType Type)
Returns the set of all fields in the type.
bool clang::dataflow::containsSameFields (const FieldSet &Fields, const RecordStorageLocation::FieldToLoc &FieldLocs)
Returns whether Fields and FieldLocs contain the same fields.
template
static std::vector< const FieldDecl * > clang::dataflow::getFieldsForInitListExpr (const InitListT *InitList)
Returns the fields of a RecordDecl that are initialized by an InitListExpr or CXXParenListInitExpr, in the order in which they appear in InitListExpr::inits() / CXXParenListInitExpr::getInitExprs().
static void clang::dataflow::insertIfGlobal (const Decl &D, llvm::DenseSet< const VarDecl * > &Globals)
static void clang::dataflow::insertIfLocal (const Decl &D, llvm::DenseSet< const VarDecl * > &Locals)
static void clang::dataflow::insertIfFunction (const Decl &D, llvm::DenseSet< const FunctionDecl * > &Funcs)
static MemberExpr * clang::dataflow::getMemberForAccessor (const CXXMemberCallExpr &C)
ReferencedDecls clang::dataflow::getReferencedDecls (const FunctionDecl &FD)
Returns declarations that are declared in or referenced from FD.
ReferencedDecls clang::dataflow::getReferencedDecls (const Stmt &S)
Returns declarations that are declared in or referenced from S.

DEBUG_TYPE

#define DEBUG_TYPE "dataflow"