Go to the documentation of this file.
25 using namespace clang;
35 const FunctionDecl *func = llvm::dyn_cast<FunctionDecl>(*I);
ModelConsumer(llvm::StringMap< Stmt * > &Bodies)
Stmt * getBody(const FunctionDecl *&Definition) const
Retrieve the body (definition) of the function.
bool HandleTopLevelDecl(DeclGroupRef D) override
HandleTopLevelDecl - Handle the specified top-level declaration.
bool hasBody(const FunctionDecl *&Definition) const
Returns true if the function has a body.
Decl - This represents one declaration (or definition), e.g.
Represents a function declaration or definition.
StringRef getName() const
Get the name of identifier for this declaration as a StringRef.