diff options
author | Lioncash <[email protected]> | 2019-03-14 17:34:28 -0400 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2019-03-14 19:30:54 -0300 |
commit | 47d85b81a7f3a0ec109b2af1077b93dcf473f87d (patch) | |
tree | 3d083970314d4da36501bcaec7dea3d881fe74e9 /src/sirit.cpp | |
parent | 1869de6d752a4b332c1ee8265e5f4d13de5efcc7 (diff) | |
download | sirit-47d85b81a7f3a0ec109b2af1077b93dcf473f87d.tar.gz sirit-47d85b81a7f3a0ec109b2af1077b93dcf473f87d.zip |
CMakeLists: Apply compilation flags to the sirit target
Previously this wasn't utilizing any of the compiler flags, meaning it
wasn't applying any of the specified warnings.
Since applying the warnings to the target, this uncovered a few warning
cases, such as shadowing class variables on MSVC, etc, which have been fixed.
Diffstat (limited to 'src/sirit.cpp')
-rw-r--r-- | src/sirit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sirit.cpp b/src/sirit.cpp index 390d771..dcdfe23 100644 --- a/src/sirit.cpp +++ b/src/sirit.cpp @@ -74,9 +74,9 @@ void Module::AddCapability(spv::Capability capability) { capabilities.insert(capability); } -void Module::SetMemoryModel(spv::AddressingModel addressing_model, spv::MemoryModel memory_model) { - this->addressing_model = addressing_model; - this->memory_model = memory_model; +void Module::SetMemoryModel(spv::AddressingModel addressing_model_, spv::MemoryModel memory_model_) { + this->addressing_model = addressing_model_; + this->memory_model = memory_model_; } void Module::AddEntryPoint(spv::ExecutionModel execution_model, Id entry_point, |