Lines Matching refs:decl

70 #define TRACE_LLVM_DECL(str, decl)                   \
74 decl->dump(); \
83 const clang::NamedDecl* decl,
85 if (llvm::isa<clang::CXXConstructorDecl>(decl)) return false;
86 if (llvm::isa<clang::CXXDestructorDecl>(decl)) return false;
89 ctx->mangleName(decl, out);
95 static bool InV8Namespace(const clang::NamedDecl* decl) {
96 return decl->getQualifiedNameAsString().compare(0, 4, "v8::") == 0;
319 virtual bool VisitFunctionDecl(clang::FunctionDecl* decl) {
320 callees_printer_->AnalyzeFunction(decl);
399 const clang::FunctionDecl* decl) {
401 if (!InV8Namespace(decl)) return false;
402 if (suspects_allowlist.find(decl->getNameAsString()) !=
407 if (GetMangledName(ctx, decl, &name)) {
415 const clang::FunctionDecl* decl) {
417 if (!InV8Namespace(decl)) return false;
419 if (suspects_allowlist.find(decl->getNameAsString()) !=
423 if (gc_functions.find(decl->getNameAsString()) != gc_functions.end()) {
424 TRACE_LLVM_DECL("Suspected by ", decl);
1400 Environment VisitDecl(clang::Decl* decl, Environment& env) {
1401 if (clang::VarDecl* var = llvm::dyn_cast<clang::VarDecl>(decl)) {
1409 clang::FullSourceLoc(decl->getLocation(), sm_);
1421 for (clang::DeclStmt::decl_iterator decl = stmt->decl_begin();
1422 decl != end;
1423 ++decl) {
1424 out = VisitDecl(*decl, out);
1535 clang::FunctionDecl* decl) {
1538 gccause_decl = decl;
1624 virtual bool VisitFunctionDecl(clang::FunctionDecl* decl) {
1627 const auto& fileID = sm_.getFileID(decl->getLocation());
1632 TRACE("Visiting function " << decl->getNameAsString());
1633 function_analyzer_->AnalyzeFunction(decl);