Refactor large headers and enforce architecture constraints
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user