From 539c127d6c35e07c995d30c55aa600d248ec12e6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 18:06:36 +0100 Subject: Rename Source class to source --- src/ctor.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/ctor.h') diff --git a/src/ctor.h b/src/ctor.h index dba2f3a..549efb4 100644 --- a/src/ctor.h +++ b/src/ctor.h @@ -41,17 +41,17 @@ enum class output_system build, // Internal tool during cross-compilation }; -struct Source +struct source { - Source(const char* file) : file(file) {} - Source(const std::string& file) : file(file) {} - Source(const char* file, ctor::language lang) : file(file), language(lang) {} - Source(const std::string& file, ctor::language lang) : file(file), language(lang) {} + source(const char* file) : file(file) {} + source(const std::string& file) : file(file) {} + source(const char* file, ctor::language lang) : file(file), language(lang) {} + source(const std::string& file, ctor::language lang) : file(file), language(lang) {} - Source(const char* file, const char* output) : file(file), output(output) {} - Source(const std::string& file, const std::string& output) : file(file), output(output) {} - Source(const char* file, ctor::language lang, const char* output) : file(file), language(lang), output(output) {} - Source(const std::string& file, ctor::language lang, const std::string& output) : file(file), language(lang), output(output) {} + source(const char* file, const char* output) : file(file), output(output) {} + source(const std::string& file, const std::string& output) : file(file), output(output) {} + source(const char* file, ctor::language lang, const char* output) : file(file), language(lang), output(output) {} + source(const std::string& file, ctor::language lang, const std::string& output) : file(file), language(lang), output(output) {} std::string file; ctor::language language{ctor::language::automatic}; @@ -85,7 +85,7 @@ struct BuildConfiguration ctor::target_type type{ctor::target_type::automatic}; ctor::output_system system{ctor::output_system::host}; std::string target; // Output target file for this configuration - std::vector sources; // source list + std::vector sources; // source list std::vector depends; // internal target dependencies Flags flags; std::vector externals; // externals used by this configuration -- cgit v1.2.3