Style audit: update code to strictly follow Google Style Guide

This commit is contained in:
Aaron Po
2026-04-11 11:56:45 -04:00
parent ae67fa8566
commit 5946356083
27 changed files with 129 additions and 127 deletions

View File

@@ -15,7 +15,7 @@
namespace {
auto ExtractFinalJsonPayload(std::string raw_response) -> std::string {
std::string ExtractFinalJsonPayload(std::string raw_response) {
auto trim = [](std::string_view text) -> std::string_view {
const std::size_t first = text.find_first_not_of(" \t\n\r");
if (first == std::string_view::npos) {
@@ -58,9 +58,8 @@ auto ExtractFinalJsonPayload(std::string raw_response) -> std::string {
} // namespace
auto LlamaGenerator::GenerateBrewery(const BreweryLocation& location,
const std::string& region_context)
-> BreweryResult {
BreweryResult LlamaGenerator::GenerateBrewery(
const BreweryLocation& location, const std::string& region_context) {
/**
* Preprocess and truncate region context to manageable size
*/