From 05a53a2ac405bcd18a84024247145f161809c3b0 Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Thu, 1 Apr 2021 09:56:14 -0700 Subject: Rename namespace CVC5 to cvc5. (#6258) --- src/prop/bvminisat/utils/Options.cc | 4 ++-- src/prop/bvminisat/utils/Options.h | 4 ++-- src/prop/bvminisat/utils/ParseUtils.h | 4 ++-- src/prop/bvminisat/utils/System.cc | 4 ++-- src/prop/bvminisat/utils/System.h | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/prop/bvminisat/utils') 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 #include -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 #include -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 -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 #include -static inline double CVC5::BVMinisat::cpuTime(void) +static inline double cvc5::BVMinisat::cpuTime(void) { struct rusage ru; getrusage(RUSAGE_SELF, &ru); -- cgit v1.2.3