Update all .cpp files to use .cc extension (google style)

This commit is contained in:
Aaron Po
2026-04-13 00:11:24 -04:00
parent 035b30abba
commit ef4f47d415
25 changed files with 50 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
/**
* @file biergarten_data_generator/biergarten_data_generator.cpp
* @file biergarten_data_generator/biergarten_data_generator.cc
* @brief BiergartenDataGenerator constructor implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file biergarten_data_generator/generate_breweries.cpp
* @file biergarten_data_generator/generate_breweries.cc
* @brief BiergartenDataGenerator::GenerateBreweries() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file biergarten_data_generator/log_results.cpp
* @file biergarten_data_generator/log_results.cc
* @brief BiergartenDataGenerator::LogResults() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file biergarten_data_generator/query_cities_with_countries.cpp
* @file biergarten_data_generator/query_cities_with_countries.cc
* @brief BiergartenDataGenerator::QueryCitiesWithCountries() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file biergarten_data_generator/run.cpp
* @file biergarten_data_generator/run.cc
* @brief BiergartenDataGenerator::Run() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/generate_brewery.cpp
* @file data_generation/llama/generate_brewery.cc
* @brief Builds brewery prompts with regional context, performs retry-based
* inference, and validates structured JSON output for brewery records.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/generate_user.cpp
* @file data_generation/llama/generate_user.cc
* @brief Generates locale-aware user profiles with strict two-line formatting,
* retry handling, and output sanitization for downstream parsing.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/helpers.cpp
* @file data_generation/llama/helpers.cc
* @brief Provides prompt formatting, whitespace normalization, response
* parsing, token decoding, and JSON validation helpers for Llama modules.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/llama_generator.cpp
* @file data_generation/llama/llama_generator.cc
* @brief LlamaGenerator constructor and destructor implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/load.cpp
* @file data_generation/llama/load.cc
* @brief Initializes llama backend, loads model weights, creates inference
* context, and resets prior resources during model initialization.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/llama/load_brewery_prompt.cpp
* @file data_generation/llama/load_brewery_prompt.cc
* @brief Resolves brewery system prompt content from cache or a configured
* filesystem path and provides a robust inline fallback prompt when absent.
*/
@@ -56,4 +56,4 @@ std::string LlamaGenerator::LoadBrewerySystemPrompt(
prompt_path.string(), prompt.length());
brewery_system_prompt_ = prompt;
return brewery_system_prompt_;
}
}

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/mock/deterministic_hash.cpp
* @file data_generation/mock/deterministic_hash.cc
* @brief Implements a stable hash combiner used by MockGenerator to derive
* repeatable pseudo-random indices from location input.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/mock/generate_brewery.cpp
* @file data_generation/mock/generate_brewery.cc
* @brief Builds deterministic brewery names and descriptions by hashing city
* and country into fixed mock phrase catalogs.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file data_generation/mock/generate_user.cpp
* @file data_generation/mock/generate_user.cc
* @brief Generates deterministic mock user profiles by hashing locale values
* into predefined username and bio collections.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file json_handling/json_loader.cpp
* @file json_handling/json_loader.cc
* @brief Parses curated location JSON input into strongly typed Location
* records with strict field validation and descriptive error reporting.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file main.cpp
* @file main.cc
* @brief Parses command-line options, validates runtime mode selection,
* initializes shared infrastructure, and executes the pipeline entry flow.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file wikipedia/fetch_extract.cpp
* @file wikipedia/fetch_extract.cc
* @brief WikipediaService::FetchExtract() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file wikipedia/get_summary.cpp
* @file wikipedia/get_summary.cc
* @brief WikipediaService::GetLocationContext() implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file services/wikipedia/wikipedia_service.cpp
* @file services/wikipedia/wikipedia_service.cc
* @brief WikipediaService constructor implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file web_client/curl_global_state.cpp
* @file web_client/curl_global_state.cc
* @brief CurlGlobalState constructor and destructor implementation.
*/

View File

@@ -1,5 +1,5 @@
/**
* @file web_client/curl_web_client_get.cpp
* @file web_client/curl_web_client_get.cc
* @brief CURLWebClient::Get() implementation.
*/
@@ -72,4 +72,4 @@ std::string CURLWebClient::Get(const std::string& url) {
}
return response_string;
}
}

View File

@@ -1,5 +1,5 @@
/**
* @file web_client/curl_web_client_url_encode.cpp
* @file web_client/curl_web_client_url_encode.cc
* @brief CURLWebClient::UrlEncode() implementation.
*/
@@ -21,4 +21,4 @@ std::string CURLWebClient::UrlEncode(const std::string& value) {
std::string result(output);
curl_free(output);
return result;
}
}