From 65f720aac2d497c6e829d9c76638073a10060e7d Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Fri, 28 Sep 2012 17:29:01 +0000 Subject: Public interface review items: * Internal uses of CheckArgument changed to AssertArgument/AlwaysAssertArgument() * Make util/Assert.h cvc4_private instead of public, so AssertionException and friends are now internal-only * CheckArgument() throws non-AssertionException * things outside the core library (parsers, driver) use regular C-style assert, or a public exception type. * auto-generated documentation for Smt options and internal options Also, a small fix to SMT-LIBv1 QF_ABV and QF_AUFBV definitions, which were nonstandard. --- src/util/Assert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/Assert.cpp') diff --git a/src/util/Assert.cpp b/src/util/Assert.cpp index 11745ad26..e299bef1d 100644 --- a/src/util/Assert.cpp +++ b/src/util/Assert.cpp @@ -27,7 +27,7 @@ using namespace std; namespace CVC4 { #ifdef CVC4_DEBUG -CVC4_THREADLOCAL_PUBLIC(const char*) s_debugLastException = NULL; +CVC4_THREADLOCAL(const char*) s_debugLastException = NULL; #endif /* CVC4_DEBUG */ void AssertionException::construct(const char* header, const char* extra, -- cgit v1.2.3