clang 19.0.0git
Classes | Namespaces | Typedefs | Functions
ASTOps.h File Reference
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/Type.h"
#include "clang/Analysis/FlowSensitive/StorageLocation.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SetVector.h"

Go to the source code of this file.

Classes

class  clang::dataflow::RecordInitListHelper
 Helper class for initialization of a record with an InitListExpr. More...
 
class  clang::dataflow::AnalysisASTVisitor< Derived >
 Specialization of RecursiveASTVisitor that visits those nodes that are relevant to the dataflow analysis; generally, these are the ones that also appear in the CFG. More...
 
struct  clang::dataflow::ReferencedDecls
 A collection of several types of declarations, all referenced from the same function. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::dataflow
 Dataflow Directional Tag Classes.
 

Typedefs

using clang::dataflow::FieldSet = llvm::SmallSetVector< const FieldDecl *, 4 >
 A set of FieldDecl *.
 

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)
 
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.
 
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.