Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 6 of 6) sorted by relevance

/development/vndk/tools/header-checker/src/dumper/
Dast_processing.cpp56 bool HeaderASTVisitor::VisitRecordDecl(const clang::RecordDecl *decl) { in VisitRecordDecl() argument
58 if (decl->isInvalidDecl()) { in VisitRecordDecl()
63 if (!decl->isThisDeclarationADefinition() || in VisitRecordDecl()
64 decl->getTypeForDecl()->isDependentType() || in VisitRecordDecl()
65 decl->isAnonymousStructOrUnion() || in VisitRecordDecl()
66 !decl->hasNameForLinkage() || in VisitRecordDecl()
67 !decl->isExternallyVisible()) { in VisitRecordDecl()
71 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); in VisitRecordDecl()
75 bool HeaderASTVisitor::VisitEnumDecl(const clang::EnumDecl *decl) { in VisitEnumDecl() argument
76 if (!decl->isThisDeclarationADefinition() || in VisitEnumDecl()
[all …]
Dfake_decl_source.cpp89 clang::NamedDecl *decl; in CreateDecl() local
99 decl = CreateClassTemplateDecl(cxx_record_decl, decl_context); in CreateDecl()
101 decl = cxx_record_decl; in CreateDecl()
106 decl = CreateNamespaceDecl(name, decl_context); in CreateDecl()
109 decl = nullptr; in CreateDecl()
112 if (decl) { in CreateDecl()
113 decl_context->addDecl(decl); in CreateDecl()
115 return decl; in CreateDecl()
168 clang::NamedDecl *decl = in CorrectTypo() local
170 if (decl == nullptr) { in CorrectTypo()
[all …]
Dast_processing.h46 bool VisitRecordDecl(const clang::RecordDecl *decl);
48 bool VisitFunctionDecl(const clang::FunctionDecl *decl);
50 bool VisitEnumDecl(const clang::EnumDecl *decl);
52 bool VisitVarDecl(const clang::VarDecl *decl);
54 bool TraverseDecl(clang::Decl *decl);
60 bool ShouldSkipFunctionDecl(const clang::FunctionDecl *decl);
Dabi_wrappers.h50 static std::string GetDeclSourceFile(const clang::Decl *decl,
55 std::string GetCachedDeclSourceFile(const clang::Decl *decl,
59 static std::string GetMangledNameDecl(const clang::NamedDecl *decl,
96 bool CreateAnonymousRecord(const clang::RecordDecl *decl);
153 const clang::FunctionDecl *decl, repr::ModuleIR *module,
200 const clang::EnumDecl *decl, repr::ModuleIR *module,
221 const clang::VarDecl *decl, repr::ModuleIR *module,
Dabi_wrappers.cpp70 std::string ABIWrapper::GetDeclSourceFile(const clang::Decl *decl, in GetDeclSourceFile() argument
74 clang::SourceLocation location = decl->getLocation(); in GetDeclSourceFile()
87 const clang::Decl *decl, const clang::CompilerInstance *cip) { in GetCachedDeclSourceFile() argument
88 assert(decl != nullptr); in GetCachedDeclSourceFile()
89 auto result = ast_caches_->decl_to_source_file_cache_.find(decl); in GetCachedDeclSourceFile()
91 return GetDeclSourceFile(decl, cip, ast_caches_->root_dir_); in GetCachedDeclSourceFile()
97 const clang::NamedDecl *decl, clang::MangleContext *mangle_contextp) { in GetMangledNameDecl() argument
98 if (!mangle_contextp->shouldMangleDeclName(decl)) { in GetMangledNameDecl()
99 clang::IdentifierInfo *identifier = decl->getIdentifier(); in GetMangledNameDecl()
104 mangle_contextp->mangleName(decl, ostream); in GetMangledNameDecl()
[all …]
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv47966 …form/external/mesa3d,fake_i80IxMhGR0mLzSsrwDhkMw@fakeemail.com,glsl_to_tgsi: add SVIEW decl support
49768 …nal/mesa3d,fake_l96KjVjrShCWhYKHegp3zg@fakeemail.com,swrast: Fix -Wduplicate-decl-specifier warning
50883 …/external/mesa3d,fake_eIOUISEhTHad0_GnH9dz0w@fakeemail.com,tgsi: add inst/decl helpers for tgsi_tr…
53135 …tform/external/mesa3d,fake_BVR9ptdpTYGF2AcXDFg_yQ@fakeemail.com,tgsi: Fix decl.Atomic and .Shared …
57338 …nal/mesa3d,fake_udnE9etLRNKMgZNcUYz_bg@fakeemail.com,glx: Fix missing bit decl for EXT_texture_int…
59699 …ke_eIOUISEhTHad0_GnH9dz0w@fakeemail.com,draw: use new tgsi_transform inst/decl helpers in aapoint …
59728 …ke_eIOUISEhTHad0_GnH9dz0w@fakeemail.com,draw: use new tgsi_transform inst/decl helpers in aaline c…
72857 …ic,fake_iTe4DrasSyKHxu4NIhePUg@fakeemail.com,"Re-land ""Fix invalid using decl in bionic relocatio…
114282 …df974,platform/external/minijail,fake_UTEE99-TQlSGGIzhevn-5w@fakeemail.com,fix func decl for C code