Searched defs:declarations (Results 1 - 2 of 2) sorted by relevance

/system/tools/hidl/c2hal/
H A DAST.cpp89 void AST::setDeclarations(std::vector<Declaration *> *declarations) { argument
90 // on the top level, no var declarations are allowed.
91 for(size_t i = 0; i < declarations->size(); i++) {
92 if(declarations->at(i)->decType() == VarDeclaration::type()) {
93 declarations->at(i) = new Note(declarations->at(i));
97 mDeclarations = declarations;
155 /* take global function declarations out of the type file and into a new
/system/tools/aidl/
H A Dast_cpp.cpp396 std::vector<unique_ptr<Declaration>> declarations)
397 : declarations_(std::move(declarations)),
395 CppNamespace(const std::string& name, std::vector<unique_ptr<Declaration>> declarations) argument

Completed in 80 milliseconds