Searched defs:decl (Results 1 - 3 of 3) sorted by relevance

/bionic/tools/versioner/src/
H A DDeclarationDatabase.cpp50 std::string getDeclName(NamedDecl* decl) { argument
51 if (auto var_decl = dyn_cast<VarDecl>(decl)) {
57 if (mangler->shouldMangleDeclName(decl)) {
60 mangler->mangleName(decl, ss);
64 if (auto identifier = decl->getIdentifier()) {
70 bool VisitDecl(Decl* decl) { argument
73 if (decl->getParentFunctionOrMethod()) {
77 auto named_decl = dyn_cast<NamedDecl>(decl);
88 if (auto function_decl = dyn_cast<FunctionDecl>(decl)) {
91 } else if (auto var_decl = dyn_cast<VarDecl>(decl)) {
[all...]
H A DPreprocessor.cpp427 const Declaration& decl = decl_it.second; local
429 if (decl.no_guard) {
434 DeclarationAvailability macro_guard = calculateRequiredGuard(decl);
H A Dversioner.cpp225 static std::set<CompilationType> getCompilationTypes(const Declaration* decl) { argument
227 for (const auto& it : decl->availability) {
253 const Declaration* decl = &decl_it.second; local
254 if (decl->is_definition) {
255 std::set<CompilationType> compilation_types = getCompilationTypes(decl);
261 decl->dump(cwd, stderr, 4);
267 inline_definitions[decl] = std::move(compilation_types);
271 if (!decl->calculateAvailability(&availability)) {
273 decl->dump(cwd, stderr, 2);
277 if (decl
[all...]

Completed in 5 milliseconds