diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 17:55:39 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 17:55:39 +0100 |
commit | 10dc0902c22ae931fe51c36ea8fc6d2453819477 (patch) | |
tree | 0b66071313e48e61ad02e58010e3f3dfda8e4b34 /src/task.cc | |
parent | 75d1fa7244b9c5cddae056a281f457dd1e81cfb2 (diff) |
Rename Language::Xyz to language::xyz
Diffstat (limited to 'src/task.cc')
-rw-r--r-- | src/task.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/task.cc b/src/task.cc index fa843c7..eba365f 100644 --- a/src/task.cc +++ b/src/task.cc @@ -119,7 +119,7 @@ ctor::target_type Task::targetType() const return target_type; } -Language Task::sourceLanguage() const +ctor::language Task::sourceLanguage() const { return source_language; } @@ -133,7 +133,7 @@ std::string Task::compiler() const { switch(sourceLanguage()) { - case Language::C: + case ctor::language::c: switch(outputSystem()) { case OutputSystem::Host: @@ -141,7 +141,7 @@ std::string Task::compiler() const case OutputSystem::Build: return getConfiguration(cfg::build_cc, "/usr/bin/gcc"); } - case Language::Cpp: + case ctor::language::cpp: switch(outputSystem()) { case OutputSystem::Host: |