Home
last modified time | relevance | path

Searched refs:declaration (Results 1 – 7 of 7) sorted by relevance

/bionic/tools/versioner/src/
DDeclarationDatabase.cpp227 Declaration declaration; in VisitDeclaratorDecl() local
228 declaration.name = declaration_name; in VisitDeclaratorDecl()
229 declaration.location = location; in VisitDeclaratorDecl()
230 declaration.is_extern = is_extern; in VisitDeclaratorDecl()
231 declaration.is_definition = is_definition; in VisitDeclaratorDecl()
232 declaration.no_guard = no_guard; in VisitDeclaratorDecl()
233 declaration.fortify_inline = fortify_inline; in VisitDeclaratorDecl()
234 declaration.availability.insert(std::make_pair(type, availability)); in VisitDeclaratorDecl()
235 symbol_it->second.declarations.insert(std::make_pair(location, declaration)); in VisitDeclaratorDecl()
DPreprocessor.cpp44 static DeclarationAvailability calculateRequiredGuard(const Declaration& declaration) { in calculateRequiredGuard() argument
56 for (const auto& it : declaration.availability) { in calculateRequiredGuard()
69 if (!declaration.calculateAvailability(&decl_av)) { in calculateRequiredGuard()
71 declaration.dump("", stderr, 2); in calculateRequiredGuard()
75 D("Calculating required guard for %s:\n", declaration.name.c_str()); in calculateRequiredGuard()
/bionic/tools/versioner/tests/multiple_decl_mismatch/
Dexpected_fail4 extern declaration @ headers/bar.h:5:1
6 extern declaration @ headers/foo.h:5:1
/bionic/tools/versioner/tests/version_mismatch/
Dexpected_fail4 extern declaration @ headers/foo.h:6:1
6 extern declaration @ headers/foo.h:8:1
/bionic/tools/versioner/tests/missing_api/
Dexpected_fail2 extern declaration @ headers/foo.h:5:1
/bionic/tools/versioner/tests/missing_arch/
Dexpected_fail2 extern declaration @ headers/foo.h:5:1
/bionic/
DREADME.md173 and have the right declaration in the header file, and that you correctly