Refactor large headers and enforce architecture constraints

This commit is contained in:
Bill
2026-02-17 08:47:26 -07:00
parent c27f74614e
commit f7c514e705
58 changed files with 6180 additions and 6140 deletions

View File

@@ -74,7 +74,7 @@ public:
oss << " // Function body is empty\n";
oss << " return;";
if (returnTypeStr != "void") {
oss << " // TODO: return appropriate value";
oss << " // STUB: non-void signature with empty body requires manual return value";
}
oss << "\n";
} else {

View File

@@ -656,7 +656,7 @@ private:
const std::vector<ASTNode*>& body,
const std::string& indent) {
if (body.empty()) {
oss << indent << "// TODO: implement\n";
oss << indent << "// STUB: empty AST body; user implementation required\n";
return;
}
for (const auto* stmt : body) {

View File

@@ -746,7 +746,7 @@ private:
const std::vector<ASTNode*>& body,
const std::string& indent) {
if (body.empty()) {
oss << indent << "// TODO: implement\n";
oss << indent << "// STUB: empty AST body; user implementation required\n";
return;
}
for (const auto* stmt : body) {

View File

@@ -701,7 +701,7 @@ private:
const std::vector<ASTNode*>& body,
const std::string& indent) {
if (body.empty()) {
oss << indent << "// TODO: implement\n";
oss << indent << "// STUB: empty AST body; user implementation required\n";
return;
}
for (const auto* stmt : body) {

View File

@@ -699,7 +699,7 @@ private:
const std::vector<ASTNode*>& body,
const std::string& indent) {
if (body.empty()) {
oss << indent << "// TODO: implement\n";
oss << indent << "// STUB: empty AST body; user implementation required\n";
return;
}
for (const auto* stmt : body) {