diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-04-01 09:56:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 16:56:14 +0000 |
commit | 05a53a2ac405bcd18a84024247145f161809c3b0 (patch) | |
tree | 34241c0a82f79d717ddbfbb0c294f9a09c7edb0c /src/prop/bvminisat/utils | |
parent | afaf4413775ff7d6054a5893f1397ad908e0773c (diff) |
Rename namespace CVC5 to cvc5. (#6258)
Diffstat (limited to 'src/prop/bvminisat/utils')
-rw-r--r-- | src/prop/bvminisat/utils/Options.cc | 4 | ||||
-rw-r--r-- | src/prop/bvminisat/utils/Options.h | 4 | ||||
-rw-r--r-- | src/prop/bvminisat/utils/ParseUtils.h | 4 | ||||
-rw-r--r-- | src/prop/bvminisat/utils/System.cc | 4 | ||||
-rw-r--r-- | src/prop/bvminisat/utils/System.h | 8 |
5 files changed, 12 insertions, 12 deletions
diff --git a/src/prop/bvminisat/utils/Options.cc b/src/prop/bvminisat/utils/Options.cc index 44c642441..0b05d5cf6 100644 --- a/src/prop/bvminisat/utils/Options.cc +++ b/src/prop/bvminisat/utils/Options.cc @@ -21,7 +21,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include "prop/bvminisat/mtl/Sort.h" #include "prop/bvminisat/utils/ParseUtils.h" -namespace CVC5 { +namespace cvc5 { namespace BVMinisat { void BVMinisat::parseOptions(int& argc, char** argv, bool strict) @@ -91,4 +91,4 @@ void BVMinisat::printUsageAndExit (int argc, char** argv, bool verbose) } } // namespace BVMinisat -} // namespace CVC5 +} // namespace cvc5 diff --git a/src/prop/bvminisat/utils/Options.h b/src/prop/bvminisat/utils/Options.h index e7b6942bd..033ffb64f 100644 --- a/src/prop/bvminisat/utils/Options.h +++ b/src/prop/bvminisat/utils/Options.h @@ -29,7 +29,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include "prop/bvminisat/mtl/Vec.h" #include "prop/bvminisat/utils/ParseUtils.h" -namespace CVC5 { +namespace cvc5 { namespace BVMinisat { //================================================================================================== @@ -432,6 +432,6 @@ class BoolOption : public Option //================================================================================================= } // namespace BVMinisat -} // namespace CVC5 +} // namespace cvc5 #endif diff --git a/src/prop/bvminisat/utils/ParseUtils.h b/src/prop/bvminisat/utils/ParseUtils.h index a748651db..d69856ebb 100644 --- a/src/prop/bvminisat/utils/ParseUtils.h +++ b/src/prop/bvminisat/utils/ParseUtils.h @@ -27,7 +27,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA //#include <zlib.h> #include <unistd.h> -namespace CVC5 { +namespace cvc5 { namespace BVMinisat { //------------------------------------------------------------------------------------------------- @@ -120,6 +120,6 @@ static bool eagerMatch(B& in, const char* str) { //================================================================================================= } // namespace BVMinisat -} // namespace CVC5 +} // namespace cvc5 #endif diff --git a/src/prop/bvminisat/utils/System.cc b/src/prop/bvminisat/utils/System.cc index 9b9f99eb5..606fc5cbe 100644 --- a/src/prop/bvminisat/utils/System.cc +++ b/src/prop/bvminisat/utils/System.cc @@ -25,7 +25,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include <stdio.h> #include <stdlib.h> -namespace CVC5 { +namespace cvc5 { namespace BVMinisat { // TODO: split the memory reading functions into two: one for reading high-watermark of RSS, and @@ -95,5 +95,5 @@ double BVMinisat::memUsed() { return 0; } #endif -} /* CVC5::BVMinisat namespace */ +} /* cvc5::BVMinisat namespace */ } /* CVC4 namespace */ diff --git a/src/prop/bvminisat/utils/System.h b/src/prop/bvminisat/utils/System.h index 117fbfa3d..c805c232a 100644 --- a/src/prop/bvminisat/utils/System.h +++ b/src/prop/bvminisat/utils/System.h @@ -29,7 +29,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA //------------------------------------------------------------------------------------------------- -namespace CVC5 { +namespace cvc5 { namespace BVMinisat { static inline double cpuTime(void); // CPU-time in seconds. @@ -37,7 +37,7 @@ extern double memUsed(); // Memory in mega bytes (returns 0 for unsup extern double memUsedPeak(); // Peak-memory in mega bytes (returns 0 for unsupported architectures). } // namespace BVMinisat -} // namespace CVC5 +} // namespace cvc5 //------------------------------------------------------------------------------------------------- // Implementation of inline functions: @@ -45,7 +45,7 @@ extern double memUsedPeak(); // Peak-memory in mega bytes (returns 0 for #if defined(_MSC_VER) || defined(__MINGW32__) #include <time.h> -static inline double CVC5::BVMinisat::cpuTime(void) +static inline double cvc5::BVMinisat::cpuTime(void) { return (double)clock() / CLOCKS_PER_SEC; } @@ -55,7 +55,7 @@ static inline double CVC5::BVMinisat::cpuTime(void) #include <sys/resource.h> #include <unistd.h> -static inline double CVC5::BVMinisat::cpuTime(void) +static inline double cvc5::BVMinisat::cpuTime(void) { struct rusage ru; getrusage(RUSAGE_SELF, &ru); |