Lines Matching refs:FunctionDeclaration
16 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
19 return { &s.as<FunctionDeclaration>() }; in GetFunctions()
23 return std::vector<const FunctionDeclaration*>(); in GetFunctions()
55 for (const FunctionDeclaration* prev : previousFunctions) { in lookup()
57 for (const FunctionDeclaration* current : functions) { in lookup()
103 if (!symbol->is<FunctionDeclaration>()) { in addWithoutOwnership()
108 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
109 if (refInSymbolTable->is<FunctionDeclaration>()) { in addWithoutOwnership()
110 functions = {&refInSymbolTable->as<FunctionDeclaration>(), in addWithoutOwnership()
111 &symbol->as<FunctionDeclaration>()}; in addWithoutOwnership()
117 functions.push_back(&symbol->as<FunctionDeclaration>()); in addWithoutOwnership()