clang 23.0.0git
SSAFAnalysesCommon.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/Decl.h"
#include "llvm/Support/JSON.h"

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::ssaf

Functions

template<typename NodeTy, typename... Ts>
llvm::Error clang::ssaf::makeErrAtNode (clang::ASTContext &Ctx, const NodeTy *N, llvm::StringRef Fmt, const Ts &...Args)
template<typename... Ts>
llvm::Error clang::ssaf::makeSawButExpectedError (const llvm::json::Value &Saw, llvm::StringRef Expected, const Ts &...ExpectedArgs)
template<typename DeclOrExpr>
bool clang::ssaf::hasPtrOrArrType (const DeclOrExpr *E)
llvm::Error clang::ssaf::makeEntityNameErr (clang::ASTContext &Ctx, const clang::NamedDecl *D)
void clang::ssaf::findContributors (ASTContext &Ctx, std::vector< const NamedDecl * > &Contributors)
 Find all contributors in an AST.
void clang::ssaf::findMatchesIn (const NamedDecl *Contributor, llvm::function_ref< void(const DynTypedNode &)> MatchActionRef)
 Perform "MatchAction" on each Stmt and Decl belonging to the Contributor.