reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
482 emitIfdef((Twine("GET_") + Table.PreprocessorGuard + "_DECL").str(), OS); 485 if (Table.PrimaryKey) { 486 emitLookupDeclaration(Table, *Table.PrimaryKey, OS); 486 emitLookupDeclaration(Table, *Table.PrimaryKey, OS); 489 for (const auto &Index : Table.Indices) { 490 emitLookupDeclaration(Table, *Index, OS); 496 emitIfdef((Twine("GET_") + Table.PreprocessorGuard + "_IMPL").str(), OS); 499 OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n"; 499 OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n"; 500 for (unsigned i = 0; i < Table.Entries.size(); ++i) { 501 Record *Entry = Table.Entries[i]; 505 for (const auto &Field : Table.Fields) { 519 if (Table.PrimaryKey) 520 emitLookupFunction(Table, *Table.PrimaryKey, true, OS); 520 emitLookupFunction(Table, *Table.PrimaryKey, true, OS); 521 for (const auto &Index : Table.Indices) 522 emitLookupFunction(Table, *Index, false, OS);