doc/libcvc4parser.3 \
doc/libcvc4compat.3
-doc/pcvc4.1:
+doc/pcvc4.1: doc/cvc4.1
rm -f doc/pcvc4.1
- $(LN_S) cvc4.1 doc/pcvc4.1
+ cp -p "$<" "$@"
# Can't put the first several in EXTRA_DIST because those are processed
# *before* recursive "make dist", and these files are generated in a
++i) {
paramsNodes.push_back(*getTypeNode(*i));
}
- return DatatypeType(makeType(d_nodeManager->mkTypeNode(kind::PARAMETRIC_DATATYPE,paramsNodes)));
+ return DatatypeType(makeType(d_nodeManager->mkTypeNode(kind::PARAMETRIC_DATATYPE, paramsNodes)));
}
DatatypeType SelectorType::getDomain() const {
for( size_t i=0; i<considerTerms.size(); i++ ){\r
Node n = considerTerms[i];\r
bool isSelected = qe->getModelEngine()->getModelBuilder()->isTermSelected( n );\r
- bool hadSuccess = false;\r
+ bool hadSuccess CVC4_UNUSED = false;\r
for( int t=(isSelected ? 0 : 1); t<2; t++ ){\r
if( t==0 || !n.getAttribute(NoMatchAttribute()) ){\r
considerTermsMatch[t][n] = InstMatch();\r
DatatypeType Datatype::getDatatypeType() const throw(IllegalArgumentException) {
CheckArgument(isResolved(), *this, "Datatype must be resolved to get its DatatypeType");
- CheckArgument(!d_self.isNull() && !DatatypeType(d_self).isParametric(), this);
+ CheckArgument(!d_self.isNull(), *this);
return DatatypeType(d_self);
}
Type DatatypeConstructor::getSpecializedConstructorType(Type returnType) const {
CheckArgument(isResolved(), this, "this datatype constructor is not yet resolved");
const Datatype& dt = Datatype::datatypeOf(d_constructor);
- CheckArgument(dt.isParametric(), this, "this datatype constructor is not yet resolved");
+ CheckArgument(dt.isParametric(), this, "this datatype constructor is not parametric");
DatatypeType dtt = dt.getDatatypeType();
Matcher m(dtt);
m.doMatching( TypeNode::fromType(dtt), TypeNode::fromType(returnType) );