casadi 3.7.2__cp314-none-manylinux2014_i686.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- casadi/__init__.py +92 -0
- casadi/_casadi.so +0 -0
- casadi/casadi-cli +0 -0
- casadi/casadi.py +54468 -0
- casadi/cbc +0 -0
- casadi/clp +0 -0
- casadi/cmake/alpaqa/alpaqaConfig.cmake +24 -0
- casadi/cmake/alpaqa/alpaqaConfigVersion.cmake +65 -0
- casadi/cmake/alpaqa/alpaqaTargets-release.cmake +29 -0
- casadi/cmake/alpaqa/alpaqaTargets.cmake +131 -0
- casadi/cmake/casadi-config-version.cmake +11 -0
- casadi/cmake/casadi-config.cmake +8 -0
- casadi/cmake/casadi-targets-release.cmake +19 -0
- casadi/cmake/casadi-targets.cmake +107 -0
- casadi/cmake/ghc_filesystem/ghc_filesystem-config-version.cmake +85 -0
- casadi/cmake/ghc_filesystem/ghc_filesystem-config.cmake +30 -0
- casadi/cmake/ghc_filesystem/ghc_filesystem-targets.cmake +107 -0
- casadi/cmake/highs/highs-config.cmake +17 -0
- casadi/cmake/highs/highs-targets-release.cmake +28 -0
- casadi/cmake/highs/highs-targets.cmake +117 -0
- casadi/cmake/libzip/libzip-config-version.cmake +43 -0
- casadi/cmake/libzip/libzip-config.cmake +69 -0
- casadi/cmake/libzip/libzip-targets-release.cmake +19 -0
- casadi/cmake/libzip/libzip-targets.cmake +107 -0
- casadi/cmake/libzip/modules/FindMbedTLS.cmake +141 -0
- casadi/cmake/libzip/modules/FindNettle.cmake +141 -0
- casadi/cmake/libzip/modules/Findzstd.cmake +186 -0
- casadi/cmake/osqp/osqp-config.cmake +1 -0
- casadi/cmake/osqp/osqp-targets-noconfig.cmake +29 -0
- casadi/cmake/osqp/osqp-targets.cmake +113 -0
- casadi/cmake/proxsuite/find-external/Simde/FindSimde.cmake +39 -0
- casadi/cmake/proxsuite/proxsuiteConfig.cmake +177 -0
- casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +65 -0
- casadi/cmake/proxsuite/proxsuiteTargets.cmake +115 -0
- casadi/cmake/qdldl/qdldl-config.cmake +1 -0
- casadi/cmake/qdldl/qdldl-targets-noconfig.cmake +29 -0
- casadi/cmake/qdldl/qdldl-targets.cmake +113 -0
- casadi/cmake/sleqp/sleqp-config-version.cmake +65 -0
- casadi/cmake/sleqp/sleqp-config.cmake +1 -0
- casadi/cmake/sleqp/sleqp-targets-release.cmake +20 -0
- casadi/cmake/sleqp/sleqp-targets.cmake +106 -0
- casadi/cmake/trlib/trlib-config-release.cmake +19 -0
- casadi/cmake/trlib/trlib-config-version.cmake +83 -0
- casadi/cmake/trlib/trlib-config.cmake +107 -0
- casadi/highs +0 -0
- casadi/include/casadi/casadi.hpp +31 -0
- casadi/include/casadi/casadi.i +4920 -0
- casadi/include/casadi/casadi_c.h +138 -0
- casadi/include/casadi/casadi_numpy.hpp +97 -0
- casadi/include/casadi/config.h +46 -0
- casadi/include/casadi/core/archiver.hpp +58 -0
- casadi/include/casadi/core/blazing_spline.hpp +47 -0
- casadi/include/casadi/core/calculus.hpp +1805 -0
- casadi/include/casadi/core/callback.hpp +235 -0
- casadi/include/casadi/core/casadi_common.hpp +355 -0
- casadi/include/casadi/core/casadi_enum.hpp +90 -0
- casadi/include/casadi/core/casadi_export.h +43 -0
- casadi/include/casadi/core/casadi_interrupt.hpp +83 -0
- casadi/include/casadi/core/casadi_limits.hpp +104 -0
- casadi/include/casadi/core/casadi_logger.hpp +134 -0
- casadi/include/casadi/core/casadi_meta.hpp +122 -0
- casadi/include/casadi/core/casadi_misc.hpp +1022 -0
- casadi/include/casadi/core/casadi_types.hpp +66 -0
- casadi/include/casadi/core/code_generator.hpp +1071 -0
- casadi/include/casadi/core/conic.hpp +213 -0
- casadi/include/casadi/core/core.hpp +75 -0
- casadi/include/casadi/core/dae_builder.hpp +885 -0
- casadi/include/casadi/core/dm.hpp +90 -0
- casadi/include/casadi/core/dm_fwd.hpp +39 -0
- casadi/include/casadi/core/dple.hpp +138 -0
- casadi/include/casadi/core/exception.hpp +167 -0
- casadi/include/casadi/core/expm.hpp +84 -0
- casadi/include/casadi/core/external.hpp +70 -0
- casadi/include/casadi/core/filesystem.hpp +58 -0
- casadi/include/casadi/core/fmu.hpp +270 -0
- casadi/include/casadi/core/function.hpp +1389 -0
- casadi/include/casadi/core/generic_expression.hpp +760 -0
- casadi/include/casadi/core/generic_matrix.hpp +1805 -0
- casadi/include/casadi/core/generic_shared.hpp +395 -0
- casadi/include/casadi/core/generic_shared_impl.hpp +218 -0
- casadi/include/casadi/core/generic_shared_internal.hpp +215 -0
- casadi/include/casadi/core/generic_type.hpp +314 -0
- casadi/include/casadi/core/global_options.hpp +107 -0
- casadi/include/casadi/core/im.hpp +52 -0
- casadi/include/casadi/core/im_fwd.hpp +35 -0
- casadi/include/casadi/core/importer.hpp +221 -0
- casadi/include/casadi/core/integration_tools.hpp +292 -0
- casadi/include/casadi/core/integrator.hpp +290 -0
- casadi/include/casadi/core/interpolant.hpp +163 -0
- casadi/include/casadi/core/linsol.hpp +171 -0
- casadi/include/casadi/core/matrix_decl.hpp +1423 -0
- casadi/include/casadi/core/matrix_fwd.hpp +37 -0
- casadi/include/casadi/core/mx.hpp +1014 -0
- casadi/include/casadi/core/nlp_builder.hpp +163 -0
- casadi/include/casadi/core/nlp_tools.hpp +124 -0
- casadi/include/casadi/core/nlpsol.hpp +234 -0
- casadi/include/casadi/core/nonzeros.hpp +111 -0
- casadi/include/casadi/core/options.hpp +122 -0
- casadi/include/casadi/core/optistack.hpp +704 -0
- casadi/include/casadi/core/polynomial.hpp +126 -0
- casadi/include/casadi/core/printable.hpp +81 -0
- casadi/include/casadi/core/resource.hpp +107 -0
- casadi/include/casadi/core/rootfinder.hpp +176 -0
- casadi/include/casadi/core/runtime/casadi_axpy.hpp +8 -0
- casadi/include/casadi/core/runtime/casadi_bfgs.hpp +49 -0
- casadi/include/casadi/core/runtime/casadi_bilin.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_blazing_1d_boor_eval.hpp +112 -0
- casadi/include/casadi/core/runtime/casadi_blazing_2d_boor_eval.hpp +311 -0
- casadi/include/casadi/core/runtime/casadi_blazing_3d_boor_eval.hpp +645 -0
- casadi/include/casadi/core/runtime/casadi_blazing_de_boor.hpp +101 -0
- casadi/include/casadi/core/runtime/casadi_bound_consistency.hpp +51 -0
- casadi/include/casadi/core/runtime/casadi_cache.hpp +59 -0
- casadi/include/casadi/core/runtime/casadi_clear.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_clip_max.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_clip_min.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_convexify.hpp +182 -0
- casadi/include/casadi/core/runtime/casadi_copy.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_cvx.hpp +463 -0
- casadi/include/casadi/core/runtime/casadi_de_boor.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_dense_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_densify.hpp +48 -0
- casadi/include/casadi/core/runtime/casadi_dot.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_feasiblesqpmethod.hpp +208 -0
- casadi/include/casadi/core/runtime/casadi_file_slurp.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_fill.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +345 -0
- casadi/include/casadi/core/runtime/casadi_flip.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_getu.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_iamax.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_interpn.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_interpn_grad.hpp +72 -0
- casadi/include/casadi/core/runtime/casadi_interpn_interpolate.hpp +43 -0
- casadi/include/casadi/core/runtime/casadi_interpn_weights.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_ipqp.hpp +868 -0
- casadi/include/casadi/core/runtime/casadi_jac.hpp +186 -0
- casadi/include/casadi/core/runtime/casadi_kkt.hpp +67 -0
- casadi/include/casadi/core/runtime/casadi_kron.hpp +50 -0
- casadi/include/casadi/core/runtime/casadi_ldl.hpp +109 -0
- casadi/include/casadi/core/runtime/casadi_logsumexp.hpp +41 -0
- casadi/include/casadi/core/runtime/casadi_low.hpp +65 -0
- casadi/include/casadi/core/runtime/casadi_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_masked_norm_inf.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_max_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_mmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_mmin.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_mtimes.hpp +75 -0
- casadi/include/casadi/core/runtime/casadi_mv.hpp +46 -0
- casadi/include/casadi/core/runtime/casadi_mv_dense.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_dual_eval.hpp +127 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_eval.hpp +120 -0
- casadi/include/casadi/core/runtime/casadi_newton.hpp +66 -0
- casadi/include/casadi/core/runtime/casadi_nlp.hpp +295 -0
- casadi/include/casadi/core/runtime/casadi_norm_1.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_norm_2.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf_mul.hpp +105 -0
- casadi/include/casadi/core/runtime/casadi_ocp_block.hpp +55 -0
- casadi/include/casadi/core/runtime/casadi_oracle.hpp +44 -0
- casadi/include/casadi/core/runtime/casadi_oracle_callback.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_polyval.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_print_canonical.hpp +55 -0
- casadi/include/casadi/core/runtime/casadi_print_scalar.hpp +25 -0
- casadi/include/casadi/core/runtime/casadi_print_vector.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_printme.hpp +26 -0
- casadi/include/casadi/core/runtime/casadi_project.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_qp.hpp +86 -0
- casadi/include/casadi/core/runtime/casadi_qr.hpp +272 -0
- casadi/include/casadi/core/runtime/casadi_qrqp.hpp +1239 -0
- casadi/include/casadi/core/runtime/casadi_rank1.hpp +40 -0
- casadi/include/casadi/core/runtime/casadi_regularize.hpp +73 -0
- casadi/include/casadi/core/runtime/casadi_runtime.hpp +318 -0
- casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
- casadi/include/casadi/core/runtime/casadi_scaled_copy.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_sparsify.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_sparsity.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +178 -0
- casadi/include/casadi/core/runtime/casadi_sum.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_sum_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_swap.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_trans.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_tri_project.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_trilsolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_triusolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmin.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmin.hpp +28 -0
- casadi/include/casadi/core/runtime/shared.hpp +261 -0
- casadi/include/casadi/core/serializer.hpp +264 -0
- casadi/include/casadi/core/serializing_stream.hpp +336 -0
- casadi/include/casadi/core/shared_object.hpp +182 -0
- casadi/include/casadi/core/slice.hpp +149 -0
- casadi/include/casadi/core/sparsity.hpp +1507 -0
- casadi/include/casadi/core/sparsity_interface.hpp +763 -0
- casadi/include/casadi/core/submatrix.hpp +156 -0
- casadi/include/casadi/core/sx.hpp +244 -0
- casadi/include/casadi/core/sx_elem.hpp +376 -0
- casadi/include/casadi/core/sx_fwd.hpp +45 -0
- casadi/include/casadi/core/timing.hpp +98 -0
- casadi/include/casadi/core/tools.hpp +67 -0
- casadi/include/casadi/core/xml_file.hpp +93 -0
- casadi/include/casadi/core/xml_node.hpp +212 -0
- casadi/include/casadi/doc.i +62244 -0
- casadi/include/casadi/doc_merged.i +38499 -0
- casadi/include/casadi/mem.h +311 -0
- casadi/include/casadi/valgrind-casadi.supp +649 -0
- casadi/include/casadi/valgrind-python.supp +3886 -0
- casadi/include/coin-or/IpAlgBuilder.hpp +417 -0
- casadi/include/coin-or/IpAlgStrategy.hpp +201 -0
- casadi/include/coin-or/IpAlgTypes.hpp +64 -0
- casadi/include/coin-or/IpAugSystemSolver.hpp +212 -0
- casadi/include/coin-or/IpBlas.hpp +426 -0
- casadi/include/coin-or/IpCachedResults.hpp +897 -0
- casadi/include/coin-or/IpCompoundMatrix.hpp +423 -0
- casadi/include/coin-or/IpCompoundSymMatrix.hpp +348 -0
- casadi/include/coin-or/IpCompoundVector.hpp +395 -0
- casadi/include/coin-or/IpConvCheck.hpp +97 -0
- casadi/include/coin-or/IpDebug.hpp +167 -0
- casadi/include/coin-or/IpDenseVector.hpp +626 -0
- casadi/include/coin-or/IpDiagMatrix.hpp +158 -0
- casadi/include/coin-or/IpEqMultCalculator.hpp +76 -0
- casadi/include/coin-or/IpException.hpp +156 -0
- casadi/include/coin-or/IpExpansionMatrix.hpp +245 -0
- casadi/include/coin-or/IpGenTMatrix.hpp +290 -0
- casadi/include/coin-or/IpHessianUpdater.hpp +73 -0
- casadi/include/coin-or/IpIdentityMatrix.hpp +167 -0
- casadi/include/coin-or/IpIpoptAlg.hpp +257 -0
- casadi/include/coin-or/IpIpoptApplication.hpp +367 -0
- casadi/include/coin-or/IpIpoptCalculatedQuantities.hpp +1009 -0
- casadi/include/coin-or/IpIpoptData.hpp +966 -0
- casadi/include/coin-or/IpIpoptNLP.hpp +328 -0
- casadi/include/coin-or/IpIterateInitializer.hpp +68 -0
- casadi/include/coin-or/IpIteratesVector.hpp +840 -0
- casadi/include/coin-or/IpIterationOutput.hpp +78 -0
- casadi/include/coin-or/IpJournalist.hpp +573 -0
- casadi/include/coin-or/IpLapack.hpp +227 -0
- casadi/include/coin-or/IpLibraryLoader.hpp +76 -0
- casadi/include/coin-or/IpLineSearch.hpp +106 -0
- casadi/include/coin-or/IpLinearSolvers.h +46 -0
- casadi/include/coin-or/IpMatrix.hpp +434 -0
- casadi/include/coin-or/IpMuUpdate.hpp +77 -0
- casadi/include/coin-or/IpNLP.hpp +306 -0
- casadi/include/coin-or/IpNLPScaling.hpp +582 -0
- casadi/include/coin-or/IpObserver.hpp +422 -0
- casadi/include/coin-or/IpOptionsList.hpp +412 -0
- casadi/include/coin-or/IpOrigIpoptNLP.hpp +603 -0
- casadi/include/coin-or/IpPDSystemSolver.hpp +137 -0
- casadi/include/coin-or/IpReferenced.hpp +262 -0
- casadi/include/coin-or/IpRegOptions.hpp +1152 -0
- casadi/include/coin-or/IpReturnCodes.h +23 -0
- casadi/include/coin-or/IpReturnCodes.hpp +18 -0
- casadi/include/coin-or/IpReturnCodes.inc +71 -0
- casadi/include/coin-or/IpReturnCodes_inc.h +45 -0
- casadi/include/coin-or/IpScaledMatrix.hpp +291 -0
- casadi/include/coin-or/IpSearchDirCalculator.hpp +72 -0
- casadi/include/coin-or/IpSmartPtr.hpp +865 -0
- casadi/include/coin-or/IpSolveStatistics.hpp +210 -0
- casadi/include/coin-or/IpSparseSymLinearSolverInterface.hpp +260 -0
- casadi/include/coin-or/IpStdAugSystemSolver.cpp +555 -0
- casadi/include/coin-or/IpStdCInterface.h +428 -0
- casadi/include/coin-or/IpSumSymMatrix.hpp +186 -0
- casadi/include/coin-or/IpSymLinearSolver.hpp +141 -0
- casadi/include/coin-or/IpSymMatrix.hpp +167 -0
- casadi/include/coin-or/IpSymScaledMatrix.hpp +255 -0
- casadi/include/coin-or/IpSymTMatrix.hpp +275 -0
- casadi/include/coin-or/IpTNLP.hpp +820 -0
- casadi/include/coin-or/IpTNLPAdapter.hpp +648 -0
- casadi/include/coin-or/IpTNLPReducer.hpp +274 -0
- casadi/include/coin-or/IpTaggedObject.hpp +128 -0
- casadi/include/coin-or/IpTimedTask.hpp +218 -0
- casadi/include/coin-or/IpTimingStatistics.hpp +323 -0
- casadi/include/coin-or/IpTripletHelper.hpp +308 -0
- casadi/include/coin-or/IpTypes.h +81 -0
- casadi/include/coin-or/IpTypes.hpp +30 -0
- casadi/include/coin-or/IpUtils.hpp +166 -0
- casadi/include/coin-or/IpVector.hpp +892 -0
- casadi/include/coin-or/IpZeroSymMatrix.hpp +155 -0
- casadi/include/coin-or/IpoptConfig.h +45 -0
- casadi/include/coin-or/SensAlgorithm.hpp +114 -0
- casadi/include/coin-or/SensApplication.hpp +188 -0
- casadi/include/coin-or/SensBacksolver.hpp +36 -0
- casadi/include/coin-or/SensMeasurement.hpp +56 -0
- casadi/include/coin-or/SensPCalculator.hpp +137 -0
- casadi/include/coin-or/SensRegOp.hpp +21 -0
- casadi/include/coin-or/SensSchurData.hpp +182 -0
- casadi/include/coin-or/SensSchurDriver.hpp +118 -0
- casadi/include/coin-or/SensSimpleBacksolver.hpp +49 -0
- casadi/include/coin-or/SensStepCalc.hpp +85 -0
- casadi/include/coin-or/SensUtils.hpp +63 -0
- casadi/include/coin-or/metis/defs.h +161 -0
- casadi/include/coin-or/metis/macros.h +143 -0
- casadi/include/coin-or/metis/metis.h +37 -0
- casadi/include/coin-or/metis/proto.h +505 -0
- casadi/include/coin-or/metis/rename.h +418 -0
- casadi/include/coin-or/metis/struct.h +251 -0
- casadi/include/coin-or/mumps/dmumps_c.h +142 -0
- casadi/include/coin-or/mumps/mumps_c_types.h +72 -0
- casadi/include/coin-or/mumps/mumps_compat.h +27 -0
- casadi/include/coin-or/mumps/mumps_int_def.h +11 -0
- casadi/include/coin-or/mumps/mumps_mpi.h +67 -0
- casadi/include/daqp/api.h +46 -0
- casadi/include/daqp/auxiliary.h +29 -0
- casadi/include/daqp/bnb.h +32 -0
- casadi/include/daqp/codegen.h +18 -0
- casadi/include/daqp/constants.h +92 -0
- casadi/include/daqp/daqp.h +22 -0
- casadi/include/daqp/daqp_prox.h +18 -0
- casadi/include/daqp/factorization.h +18 -0
- casadi/include/daqp/types.h +161 -0
- casadi/include/daqp/utils.h +44 -0
- casadi/include/eigen3/Eigen/Cholesky +45 -0
- casadi/include/eigen3/Eigen/CholmodSupport +48 -0
- casadi/include/eigen3/Eigen/Core +384 -0
- casadi/include/eigen3/Eigen/Dense +7 -0
- casadi/include/eigen3/Eigen/Eigen +2 -0
- casadi/include/eigen3/Eigen/Eigenvalues +60 -0
- casadi/include/eigen3/Eigen/Geometry +59 -0
- casadi/include/eigen3/Eigen/Householder +29 -0
- casadi/include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- casadi/include/eigen3/Eigen/Jacobi +32 -0
- casadi/include/eigen3/Eigen/KLUSupport +41 -0
- casadi/include/eigen3/Eigen/LU +47 -0
- casadi/include/eigen3/Eigen/MetisSupport +35 -0
- casadi/include/eigen3/Eigen/OrderingMethods +70 -0
- casadi/include/eigen3/Eigen/PaStiXSupport +49 -0
- casadi/include/eigen3/Eigen/PardisoSupport +35 -0
- casadi/include/eigen3/Eigen/QR +50 -0
- casadi/include/eigen3/Eigen/QtAlignedMalloc +39 -0
- casadi/include/eigen3/Eigen/SPQRSupport +34 -0
- casadi/include/eigen3/Eigen/SVD +50 -0
- casadi/include/eigen3/Eigen/Sparse +34 -0
- casadi/include/eigen3/Eigen/SparseCholesky +37 -0
- casadi/include/eigen3/Eigen/SparseCore +69 -0
- casadi/include/eigen3/Eigen/SparseLU +50 -0
- casadi/include/eigen3/Eigen/SparseQR +36 -0
- casadi/include/eigen3/Eigen/StdDeque +27 -0
- casadi/include/eigen3/Eigen/StdList +26 -0
- casadi/include/eigen3/Eigen/StdVector +27 -0
- casadi/include/eigen3/Eigen/SuperLUSupport +64 -0
- casadi/include/eigen3/Eigen/UmfPackSupport +40 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- casadi/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- casadi/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- casadi/include/eigen3/Eigen/src/Core/Array.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- casadi/include/eigen3/Eigen/src/Core/Assign.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- casadi/include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- casadi/include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- casadi/include/eigen3/Eigen/src/Core/Block.h +448 -0
- casadi/include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- casadi/include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- casadi/include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- casadi/include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- casadi/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- casadi/include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- casadi/include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- casadi/include/eigen3/Eigen/src/Core/Dot.h +318 -0
- casadi/include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- casadi/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- casadi/include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- casadi/include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- casadi/include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- casadi/include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- casadi/include/eigen3/Eigen/src/Core/IO.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- casadi/include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/Map.h +171 -0
- casadi/include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- casadi/include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- casadi/include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- casadi/include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- casadi/include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- casadi/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- casadi/include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- casadi/include/eigen3/Eigen/src/Core/Product.h +191 -0
- casadi/include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- casadi/include/eigen3/Eigen/src/Core/Random.h +218 -0
- casadi/include/eigen3/Eigen/src/Core/Redux.h +515 -0
- casadi/include/eigen3/Eigen/src/Core/Ref.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- casadi/include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- casadi/include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- casadi/include/eigen3/Eigen/src/Core/Select.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- casadi/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- casadi/include/eigen3/Eigen/src/Core/Solve.h +188 -0
- casadi/include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- casadi/include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- casadi/include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- casadi/include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- casadi/include/eigen3/Eigen/src/Core/Stride.h +116 -0
- casadi/include/eigen3/Eigen/src/Core/Swap.h +68 -0
- casadi/include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- casadi/include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- casadi/include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- casadi/include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- casadi/include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- casadi/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- casadi/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- casadi/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- casadi/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- casadi/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- casadi/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- casadi/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- casadi/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- casadi/include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- casadi/include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- casadi/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- casadi/include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- casadi/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- casadi/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- casadi/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- casadi/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- casadi/include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- casadi/include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- casadi/include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- casadi/include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- casadi/include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- casadi/include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- casadi/include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- casadi/include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- casadi/include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- casadi/include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- casadi/include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- casadi/include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- casadi/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- casadi/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- casadi/include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- casadi/include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- casadi/include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- casadi/include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- casadi/include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- casadi/include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- casadi/include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- casadi/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- casadi/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- casadi/include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- casadi/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- casadi/include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- casadi/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- casadi/include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- casadi/include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- casadi/include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- casadi/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- casadi/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- casadi/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- casadi/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- casadi/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- casadi/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- casadi/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- casadi/include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- casadi/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- casadi/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- casadi/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- casadi/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- casadi/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- casadi/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- casadi/include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- casadi/include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- casadi/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- casadi/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- casadi/include/eigen3/Eigen/src/misc/Image.h +82 -0
- casadi/include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- casadi/include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- casadi/include/eigen3/Eigen/src/misc/blas.h +440 -0
- casadi/include/eigen3/Eigen/src/misc/lapack.h +152 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- casadi/include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- casadi/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- casadi/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- casadi/include/eigen3/signature_of_eigen3_matrix_library +1 -0
- casadi/include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- casadi/include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- casadi/include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- casadi/include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- casadi/include/eigen3/unsupported/Eigen/BVH +95 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- casadi/include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- casadi/include/eigen3/unsupported/Eigen/FFT +419 -0
- casadi/include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- casadi/include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- casadi/include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- casadi/include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- casadi/include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- casadi/include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- casadi/include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- casadi/include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- casadi/include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- casadi/include/eigen3/unsupported/Eigen/Polynomials +137 -0
- casadi/include/eigen3/unsupported/Eigen/Skyline +39 -0
- casadi/include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- casadi/include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- casadi/include/eigen3/unsupported/Eigen/Splines +35 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- casadi/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- casadi/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- casadi/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- casadi/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- casadi/include/highs/HConfig.h +23 -0
- casadi/include/highs/Highs.h +1703 -0
- casadi/include/highs/filereaderlp/builder.hpp +25 -0
- casadi/include/highs/filereaderlp/def.hpp +19 -0
- casadi/include/highs/filereaderlp/model.hpp +68 -0
- casadi/include/highs/filereaderlp/reader.hpp +10 -0
- casadi/include/highs/interfaces/highs_c_api.h +2456 -0
- casadi/include/highs/io/Filereader.h +45 -0
- casadi/include/highs/io/FilereaderEms.h +30 -0
- casadi/include/highs/io/FilereaderLp.h +51 -0
- casadi/include/highs/io/FilereaderMps.h +27 -0
- casadi/include/highs/io/HMPSIO.h +78 -0
- casadi/include/highs/io/HMpsFF.h +238 -0
- casadi/include/highs/io/HighsIO.h +114 -0
- casadi/include/highs/io/LoadOptions.h +24 -0
- casadi/include/highs/ipm/IpxSolution.h +32 -0
- casadi/include/highs/ipm/IpxWrapper.h +70 -0
- casadi/include/highs/ipm/basiclu/basiclu.h +161 -0
- casadi/include/highs/ipm/basiclu/basiclu_factorize.h +247 -0
- casadi/include/highs/ipm/basiclu/basiclu_get_factors.h +108 -0
- casadi/include/highs/ipm/basiclu/basiclu_initialize.h +119 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_factorize.h +34 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_free.h +19 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_get_factors.h +34 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_initialize.h +46 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_dense.h +29 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_for_update.h +42 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_sparse.h +32 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_update.h +31 -0
- casadi/include/highs/ipm/basiclu/basiclu_object.h +30 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_dense.h +75 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_for_update.h +169 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_sparse.h +112 -0
- casadi/include/highs/ipm/basiclu/basiclu_update.h +125 -0
- casadi/include/highs/ipm/basiclu/lu_def.h +39 -0
- casadi/include/highs/ipm/basiclu/lu_file.h +21 -0
- casadi/include/highs/ipm/basiclu/lu_internal.h +220 -0
- casadi/include/highs/ipm/basiclu/lu_list.h +168 -0
- casadi/include/highs/ipm/ipx/basiclu_kernel.h +20 -0
- casadi/include/highs/ipm/ipx/basiclu_wrapper.h +47 -0
- casadi/include/highs/ipm/ipx/basis.h +351 -0
- casadi/include/highs/ipm/ipx/conjugate_residuals.h +74 -0
- casadi/include/highs/ipm/ipx/control.h +164 -0
- casadi/include/highs/ipm/ipx/crossover.h +157 -0
- casadi/include/highs/ipm/ipx/diagonal_precond.h +45 -0
- casadi/include/highs/ipm/ipx/forrest_tomlin.h +102 -0
- casadi/include/highs/ipm/ipx/guess_basis.h +21 -0
- casadi/include/highs/ipm/ipx/indexed_vector.h +113 -0
- casadi/include/highs/ipm/ipx/info.h +27 -0
- casadi/include/highs/ipm/ipx/ipm.h +94 -0
- casadi/include/highs/ipm/ipx/ipx_c.h +47 -0
- casadi/include/highs/ipm/ipx/ipx_config.h +9 -0
- casadi/include/highs/ipm/ipx/ipx_info.h +111 -0
- casadi/include/highs/ipm/ipx/ipx_internal.h +88 -0
- casadi/include/highs/ipm/ipx/ipx_parameters.h +76 -0
- casadi/include/highs/ipm/ipx/ipx_status.h +57 -0
- casadi/include/highs/ipm/ipx/iterate.h +328 -0
- casadi/include/highs/ipm/ipx/kkt_solver.h +70 -0
- casadi/include/highs/ipm/ipx/kkt_solver_basis.h +66 -0
- casadi/include/highs/ipm/ipx/kkt_solver_diag.h +48 -0
- casadi/include/highs/ipm/ipx/linear_operator.h +26 -0
- casadi/include/highs/ipm/ipx/lp_solver.h +202 -0
- casadi/include/highs/ipm/ipx/lu_factorization.h +79 -0
- casadi/include/highs/ipm/ipx/lu_update.h +129 -0
- casadi/include/highs/ipm/ipx/maxvolume.h +54 -0
- casadi/include/highs/ipm/ipx/model.h +413 -0
- casadi/include/highs/ipm/ipx/multistream.h +52 -0
- casadi/include/highs/ipm/ipx/normal_matrix.h +44 -0
- casadi/include/highs/ipm/ipx/power_method.h +44 -0
- casadi/include/highs/ipm/ipx/sparse_matrix.h +195 -0
- casadi/include/highs/ipm/ipx/sparse_utils.h +58 -0
- casadi/include/highs/ipm/ipx/splitted_normal_matrix.h +63 -0
- casadi/include/highs/ipm/ipx/starting_basis.h +39 -0
- casadi/include/highs/ipm/ipx/symbolic_invert.h +29 -0
- casadi/include/highs/ipm/ipx/timer.h +24 -0
- casadi/include/highs/ipm/ipx/utils.h +39 -0
- casadi/include/highs/lp_data/HConst.h +320 -0
- casadi/include/highs/lp_data/HStruct.h +182 -0
- casadi/include/highs/lp_data/HighsAnalysis.h +23 -0
- casadi/include/highs/lp_data/HighsCallback.h +47 -0
- casadi/include/highs/lp_data/HighsCallbackStruct.h +62 -0
- casadi/include/highs/lp_data/HighsDebug.h +34 -0
- casadi/include/highs/lp_data/HighsIis.h +62 -0
- casadi/include/highs/lp_data/HighsInfo.h +329 -0
- casadi/include/highs/lp_data/HighsInfoDebug.h +27 -0
- casadi/include/highs/lp_data/HighsLp.h +100 -0
- casadi/include/highs/lp_data/HighsLpSolverObject.h +45 -0
- casadi/include/highs/lp_data/HighsLpUtils.h +298 -0
- casadi/include/highs/lp_data/HighsModelUtils.h +112 -0
- casadi/include/highs/lp_data/HighsOptions.h +1469 -0
- casadi/include/highs/lp_data/HighsRanging.h +43 -0
- casadi/include/highs/lp_data/HighsSolution.h +144 -0
- casadi/include/highs/lp_data/HighsSolutionDebug.h +87 -0
- casadi/include/highs/lp_data/HighsSolve.h +23 -0
- casadi/include/highs/lp_data/HighsStatus.h +29 -0
- casadi/include/highs/mip/HighsCliqueTable.h +318 -0
- casadi/include/highs/mip/HighsConflictPool.h +109 -0
- casadi/include/highs/mip/HighsCutGeneration.h +106 -0
- casadi/include/highs/mip/HighsCutPool.h +168 -0
- casadi/include/highs/mip/HighsDebugSol.h +132 -0
- casadi/include/highs/mip/HighsDomain.h +653 -0
- casadi/include/highs/mip/HighsDomainChange.h +48 -0
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +104 -0
- casadi/include/highs/mip/HighsGFkSolve.h +438 -0
- casadi/include/highs/mip/HighsImplications.h +170 -0
- casadi/include/highs/mip/HighsLpAggregator.h +50 -0
- casadi/include/highs/mip/HighsLpRelaxation.h +357 -0
- casadi/include/highs/mip/HighsMipAnalysis.h +52 -0
- casadi/include/highs/mip/HighsMipSolver.h +112 -0
- casadi/include/highs/mip/HighsMipSolverData.h +297 -0
- casadi/include/highs/mip/HighsModkSeparator.h +60 -0
- casadi/include/highs/mip/HighsNodeQueue.h +311 -0
- casadi/include/highs/mip/HighsObjectiveFunction.h +71 -0
- casadi/include/highs/mip/HighsPathSeparator.h +39 -0
- casadi/include/highs/mip/HighsPrimalHeuristics.h +70 -0
- casadi/include/highs/mip/HighsPseudocost.h +360 -0
- casadi/include/highs/mip/HighsRedcostFixing.h +42 -0
- casadi/include/highs/mip/HighsSearch.h +241 -0
- casadi/include/highs/mip/HighsSeparation.h +41 -0
- casadi/include/highs/mip/HighsSeparator.h +52 -0
- casadi/include/highs/mip/HighsTableauSeparator.h +34 -0
- casadi/include/highs/mip/HighsTransformedLp.h +63 -0
- casadi/include/highs/mip/MipTimer.h +471 -0
- casadi/include/highs/model/HighsHessian.h +54 -0
- casadi/include/highs/model/HighsHessianUtils.h +49 -0
- casadi/include/highs/model/HighsModel.h +52 -0
- casadi/include/highs/parallel/HighsBinarySemaphore.h +113 -0
- casadi/include/highs/parallel/HighsCacheAlign.h +87 -0
- casadi/include/highs/parallel/HighsCombinable.h +121 -0
- casadi/include/highs/parallel/HighsMutex.h +129 -0
- casadi/include/highs/parallel/HighsParallel.h +133 -0
- casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
- casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
- casadi/include/highs/parallel/HighsSpinMutex.h +53 -0
- casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
- casadi/include/highs/parallel/HighsTask.h +175 -0
- casadi/include/highs/parallel/HighsTaskExecutor.h +222 -0
- casadi/include/highs/pdlp/CupdlpWrapper.h +104 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +40 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +433 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +189 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +19 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +31 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_scaling.h +26 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +98 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +37 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +1807 -0
- casadi/include/highs/pdqsort/pdqsort.h +532 -0
- casadi/include/highs/presolve/HPresolve.h +405 -0
- casadi/include/highs/presolve/HPresolveAnalysis.h +51 -0
- casadi/include/highs/presolve/HighsPostsolveStack.h +940 -0
- casadi/include/highs/presolve/HighsSymmetry.h +281 -0
- casadi/include/highs/presolve/ICrash.h +124 -0
- casadi/include/highs/presolve/ICrashUtil.h +62 -0
- casadi/include/highs/presolve/ICrashX.h +23 -0
- casadi/include/highs/presolve/PresolveComponent.h +90 -0
- casadi/include/highs/qpsolver/a_asm.hpp +70 -0
- casadi/include/highs/qpsolver/a_quass.hpp +15 -0
- casadi/include/highs/qpsolver/basis.hpp +152 -0
- casadi/include/highs/qpsolver/crashsolution.hpp +13 -0
- casadi/include/highs/qpsolver/dantzigpricing.hpp +73 -0
- casadi/include/highs/qpsolver/devexpricing.hpp +101 -0
- casadi/include/highs/qpsolver/eventhandler.hpp +23 -0
- casadi/include/highs/qpsolver/factor.hpp +401 -0
- casadi/include/highs/qpsolver/feasibility_bounded.hpp +107 -0
- casadi/include/highs/qpsolver/feasibility_highs.hpp +294 -0
- casadi/include/highs/qpsolver/gradient.hpp +39 -0
- casadi/include/highs/qpsolver/instance.hpp +63 -0
- casadi/include/highs/qpsolver/matrix.hpp +335 -0
- casadi/include/highs/qpsolver/perturbation.hpp +8 -0
- casadi/include/highs/qpsolver/pricing.hpp +15 -0
- casadi/include/highs/qpsolver/qpconst.hpp +27 -0
- casadi/include/highs/qpsolver/qpvector.hpp +235 -0
- casadi/include/highs/qpsolver/quass.hpp +20 -0
- casadi/include/highs/qpsolver/ratiotest.hpp +19 -0
- casadi/include/highs/qpsolver/runtime.hpp +38 -0
- casadi/include/highs/qpsolver/scaling.hpp +8 -0
- casadi/include/highs/qpsolver/settings.hpp +69 -0
- casadi/include/highs/qpsolver/snippets.hpp +29 -0
- casadi/include/highs/qpsolver/statistics.hpp +23 -0
- casadi/include/highs/qpsolver/steepestedgepricing.hpp +166 -0
- casadi/include/highs/simplex/HApp.h +476 -0
- casadi/include/highs/simplex/HEkk.h +416 -0
- casadi/include/highs/simplex/HEkkDual.h +513 -0
- casadi/include/highs/simplex/HEkkDualRHS.h +134 -0
- casadi/include/highs/simplex/HEkkDualRow.h +201 -0
- casadi/include/highs/simplex/HEkkPrimal.h +191 -0
- casadi/include/highs/simplex/HSimplex.h +42 -0
- casadi/include/highs/simplex/HSimplexDebug.h +48 -0
- casadi/include/highs/simplex/HSimplexNla.h +158 -0
- casadi/include/highs/simplex/HSimplexReport.h +21 -0
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +500 -0
- casadi/include/highs/simplex/SimplexConst.h +273 -0
- casadi/include/highs/simplex/SimplexStruct.h +261 -0
- casadi/include/highs/simplex/SimplexTimer.h +409 -0
- casadi/include/highs/test/DevKkt.h +143 -0
- casadi/include/highs/test/KktCh2.h +79 -0
- casadi/include/highs/util/FactorTimer.h +199 -0
- casadi/include/highs/util/HFactor.h +587 -0
- casadi/include/highs/util/HFactorConst.h +81 -0
- casadi/include/highs/util/HFactorDebug.h +55 -0
- casadi/include/highs/util/HSet.h +89 -0
- casadi/include/highs/util/HVector.h +22 -0
- casadi/include/highs/util/HVectorBase.h +102 -0
- casadi/include/highs/util/HighsCDouble.h +319 -0
- casadi/include/highs/util/HighsComponent.h +53 -0
- casadi/include/highs/util/HighsDataStack.h +83 -0
- casadi/include/highs/util/HighsDisjointSets.h +107 -0
- casadi/include/highs/util/HighsHash.h +1274 -0
- casadi/include/highs/util/HighsHashTree.h +1447 -0
- casadi/include/highs/util/HighsInt.h +36 -0
- casadi/include/highs/util/HighsIntegers.h +212 -0
- casadi/include/highs/util/HighsLinearSumBounds.h +157 -0
- casadi/include/highs/util/HighsMatrixPic.h +37 -0
- casadi/include/highs/util/HighsMatrixSlice.h +561 -0
- casadi/include/highs/util/HighsMatrixUtils.h +54 -0
- casadi/include/highs/util/HighsMemoryAllocation.h +63 -0
- casadi/include/highs/util/HighsRandom.h +242 -0
- casadi/include/highs/util/HighsRbTree.h +452 -0
- casadi/include/highs/util/HighsSort.h +131 -0
- casadi/include/highs/util/HighsSparseMatrix.h +150 -0
- casadi/include/highs/util/HighsSparseVectorSum.h +95 -0
- casadi/include/highs/util/HighsSplay.h +135 -0
- casadi/include/highs/util/HighsTimer.h +381 -0
- casadi/include/highs/util/HighsUtils.h +217 -0
- casadi/include/highs/util/stringutil.h +46 -0
- casadi/include/highs/zstr/strict_fstream.hpp +237 -0
- casadi/include/highs/zstr/zstr.hpp +472 -0
- casadi/include/licenses/FMI-Standard-2.0.2/LICENSE.txt +473 -0
- casadi/include/licenses/FMI-Standard-3.0/LICENSE.txt +464 -0
- casadi/include/licenses/alpaqa-external/LICENSE +165 -0
- casadi/include/licenses/bonmin-external/Bonmin/LICENSE +87 -0
- casadi/include/licenses/bonmin-external/LICENSE +3 -0
- casadi/include/licenses/casadi/LICENSE/LICENSE.txt +165 -0
- casadi/include/licenses/casadi-sundials/LICENSE +64 -0
- casadi/include/licenses/casadi-sundials/cvodes/LICENSE +60 -0
- casadi/include/licenses/casadi-sundials/idas/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/kinsol/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/sundials/LICENSE +67 -0
- casadi/include/licenses/cbc-external/Cbc/LICENSE +239 -0
- casadi/include/licenses/cbc-external/LICENSE +245 -0
- casadi/include/licenses/cgl-external/Cgl/LICENSE +239 -0
- casadi/include/licenses/cgl-external/LICENSE +245 -0
- casadi/include/licenses/clp-external/Clp/LICENSE +239 -0
- casadi/include/licenses/clp-external/LICENSE +245 -0
- casadi/include/licenses/coinutils-external/CoinUtils/LICENSE +239 -0
- casadi/include/licenses/coinutils-external/LICENSE +245 -0
- casadi/include/licenses/daqp-external/LICENSE +21 -0
- casadi/include/licenses/ghc-external/LICENSE +19 -0
- casadi/include/licenses/highs-external/LICENSE.txt +21 -0
- casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -0
- casadi/include/licenses/ipopt-external/LICENSE +260 -0
- casadi/include/licenses/libz-external/LICENSE +22 -0
- casadi/include/licenses/libz-external/contrib/dotzlib/LICENSE_1_0.txt +23 -0
- casadi/include/licenses/libzip-external/LICENSE +31 -0
- casadi/include/licenses/metis-external/LICENSE +87 -0
- casadi/include/licenses/metis-external/metis-4.0/LICENSE +18 -0
- casadi/include/licenses/mockups-external/LICENSE +21 -0
- casadi/include/licenses/mumps-external/LICENSE +87 -0
- casadi/include/licenses/mumps-external/MUMPS/LICENSE +50 -0
- casadi/include/licenses/openblas-external/LICENSE +29 -0
- casadi/include/licenses/openblas-external/ctest/LICENSE +23 -0
- casadi/include/licenses/openblas-external/lapack-netlib/LAPACKE/LICENSE +26 -0
- casadi/include/licenses/openblas-external/lapack-netlib/LICENSE +48 -0
- casadi/include/licenses/openblas-external/reference/LICENSE +23 -0
- casadi/include/licenses/openblas-external/relapack/LICENSE +22 -0
- casadi/include/licenses/openblas-external/test/LICENSE +23 -0
- casadi/include/licenses/osi-external/LICENSE +245 -0
- casadi/include/licenses/osi-external/Osi/LICENSE +239 -0
- casadi/include/licenses/osqp-external/LICENSE +201 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/amd/LICENSE +36 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/qdldl_sources/LICENSE +201 -0
- casadi/include/licenses/proxqp-external/LICENSE +25 -0
- casadi/include/licenses/proxqp-external/bindings/python/external/pybind11/LICENSE +29 -0
- casadi/include/licenses/proxqp-external/cmake-module/LICENSE +4 -0
- casadi/include/licenses/proxqp-external/cmake-module/doxygen/MathJax/LICENSE +202 -0
- casadi/include/licenses/proxqp-external/external/cereal/LICENSE +24 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/LICENSE +21 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/LICENSE +13 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/msinttypes/LICENSE +29 -0
- casadi/include/licenses/qpOASES/LICENSE.txt +503 -0
- casadi/include/licenses/sleqp-external/LICENSE +165 -0
- casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
- casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
- casadi/include/licenses/trlib-external/LICENSE +21 -0
- casadi/include/osqp/auxil.h +181 -0
- casadi/include/osqp/constants.h +128 -0
- casadi/include/osqp/cs.h +180 -0
- casadi/include/osqp/ctrlc.h +56 -0
- casadi/include/osqp/error.h +38 -0
- casadi/include/osqp/glob_opts.h +167 -0
- casadi/include/osqp/lin_alg.h +216 -0
- casadi/include/osqp/lin_sys.h +54 -0
- casadi/include/osqp/osqp.h +430 -0
- casadi/include/osqp/osqp_configure.h +49 -0
- casadi/include/osqp/polish.h +25 -0
- casadi/include/osqp/proj.h +37 -0
- casadi/include/osqp/scaling.h +44 -0
- casadi/include/osqp/types.h +326 -0
- casadi/include/osqp/util.h +222 -0
- casadi/include/osqp/version.h +9 -0
- casadi/include/proxsuite/config.hpp +68 -0
- casadi/include/proxsuite/deprecated.hpp +56 -0
- casadi/include/proxsuite/fwd.hpp +52 -0
- casadi/include/proxsuite/helpers/common.hpp +70 -0
- casadi/include/proxsuite/helpers/instruction-set.hpp +275 -0
- casadi/include/proxsuite/helpers/optional.hpp +46 -0
- casadi/include/proxsuite/helpers/tl-optional.hpp +2472 -0
- casadi/include/proxsuite/helpers/version.hpp +39 -0
- casadi/include/proxsuite/linalg/dense/core.hpp +863 -0
- casadi/include/proxsuite/linalg/dense/factorize.hpp +375 -0
- casadi/include/proxsuite/linalg/dense/ldlt.hpp +817 -0
- casadi/include/proxsuite/linalg/dense/modify.hpp +333 -0
- casadi/include/proxsuite/linalg/dense/solve.hpp +38 -0
- casadi/include/proxsuite/linalg/dense/update.hpp +330 -0
- casadi/include/proxsuite/linalg/sparse/core.hpp +531 -0
- casadi/include/proxsuite/linalg/sparse/factorize.hpp +1303 -0
- casadi/include/proxsuite/linalg/sparse/rowmod.hpp +443 -0
- casadi/include/proxsuite/linalg/sparse/update.hpp +348 -0
- casadi/include/proxsuite/linalg/veg/internal/assert_impl.hpp +20 -0
- casadi/include/proxsuite/linalg/veg/internal/collection_algo.hpp +93 -0
- casadi/include/proxsuite/linalg/veg/internal/dbg.hpp +15 -0
- casadi/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +77 -0
- casadi/include/proxsuite/linalg/veg/internal/dyn_index.hpp +292 -0
- casadi/include/proxsuite/linalg/veg/internal/epilogue.hpp +31 -0
- casadi/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +2074 -0
- casadi/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/internal/fix_index.hpp +339 -0
- casadi/include/proxsuite/linalg/veg/internal/has_asan.hpp +17 -0
- casadi/include/proxsuite/linalg/veg/internal/integer_seq.hpp +248 -0
- casadi/include/proxsuite/linalg/veg/internal/macros.hpp +1312 -0
- casadi/include/proxsuite/linalg/veg/internal/narrow.hpp +46 -0
- casadi/include/proxsuite/linalg/veg/internal/preprocessor.hpp +434 -0
- casadi/include/proxsuite/linalg/veg/internal/prologue.hpp +157 -0
- casadi/include/proxsuite/linalg/veg/internal/std.hpp +13 -0
- casadi/include/proxsuite/linalg/veg/internal/terminate.hpp +22 -0
- casadi/include/proxsuite/linalg/veg/internal/typedefs.hpp +58 -0
- casadi/include/proxsuite/linalg/veg/memory/address.hpp +97 -0
- casadi/include/proxsuite/linalg/veg/memory/alloc.hpp +352 -0
- casadi/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +504 -0
- casadi/include/proxsuite/linalg/veg/memory/placement.hpp +202 -0
- casadi/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +239 -0
- casadi/include/proxsuite/linalg/veg/ref.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/slice.hpp +240 -0
- casadi/include/proxsuite/linalg/veg/tuple.hpp +876 -0
- casadi/include/proxsuite/linalg/veg/type_traits/alloc.hpp +169 -0
- casadi/include/proxsuite/linalg/veg/type_traits/assignable.hpp +53 -0
- casadi/include/proxsuite/linalg/veg/type_traits/constructible.hpp +217 -0
- casadi/include/proxsuite/linalg/veg/type_traits/core.hpp +298 -0
- casadi/include/proxsuite/linalg/veg/type_traits/invocable.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/type_traits/primitives.hpp +43 -0
- casadi/include/proxsuite/linalg/veg/type_traits/tags.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/util/assert.hpp +48 -0
- casadi/include/proxsuite/linalg/veg/util/dbg.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/defer.hpp +57 -0
- casadi/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +19 -0
- casadi/include/proxsuite/linalg/veg/util/get.hpp +153 -0
- casadi/include/proxsuite/linalg/veg/util/index.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/unreachable.hpp +41 -0
- casadi/include/proxsuite/linalg/veg/vec.hpp +1034 -0
- casadi/include/proxsuite/proxqp/dense/dense.hpp +10 -0
- casadi/include/proxsuite/proxqp/dense/fwd.hpp +55 -0
- casadi/include/proxsuite/proxqp/dense/helpers.hpp +520 -0
- casadi/include/proxsuite/proxqp/dense/linesearch.hpp +517 -0
- casadi/include/proxsuite/proxqp/dense/model.hpp +147 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +113 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +571 -0
- casadi/include/proxsuite/proxqp/dense/solver.hpp +1330 -0
- casadi/include/proxsuite/proxqp/dense/utils.hpp +415 -0
- casadi/include/proxsuite/proxqp/dense/views.hpp +1466 -0
- casadi/include/proxsuite/proxqp/dense/workspace.hpp +264 -0
- casadi/include/proxsuite/proxqp/dense/wrapper.hpp +491 -0
- casadi/include/proxsuite/proxqp/results.hpp +212 -0
- casadi/include/proxsuite/proxqp/settings.hpp +302 -0
- casadi/include/proxsuite/proxqp/sparse/fwd.hpp +58 -0
- casadi/include/proxsuite/proxqp/sparse/helpers.hpp +309 -0
- casadi/include/proxsuite/proxqp/sparse/model.hpp +228 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +64 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +569 -0
- casadi/include/proxsuite/proxqp/sparse/solver.hpp +1441 -0
- casadi/include/proxsuite/proxqp/sparse/sparse.hpp +10 -0
- casadi/include/proxsuite/proxqp/sparse/utils.hpp +815 -0
- casadi/include/proxsuite/proxqp/sparse/views.hpp +63 -0
- casadi/include/proxsuite/proxqp/sparse/workspace.hpp +790 -0
- casadi/include/proxsuite/proxqp/sparse/wrapper.hpp +772 -0
- casadi/include/proxsuite/proxqp/status.hpp +46 -0
- casadi/include/proxsuite/proxqp/timings.hpp +101 -0
- casadi/include/proxsuite/proxqp/utils/prints.hpp +47 -0
- casadi/include/proxsuite/proxqp/utils/random_qp_problems.hpp +669 -0
- casadi/include/proxsuite/serialization/archive.hpp +231 -0
- casadi/include/proxsuite/serialization/eigen.hpp +107 -0
- casadi/include/proxsuite/serialization/model.hpp +34 -0
- casadi/include/proxsuite/serialization/results.hpp +74 -0
- casadi/include/proxsuite/serialization/settings.hpp +60 -0
- casadi/include/proxsuite/serialization/wrapper.hpp +24 -0
- casadi/include/proxsuite/warning.hpp +35 -0
- casadi/include/simde/arm/neon/aba.h +208 -0
- casadi/include/simde/arm/neon/abd.h +384 -0
- casadi/include/simde/arm/neon/abdl.h +147 -0
- casadi/include/simde/arm/neon/abs.h +408 -0
- casadi/include/simde/arm/neon/add.h +681 -0
- casadi/include/simde/arm/neon/addl.h +127 -0
- casadi/include/simde/arm/neon/addl_high.h +127 -0
- casadi/include/simde/arm/neon/addlv.h +317 -0
- casadi/include/simde/arm/neon/addv.h +447 -0
- casadi/include/simde/arm/neon/addw.h +222 -0
- casadi/include/simde/arm/neon/addw_high.h +193 -0
- casadi/include/simde/arm/neon/and.h +552 -0
- casadi/include/simde/arm/neon/bic.h +472 -0
- casadi/include/simde/arm/neon/bsl.h +448 -0
- casadi/include/simde/arm/neon/cagt.h +168 -0
- casadi/include/simde/arm/neon/ceq.h +711 -0
- casadi/include/simde/arm/neon/ceqz.h +335 -0
- casadi/include/simde/arm/neon/cge.h +677 -0
- casadi/include/simde/arm/neon/cgez.h +378 -0
- casadi/include/simde/arm/neon/cgt.h +686 -0
- casadi/include/simde/arm/neon/cgtz.h +380 -0
- casadi/include/simde/arm/neon/cle.h +677 -0
- casadi/include/simde/arm/neon/clez.h +378 -0
- casadi/include/simde/arm/neon/cls.h +148 -0
- casadi/include/simde/arm/neon/clt.h +679 -0
- casadi/include/simde/arm/neon/cltz.h +263 -0
- casadi/include/simde/arm/neon/clz.h +423 -0
- casadi/include/simde/arm/neon/cnt.h +145 -0
- casadi/include/simde/arm/neon/combine.h +343 -0
- casadi/include/simde/arm/neon/create.h +186 -0
- casadi/include/simde/arm/neon/cvt.h +492 -0
- casadi/include/simde/arm/neon/dot.h +171 -0
- casadi/include/simde/arm/neon/dot_lane.h +196 -0
- casadi/include/simde/arm/neon/dup_lane.h +702 -0
- casadi/include/simde/arm/neon/dup_n.h +534 -0
- casadi/include/simde/arm/neon/eor.h +552 -0
- casadi/include/simde/arm/neon/ext.h +887 -0
- casadi/include/simde/arm/neon/get_high.h +260 -0
- casadi/include/simde/arm/neon/get_lane.h +499 -0
- casadi/include/simde/arm/neon/get_low.h +276 -0
- casadi/include/simde/arm/neon/hadd.h +287 -0
- casadi/include/simde/arm/neon/hsub.h +287 -0
- casadi/include/simde/arm/neon/ld1.h +399 -0
- casadi/include/simde/arm/neon/ld3.h +609 -0
- casadi/include/simde/arm/neon/ld4.h +448 -0
- casadi/include/simde/arm/neon/max.h +614 -0
- casadi/include/simde/arm/neon/maxnm.h +215 -0
- casadi/include/simde/arm/neon/maxv.h +400 -0
- casadi/include/simde/arm/neon/min.h +660 -0
- casadi/include/simde/arm/neon/minnm.h +215 -0
- casadi/include/simde/arm/neon/minv.h +424 -0
- casadi/include/simde/arm/neon/mla.h +530 -0
- casadi/include/simde/arm/neon/mla_n.h +333 -0
- casadi/include/simde/arm/neon/mlal.h +156 -0
- casadi/include/simde/arm/neon/mlal_high.h +156 -0
- casadi/include/simde/arm/neon/mlal_n.h +128 -0
- casadi/include/simde/arm/neon/mls.h +264 -0
- casadi/include/simde/arm/neon/mlsl.h +124 -0
- casadi/include/simde/arm/neon/mlsl_high.h +124 -0
- casadi/include/simde/arm/neon/mlsl_n.h +96 -0
- casadi/include/simde/arm/neon/movl.h +208 -0
- casadi/include/simde/arm/neon/movl_high.h +126 -0
- casadi/include/simde/arm/neon/movn.h +195 -0
- casadi/include/simde/arm/neon/movn_high.h +125 -0
- casadi/include/simde/arm/neon/mul.h +594 -0
- casadi/include/simde/arm/neon/mul_lane.h +472 -0
- casadi/include/simde/arm/neon/mul_n.h +383 -0
- casadi/include/simde/arm/neon/mull.h +236 -0
- casadi/include/simde/arm/neon/mull_high.h +125 -0
- casadi/include/simde/arm/neon/mull_n.h +158 -0
- casadi/include/simde/arm/neon/mvn.h +426 -0
- casadi/include/simde/arm/neon/neg.h +393 -0
- casadi/include/simde/arm/neon/orn.h +505 -0
- casadi/include/simde/arm/neon/orr.h +552 -0
- casadi/include/simde/arm/neon/padal.h +211 -0
- casadi/include/simde/arm/neon/padd.h +293 -0
- casadi/include/simde/arm/neon/paddl.h +239 -0
- casadi/include/simde/arm/neon/pmax.h +253 -0
- casadi/include/simde/arm/neon/pmin.h +260 -0
- casadi/include/simde/arm/neon/qabs.h +281 -0
- casadi/include/simde/arm/neon/qadd.h +553 -0
- casadi/include/simde/arm/neon/qdmulh.h +125 -0
- casadi/include/simde/arm/neon/qdmull.h +125 -0
- casadi/include/simde/arm/neon/qmovn.h +273 -0
- casadi/include/simde/arm/neon/qmovn_high.h +127 -0
- casadi/include/simde/arm/neon/qmovun.h +159 -0
- casadi/include/simde/arm/neon/qneg.h +301 -0
- casadi/include/simde/arm/neon/qrdmulh.h +165 -0
- casadi/include/simde/arm/neon/qrdmulh_n.h +136 -0
- casadi/include/simde/arm/neon/qshl.h +732 -0
- casadi/include/simde/arm/neon/qsub.h +549 -0
- casadi/include/simde/arm/neon/qtbl.h +455 -0
- casadi/include/simde/arm/neon/qtbx.h +470 -0
- casadi/include/simde/arm/neon/rbit.h +165 -0
- casadi/include/simde/arm/neon/reinterpret.h +3101 -0
- casadi/include/simde/arm/neon/rev16.h +137 -0
- casadi/include/simde/arm/neon/rev32.h +235 -0
- casadi/include/simde/arm/neon/rev64.h +358 -0
- casadi/include/simde/arm/neon/rhadd.h +406 -0
- casadi/include/simde/arm/neon/rnd.h +143 -0
- casadi/include/simde/arm/neon/rndi.h +135 -0
- casadi/include/simde/arm/neon/rndm.h +143 -0
- casadi/include/simde/arm/neon/rndn.h +135 -0
- casadi/include/simde/arm/neon/rndp.h +143 -0
- casadi/include/simde/arm/neon/rshl.h +903 -0
- casadi/include/simde/arm/neon/rshr_n.h +471 -0
- casadi/include/simde/arm/neon/rsra_n.h +209 -0
- casadi/include/simde/arm/neon/set_lane.h +422 -0
- casadi/include/simde/arm/neon/shl.h +805 -0
- casadi/include/simde/arm/neon/shl_n.h +560 -0
- casadi/include/simde/arm/neon/shr_n.h +612 -0
- casadi/include/simde/arm/neon/sra_n.h +202 -0
- casadi/include/simde/arm/neon/st1.h +353 -0
- casadi/include/simde/arm/neon/st1_lane.h +363 -0
- casadi/include/simde/arm/neon/st3.h +426 -0
- casadi/include/simde/arm/neon/st4.h +445 -0
- casadi/include/simde/arm/neon/sub.h +659 -0
- casadi/include/simde/arm/neon/subl.h +127 -0
- casadi/include/simde/arm/neon/subw.h +221 -0
- casadi/include/simde/arm/neon/subw_high.h +222 -0
- casadi/include/simde/arm/neon/tbl.h +224 -0
- casadi/include/simde/arm/neon/tbx.h +247 -0
- casadi/include/simde/arm/neon/trn.h +252 -0
- casadi/include/simde/arm/neon/trn1.h +500 -0
- casadi/include/simde/arm/neon/trn2.h +499 -0
- casadi/include/simde/arm/neon/tst.h +540 -0
- casadi/include/simde/arm/neon/types.h +683 -0
- casadi/include/simde/arm/neon/uqadd.h +325 -0
- casadi/include/simde/arm/neon/uzp.h +252 -0
- casadi/include/simde/arm/neon/uzp1.h +643 -0
- casadi/include/simde/arm/neon/uzp2.h +647 -0
- casadi/include/simde/arm/neon/zip.h +252 -0
- casadi/include/simde/arm/neon/zip1.h +625 -0
- casadi/include/simde/arm/neon/zip2.h +625 -0
- casadi/include/simde/arm/neon.h +166 -0
- casadi/include/simde/check.h +276 -0
- casadi/include/simde/debug-trap.h +85 -0
- casadi/include/simde/hedley.h +1971 -0
- casadi/include/simde/simde-align.h +449 -0
- casadi/include/simde/simde-arch.h +532 -0
- casadi/include/simde/simde-common.h +890 -0
- casadi/include/simde/simde-complex.h +148 -0
- casadi/include/simde/simde-constify.h +397 -0
- casadi/include/simde/simde-detect-clang.h +109 -0
- casadi/include/simde/simde-diagnostic.h +428 -0
- casadi/include/simde/simde-features.h +522 -0
- casadi/include/simde/simde-math.h +1805 -0
- casadi/include/simde/x86/avx.h +6193 -0
- casadi/include/simde/x86/avx2.h +5660 -0
- casadi/include/simde/x86/avx512/2intersect.h +250 -0
- casadi/include/simde/x86/avx512/abs.h +562 -0
- casadi/include/simde/x86/avx512/add.h +641 -0
- casadi/include/simde/x86/avx512/adds.h +390 -0
- casadi/include/simde/x86/avx512/and.h +305 -0
- casadi/include/simde/x86/avx512/andnot.h +193 -0
- casadi/include/simde/x86/avx512/avg.h +258 -0
- casadi/include/simde/x86/avx512/blend.h +293 -0
- casadi/include/simde/x86/avx512/broadcast.h +897 -0
- casadi/include/simde/x86/avx512/cast.h +324 -0
- casadi/include/simde/x86/avx512/cmp.h +587 -0
- casadi/include/simde/x86/avx512/cmpeq.h +179 -0
- casadi/include/simde/x86/avx512/cmpge.h +104 -0
- casadi/include/simde/x86/avx512/cmpgt.h +189 -0
- casadi/include/simde/x86/avx512/cmple.h +103 -0
- casadi/include/simde/x86/avx512/cmplt.h +123 -0
- casadi/include/simde/x86/avx512/copysign.h +86 -0
- casadi/include/simde/x86/avx512/cvt.h +122 -0
- casadi/include/simde/x86/avx512/cvts.h +723 -0
- casadi/include/simde/x86/avx512/div.h +162 -0
- casadi/include/simde/x86/avx512/extract.h +198 -0
- casadi/include/simde/x86/avx512/fmadd.h +136 -0
- casadi/include/simde/x86/avx512/fmsub.h +108 -0
- casadi/include/simde/x86/avx512/fnmadd.h +108 -0
- casadi/include/simde/x86/avx512/fnmsub.h +108 -0
- casadi/include/simde/x86/avx512/insert.h +193 -0
- casadi/include/simde/x86/avx512/kshift.h +152 -0
- casadi/include/simde/x86/avx512/load.h +67 -0
- casadi/include/simde/x86/avx512/loadu.h +113 -0
- casadi/include/simde/x86/avx512/lzcnt.h +209 -0
- casadi/include/simde/x86/avx512/madd.h +155 -0
- casadi/include/simde/x86/avx512/maddubs.h +159 -0
- casadi/include/simde/x86/avx512/max.h +587 -0
- casadi/include/simde/x86/avx512/min.h +587 -0
- casadi/include/simde/x86/avx512/mov.h +859 -0
- casadi/include/simde/x86/avx512/mov_mask.h +372 -0
- casadi/include/simde/x86/avx512/movm.h +460 -0
- casadi/include/simde/x86/avx512/mul.h +279 -0
- casadi/include/simde/x86/avx512/mulhi.h +65 -0
- casadi/include/simde/x86/avx512/mulhrs.h +65 -0
- casadi/include/simde/x86/avx512/mullo.h +117 -0
- casadi/include/simde/x86/avx512/negate.h +88 -0
- casadi/include/simde/x86/avx512/or.h +252 -0
- casadi/include/simde/x86/avx512/packs.h +122 -0
- casadi/include/simde/x86/avx512/packus.h +122 -0
- casadi/include/simde/x86/avx512/permutex2var.h +1645 -0
- casadi/include/simde/x86/avx512/permutexvar.h +1180 -0
- casadi/include/simde/x86/avx512/sad.h +77 -0
- casadi/include/simde/x86/avx512/set.h +477 -0
- casadi/include/simde/x86/avx512/set1.h +331 -0
- casadi/include/simde/x86/avx512/set4.h +140 -0
- casadi/include/simde/x86/avx512/setone.h +66 -0
- casadi/include/simde/x86/avx512/setr.h +144 -0
- casadi/include/simde/x86/avx512/setr4.h +140 -0
- casadi/include/simde/x86/avx512/setzero.h +90 -0
- casadi/include/simde/x86/avx512/shuffle.h +176 -0
- casadi/include/simde/x86/avx512/sll.h +247 -0
- casadi/include/simde/x86/avx512/slli.h +179 -0
- casadi/include/simde/x86/avx512/sllv.h +68 -0
- casadi/include/simde/x86/avx512/sqrt.h +127 -0
- casadi/include/simde/x86/avx512/sra.h +81 -0
- casadi/include/simde/x86/avx512/srai.h +70 -0
- casadi/include/simde/x86/avx512/srav.h +67 -0
- casadi/include/simde/x86/avx512/srl.h +216 -0
- casadi/include/simde/x86/avx512/srli.h +180 -0
- casadi/include/simde/x86/avx512/srlv.h +282 -0
- casadi/include/simde/x86/avx512/store.h +93 -0
- casadi/include/simde/x86/avx512/storeu.h +93 -0
- casadi/include/simde/x86/avx512/sub.h +351 -0
- casadi/include/simde/x86/avx512/subs.h +222 -0
- casadi/include/simde/x86/avx512/test.h +193 -0
- casadi/include/simde/x86/avx512/types.h +380 -0
- casadi/include/simde/x86/avx512/unpackhi.h +380 -0
- casadi/include/simde/x86/avx512/unpacklo.h +104 -0
- casadi/include/simde/x86/avx512/xor.h +263 -0
- casadi/include/simde/x86/avx512/xorsign.h +72 -0
- casadi/include/simde/x86/avx512.h +108 -0
- casadi/include/simde/x86/clmul.h +414 -0
- casadi/include/simde/x86/fma.h +724 -0
- casadi/include/simde/x86/gfni.h +802 -0
- casadi/include/simde/x86/mmx.h +2399 -0
- casadi/include/simde/x86/sse.h +4471 -0
- casadi/include/simde/x86/sse2.h +7389 -0
- casadi/include/simde/x86/sse3.h +499 -0
- casadi/include/simde/x86/sse4.1.h +2216 -0
- casadi/include/simde/x86/sse4.2.h +347 -0
- casadi/include/simde/x86/ssse3.h +1032 -0
- casadi/include/simde/x86/svml.h +12139 -0
- casadi/include/simde/x86/xop.h +3644 -0
- casadi/include/superscs/cones.h +185 -0
- casadi/include/superscs/constants.h +144 -0
- casadi/include/superscs/cs.h +109 -0
- casadi/include/superscs/ctrlc.h +77 -0
- casadi/include/superscs/directions.h +125 -0
- casadi/include/superscs/glbopts.h +240 -0
- casadi/include/superscs/linAlg.h +437 -0
- casadi/include/superscs/linSys.h +205 -0
- casadi/include/superscs/linsys/amatrix.h +77 -0
- casadi/include/superscs/linsys/common.h +49 -0
- casadi/include/superscs/normalize.h +138 -0
- casadi/include/superscs/scs.h +656 -0
- casadi/include/superscs/scs_blas.h +79 -0
- casadi/include/superscs/scs_parser.h +187 -0
- casadi/include/superscs/unit_test_util.h +210 -0
- casadi/include/superscs/util.h +354 -0
- casadi/include/trlib/trlib_eigen_inverse.h +118 -0
- casadi/include/trlib/trlib_krylov.h +493 -0
- casadi/include/trlib/trlib_leftmost.h +181 -0
- casadi/include/trlib/trlib_private.h +109 -0
- casadi/include/trlib/trlib_quadratic_zero.h +57 -0
- casadi/include/trlib/trlib_tri_factor.h +409 -0
- casadi/include/trlib/trlib_types.h +36 -0
- casadi/libCbc.la +35 -0
- casadi/libCbc.so +0 -0
- casadi/libCbc.so.3 +0 -0
- casadi/libCbc.so.3.10.11 +0 -0
- casadi/libCbcSolver.la +35 -0
- casadi/libCbcSolver.so +0 -0
- casadi/libCbcSolver.so.3 +0 -0
- casadi/libCbcSolver.so.3.10.11 +0 -0
- casadi/libCgl.la +35 -0
- casadi/libCgl.so +0 -0
- casadi/libCgl.so.1 +0 -0
- casadi/libCgl.so.1.10.8 +0 -0
- casadi/libClp.la +35 -0
- casadi/libClp.so +0 -0
- casadi/libClp.so.1 +0 -0
- casadi/libClp.so.1.14.9 +0 -0
- casadi/libClpSolver.la +35 -0
- casadi/libClpSolver.so +0 -0
- casadi/libClpSolver.so.1 +0 -0
- casadi/libClpSolver.so.1.14.9 +0 -0
- casadi/libCoinUtils.la +35 -0
- casadi/libCoinUtils.so +0 -0
- casadi/libCoinUtils.so.3 +0 -0
- casadi/libCoinUtils.so.3.11.10 +0 -0
- casadi/libOsi.la +35 -0
- casadi/libOsi.so +0 -0
- casadi/libOsi.so.1 +0 -0
- casadi/libOsi.so.1.13.9 +0 -0
- casadi/libOsiCbc.la +35 -0
- casadi/libOsiCbc.so +0 -0
- casadi/libOsiCbc.so.3 +0 -0
- casadi/libOsiCbc.so.3.10.11 +0 -0
- casadi/libOsiClp.la +35 -0
- casadi/libOsiClp.so +0 -0
- casadi/libOsiClp.so.1 +0 -0
- casadi/libOsiClp.so.1.14.9 +0 -0
- casadi/libOsiCommonTests.la +35 -0
- casadi/libOsiCommonTests.so +0 -0
- casadi/libOsiCommonTests.so.1 +0 -0
- casadi/libOsiCommonTests.so.1.13.9 +0 -0
- casadi/libalpaqa-dl-loader.so +0 -0
- casadi/libalpaqa-dl-loader.so.1.0.0 +0 -0
- casadi/libalpaqa.so +0 -0
- casadi/libalpaqa.so.1.0.0 +0 -0
- casadi/libbonmin.la +35 -0
- casadi/libbonmin.so +0 -0
- casadi/libbonmin.so.4 +0 -0
- casadi/libbonmin.so.4.8.9 +0 -0
- casadi/libcasadi-tp-openblas.so +0 -0
- casadi/libcasadi-tp-openblas.so.0 +0 -0
- casadi/libcasadi-tp-openblas.so.0.3 +0 -0
- casadi/libcasadi.so +0 -0
- casadi/libcasadi.so.3.7 +0 -0
- casadi/libcasadi_archiver_libzip.so +0 -0
- casadi/libcasadi_archiver_libzip.so.3.7 +0 -0
- casadi/libcasadi_conic_cbc.so +0 -0
- casadi/libcasadi_conic_cbc.so.3.7 +0 -0
- casadi/libcasadi_conic_clp.so +0 -0
- casadi/libcasadi_conic_clp.so.3.7 +0 -0
- casadi/libcasadi_conic_daqp.so +0 -0
- casadi/libcasadi_conic_daqp.so.3.7 +0 -0
- casadi/libcasadi_conic_gurobi.so +0 -0
- casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
- casadi/libcasadi_conic_highs.so +0 -0
- casadi/libcasadi_conic_highs.so.3.7 +0 -0
- casadi/libcasadi_conic_ipqp.so +0 -0
- casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
- casadi/libcasadi_conic_nlpsol.so +0 -0
- casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
- casadi/libcasadi_conic_osqp.so +0 -0
- casadi/libcasadi_conic_osqp.so.3.7 +0 -0
- casadi/libcasadi_conic_proxqp.so +0 -0
- casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
- casadi/libcasadi_conic_qpoases.so +0 -0
- casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
- casadi/libcasadi_conic_qrqp.so +0 -0
- casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
- casadi/libcasadi_conic_superscs.so +0 -0
- casadi/libcasadi_conic_superscs.so.3.7 +0 -0
- casadi/libcasadi_filesystem_ghc.so +0 -0
- casadi/libcasadi_filesystem_ghc.so.3.7 +0 -0
- casadi/libcasadi_importer_shell.so +0 -0
- casadi/libcasadi_importer_shell.so.3.7 +0 -0
- casadi/libcasadi_integrator_collocation.so +0 -0
- casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
- casadi/libcasadi_integrator_cvodes.so +0 -0
- casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
- casadi/libcasadi_integrator_idas.so +0 -0
- casadi/libcasadi_integrator_idas.so.3.7 +0 -0
- casadi/libcasadi_integrator_rk.so +0 -0
- casadi/libcasadi_integrator_rk.so.3.7 +0 -0
- casadi/libcasadi_interpolant_bspline.so +0 -0
- casadi/libcasadi_interpolant_bspline.so.3.7 +0 -0
- casadi/libcasadi_interpolant_linear.so +0 -0
- casadi/libcasadi_interpolant_linear.so.3.7 +0 -0
- casadi/libcasadi_linsol_csparse.so +0 -0
- casadi/libcasadi_linsol_csparse.so.3.7 +0 -0
- casadi/libcasadi_linsol_csparsecholesky.so +0 -0
- casadi/libcasadi_linsol_csparsecholesky.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapacklu.so +0 -0
- casadi/libcasadi_linsol_lapacklu.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapackqr.so +0 -0
- casadi/libcasadi_linsol_lapackqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_ldl.so +0 -0
- casadi/libcasadi_linsol_ldl.so.3.7 +0 -0
- casadi/libcasadi_linsol_lsqr.so +0 -0
- casadi/libcasadi_linsol_lsqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_ma27.so +0 -0
- casadi/libcasadi_linsol_ma27.so.3.7 +0 -0
- casadi/libcasadi_linsol_mumps.so +0 -0
- casadi/libcasadi_linsol_mumps.so.3.7 +0 -0
- casadi/libcasadi_linsol_qr.so +0 -0
- casadi/libcasadi_linsol_qr.so.3.7 +0 -0
- casadi/libcasadi_linsol_symbolicqr.so +0 -0
- casadi/libcasadi_linsol_symbolicqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_tridiag.so +0 -0
- casadi/libcasadi_linsol_tridiag.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_alpaqa.so +0 -0
- casadi/libcasadi_nlpsol_alpaqa.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ampl.so +0 -0
- casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_bonmin.so +0 -0
- casadi/libcasadi_nlpsol_bonmin.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ipopt.so +0 -0
- casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_knitro.so +0 -0
- casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_madnlp.so +0 -0
- casadi/libcasadi_nlpsol_madnlp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_scpgen.so +0 -0
- casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_sleqp.so +0 -0
- casadi/libcasadi_nlpsol_sleqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_snopt.so +0 -0
- casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_worhp.so +0 -0
- casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_kinsol.so +0 -0
- casadi/libcasadi_rootfinder_kinsol.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_newton.so +0 -0
- casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_nlpsol.so +0 -0
- casadi/libcasadi_rootfinder_nlpsol.so.3.7 +0 -0
- casadi/libcasadi_sundials_common.so +0 -0
- casadi/libcasadi_sundials_common.so.3.7 +0 -0
- casadi/libcasadi_xmlfile_tinyxml.so +0 -0
- casadi/libcasadi_xmlfile_tinyxml.so.3.7 +0 -0
- casadi/libcoinmetis.la +41 -0
- casadi/libcoinmetis.so +0 -0
- casadi/libcoinmetis.so.2 +0 -0
- casadi/libcoinmetis.so.2.0.0 +0 -0
- casadi/libcoinmumps.la +41 -0
- casadi/libcoinmumps.so +0 -0
- casadi/libcoinmumps.so.3 +0 -0
- casadi/libcoinmumps.so.3.0.1 +0 -0
- casadi/libdaqp.so +0 -0
- casadi/libdaqpstat.a +0 -0
- casadi/libgfortran-a8535147.so.5.0.0 +0 -0
- casadi/libgurobi_adaptor.so +0 -0
- casadi/libhighs.so +0 -0
- casadi/libhighs.so.1 +0 -0
- casadi/libhighs.so.1.10.0 +0 -0
- casadi/libindirect.a +0 -0
- casadi/libipopt.la +41 -0
- casadi/libipopt.so +0 -0
- casadi/libipopt.so.3 +0 -0
- casadi/libipopt.so.3.14.11 +0 -0
- casadi/liblinsys.a +0 -0
- casadi/libmatlab_ipc.so +0 -0
- casadi/libosqp.a +0 -0
- casadi/libosqp.so +0 -0
- casadi/libqdldl.a +0 -0
- casadi/libqdldl.so +0 -0
- casadi/libquadmath-e2ac3af2.so.0.0.0 +0 -0
- casadi/libsipopt.la +41 -0
- casadi/libsipopt.so +0 -0
- casadi/libsipopt.so.3 +0 -0
- casadi/libsipopt.so.3.14.11 +0 -0
- casadi/libsleqp.so +0 -0
- casadi/libsleqp.so.1.0.1 +0 -0
- casadi/libspral.a +0 -0
- casadi/libsuperscs.a +0 -0
- casadi/libtrlib.so +0 -0
- casadi/libtrlib.so.0.4 +0 -0
- casadi/libz.a +0 -0
- casadi/libz.so +0 -0
- casadi/libz.so.1 +0 -0
- casadi/libz.so.1.3.1 +0 -0
- casadi/libzip.a +0 -0
- casadi/pkgconfig/blas.pc +11 -0
- casadi/pkgconfig/bonmin.pc +12 -0
- casadi/pkgconfig/casadi.pc +12 -0
- casadi/pkgconfig/cbc.pc +12 -0
- casadi/pkgconfig/cgl.pc +12 -0
- casadi/pkgconfig/clp.pc +12 -0
- casadi/pkgconfig/coinmetis.pc +13 -0
- casadi/pkgconfig/coinmumps.pc +15 -0
- casadi/pkgconfig/coinutils.pc +12 -0
- casadi/pkgconfig/highs.pc +12 -0
- casadi/pkgconfig/ipopt.pc +15 -0
- casadi/pkgconfig/lapack.pc +11 -0
- casadi/pkgconfig/libzip.pc +14 -0
- casadi/pkgconfig/openblas.pc +11 -0
- casadi/pkgconfig/osi-cbc.pc +12 -0
- casadi/pkgconfig/osi-clp.pc +12 -0
- casadi/pkgconfig/osi-unittests.pc +12 -0
- casadi/pkgconfig/osi.pc +12 -0
- casadi/pkgconfig/proxsuite.pc +22 -0
- casadi/pkgconfig/sleqp.pc +10 -0
- casadi/tools/__init__.py +54 -0
- casadi/tools/bounds.py +107 -0
- casadi/tools/graph/__init__.py +35 -0
- casadi/tools/graph/graph.py +747 -0
- casadi/tools/in_out.py +89 -0
- casadi/tools/structure3.py +1441 -0
- casadi-3.7.2.dist-info/METADATA +45 -0
- casadi-3.7.2.dist-info/RECORD +1726 -0
- casadi-3.7.2.dist-info/WHEEL +4 -0
- dummy.txt +1 -0
@@ -0,0 +1,2074 @@
|
|
1
|
+
/* Hedley - https://nemequ.github.io/hedley
|
2
|
+
* Created by Evan Nemerson <evan@nemerson.com>
|
3
|
+
*
|
4
|
+
* To the extent possible under law, the author(s) have dedicated all
|
5
|
+
* copyright and related and neighboring rights to this software to
|
6
|
+
* the public domain worldwide. This software is distributed without
|
7
|
+
* any warranty.
|
8
|
+
*
|
9
|
+
* For details, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
10
|
+
* SPDX-License-Identifier: CC0-1.0
|
11
|
+
*/
|
12
|
+
|
13
|
+
#if !defined(HEDLEY_VERSION) || (HEDLEY_VERSION < 14)
|
14
|
+
#if defined(HEDLEY_VERSION)
|
15
|
+
#undef HEDLEY_VERSION
|
16
|
+
#endif
|
17
|
+
#define HEDLEY_VERSION 14
|
18
|
+
|
19
|
+
#if defined(HEDLEY_STRINGIFY_EX)
|
20
|
+
#undef HEDLEY_STRINGIFY_EX
|
21
|
+
#endif
|
22
|
+
#define HEDLEY_STRINGIFY_EX(x) #x
|
23
|
+
|
24
|
+
#if defined(HEDLEY_STRINGIFY)
|
25
|
+
#undef HEDLEY_STRINGIFY
|
26
|
+
#endif
|
27
|
+
#define HEDLEY_STRINGIFY(x) HEDLEY_STRINGIFY_EX(x)
|
28
|
+
|
29
|
+
#if defined(HEDLEY_CONCAT_EX)
|
30
|
+
#undef HEDLEY_CONCAT_EX
|
31
|
+
#endif
|
32
|
+
#define HEDLEY_CONCAT_EX(a, b) a##b
|
33
|
+
|
34
|
+
#if defined(HEDLEY_CONCAT)
|
35
|
+
#undef HEDLEY_CONCAT
|
36
|
+
#endif
|
37
|
+
#define HEDLEY_CONCAT(a, b) HEDLEY_CONCAT_EX(a, b)
|
38
|
+
|
39
|
+
#if defined(HEDLEY_CONCAT3_EX)
|
40
|
+
#undef HEDLEY_CONCAT3_EX
|
41
|
+
#endif
|
42
|
+
#define HEDLEY_CONCAT3_EX(a, b, c) a##b##c
|
43
|
+
|
44
|
+
#if defined(HEDLEY_CONCAT3)
|
45
|
+
#undef HEDLEY_CONCAT3
|
46
|
+
#endif
|
47
|
+
#define HEDLEY_CONCAT3(a, b, c) HEDLEY_CONCAT3_EX(a, b, c)
|
48
|
+
|
49
|
+
#if defined(HEDLEY_VERSION_ENCODE)
|
50
|
+
#undef HEDLEY_VERSION_ENCODE
|
51
|
+
#endif
|
52
|
+
#define HEDLEY_VERSION_ENCODE(major, minor, revision) \
|
53
|
+
(((major)*1000000) + ((minor)*1000) + (revision))
|
54
|
+
|
55
|
+
#if defined(HEDLEY_VERSION_DECODE_MAJOR)
|
56
|
+
#undef HEDLEY_VERSION_DECODE_MAJOR
|
57
|
+
#endif
|
58
|
+
#define HEDLEY_VERSION_DECODE_MAJOR(version) ((version) / 1000000)
|
59
|
+
|
60
|
+
#if defined(HEDLEY_VERSION_DECODE_MINOR)
|
61
|
+
#undef HEDLEY_VERSION_DECODE_MINOR
|
62
|
+
#endif
|
63
|
+
#define HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000)
|
64
|
+
|
65
|
+
#if defined(HEDLEY_VERSION_DECODE_REVISION)
|
66
|
+
#undef HEDLEY_VERSION_DECODE_REVISION
|
67
|
+
#endif
|
68
|
+
#define HEDLEY_VERSION_DECODE_REVISION(version) ((version) % 1000)
|
69
|
+
|
70
|
+
#if defined(HEDLEY_GNUC_VERSION)
|
71
|
+
#undef HEDLEY_GNUC_VERSION
|
72
|
+
#endif
|
73
|
+
#if defined(__GNUC__) && defined(__GNUC_PATCHLEVEL__)
|
74
|
+
#define HEDLEY_GNUC_VERSION \
|
75
|
+
HEDLEY_VERSION_ENCODE(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__)
|
76
|
+
#elif defined(__GNUC__)
|
77
|
+
#define HEDLEY_GNUC_VERSION HEDLEY_VERSION_ENCODE(__GNUC__, __GNUC_MINOR__, 0)
|
78
|
+
#endif
|
79
|
+
|
80
|
+
#if defined(HEDLEY_GNUC_VERSION_CHECK)
|
81
|
+
#undef HEDLEY_GNUC_VERSION_CHECK
|
82
|
+
#endif
|
83
|
+
#if defined(HEDLEY_GNUC_VERSION)
|
84
|
+
#define HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) \
|
85
|
+
(HEDLEY_GNUC_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
86
|
+
#else
|
87
|
+
#define HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) (0)
|
88
|
+
#endif
|
89
|
+
|
90
|
+
#if defined(HEDLEY_MSVC_VERSION)
|
91
|
+
#undef HEDLEY_MSVC_VERSION
|
92
|
+
#endif
|
93
|
+
#if defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 140000000) && !defined(__ICL)
|
94
|
+
#define HEDLEY_MSVC_VERSION \
|
95
|
+
HEDLEY_VERSION_ENCODE(_MSC_FULL_VER / 10000000, \
|
96
|
+
(_MSC_FULL_VER % 10000000) / 100000, \
|
97
|
+
(_MSC_FULL_VER % 100000) / 100)
|
98
|
+
#elif defined(_MSC_FULL_VER) && !defined(__ICL)
|
99
|
+
#define HEDLEY_MSVC_VERSION \
|
100
|
+
HEDLEY_VERSION_ENCODE(_MSC_FULL_VER / 1000000, \
|
101
|
+
(_MSC_FULL_VER % 1000000) / 10000, \
|
102
|
+
(_MSC_FULL_VER % 10000) / 10)
|
103
|
+
#elif defined(_MSC_VER) && !defined(__ICL)
|
104
|
+
#define HEDLEY_MSVC_VERSION \
|
105
|
+
HEDLEY_VERSION_ENCODE(_MSC_VER / 100, _MSC_VER % 100, 0)
|
106
|
+
#endif
|
107
|
+
|
108
|
+
#if defined(HEDLEY_MSVC_VERSION_CHECK)
|
109
|
+
#undef HEDLEY_MSVC_VERSION_CHECK
|
110
|
+
#endif
|
111
|
+
#if !defined(HEDLEY_MSVC_VERSION)
|
112
|
+
#define HEDLEY_MSVC_VERSION_CHECK(major, minor, patch) (0)
|
113
|
+
#elif defined(_MSC_VER) && (_MSC_VER >= 1400)
|
114
|
+
#define HEDLEY_MSVC_VERSION_CHECK(major, minor, patch) \
|
115
|
+
(_MSC_FULL_VER >= ((major * 10000000) + (minor * 100000) + (patch)))
|
116
|
+
#elif defined(_MSC_VER) && (_MSC_VER >= 1200)
|
117
|
+
#define HEDLEY_MSVC_VERSION_CHECK(major, minor, patch) \
|
118
|
+
(_MSC_FULL_VER >= ((major * 1000000) + (minor * 10000) + (patch)))
|
119
|
+
#else
|
120
|
+
#define HEDLEY_MSVC_VERSION_CHECK(major, minor, patch) \
|
121
|
+
(_MSC_VER >= ((major * 100) + (minor)))
|
122
|
+
#endif
|
123
|
+
|
124
|
+
#if defined(HEDLEY_INTEL_VERSION)
|
125
|
+
#undef HEDLEY_INTEL_VERSION
|
126
|
+
#endif
|
127
|
+
#if defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE) && \
|
128
|
+
!defined(__ICL)
|
129
|
+
#define HEDLEY_INTEL_VERSION \
|
130
|
+
HEDLEY_VERSION_ENCODE( \
|
131
|
+
__INTEL_COMPILER / 100, __INTEL_COMPILER % 100, __INTEL_COMPILER_UPDATE)
|
132
|
+
#elif defined(__INTEL_COMPILER) && !defined(__ICL)
|
133
|
+
#define HEDLEY_INTEL_VERSION \
|
134
|
+
HEDLEY_VERSION_ENCODE(__INTEL_COMPILER / 100, __INTEL_COMPILER % 100, 0)
|
135
|
+
#endif
|
136
|
+
|
137
|
+
#if defined(HEDLEY_INTEL_VERSION_CHECK)
|
138
|
+
#undef HEDLEY_INTEL_VERSION_CHECK
|
139
|
+
#endif
|
140
|
+
#if defined(HEDLEY_INTEL_VERSION)
|
141
|
+
#define HEDLEY_INTEL_VERSION_CHECK(major, minor, patch) \
|
142
|
+
(HEDLEY_INTEL_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
143
|
+
#else
|
144
|
+
#define HEDLEY_INTEL_VERSION_CHECK(major, minor, patch) (0)
|
145
|
+
#endif
|
146
|
+
|
147
|
+
#if defined(HEDLEY_INTEL_CL_VERSION)
|
148
|
+
#undef HEDLEY_INTEL_CL_VERSION
|
149
|
+
#endif
|
150
|
+
#if defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE) && \
|
151
|
+
defined(__ICL)
|
152
|
+
#define HEDLEY_INTEL_CL_VERSION \
|
153
|
+
HEDLEY_VERSION_ENCODE(__INTEL_COMPILER, __INTEL_COMPILER_UPDATE, 0)
|
154
|
+
#endif
|
155
|
+
|
156
|
+
#if defined(HEDLEY_INTEL_CL_VERSION_CHECK)
|
157
|
+
#undef HEDLEY_INTEL_CL_VERSION_CHECK
|
158
|
+
#endif
|
159
|
+
#if defined(HEDLEY_INTEL_CL_VERSION)
|
160
|
+
#define HEDLEY_INTEL_CL_VERSION_CHECK(major, minor, patch) \
|
161
|
+
(HEDLEY_INTEL_CL_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
162
|
+
#else
|
163
|
+
#define HEDLEY_INTEL_CL_VERSION_CHECK(major, minor, patch) (0)
|
164
|
+
#endif
|
165
|
+
|
166
|
+
#if defined(HEDLEY_PGI_VERSION)
|
167
|
+
#undef HEDLEY_PGI_VERSION
|
168
|
+
#endif
|
169
|
+
#if defined(__PGI) && defined(__PGIC__) && defined(__PGIC_MINOR__) && \
|
170
|
+
defined(__PGIC_PATCHLEVEL__)
|
171
|
+
#define HEDLEY_PGI_VERSION \
|
172
|
+
HEDLEY_VERSION_ENCODE(__PGIC__, __PGIC_MINOR__, __PGIC_PATCHLEVEL__)
|
173
|
+
#endif
|
174
|
+
|
175
|
+
#if defined(HEDLEY_PGI_VERSION_CHECK)
|
176
|
+
#undef HEDLEY_PGI_VERSION_CHECK
|
177
|
+
#endif
|
178
|
+
#if defined(HEDLEY_PGI_VERSION)
|
179
|
+
#define HEDLEY_PGI_VERSION_CHECK(major, minor, patch) \
|
180
|
+
(HEDLEY_PGI_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
181
|
+
#else
|
182
|
+
#define HEDLEY_PGI_VERSION_CHECK(major, minor, patch) (0)
|
183
|
+
#endif
|
184
|
+
|
185
|
+
#if defined(HEDLEY_SUNPRO_VERSION)
|
186
|
+
#undef HEDLEY_SUNPRO_VERSION
|
187
|
+
#endif
|
188
|
+
#if defined(__SUNPRO_C) && (__SUNPRO_C > 0x1000)
|
189
|
+
#define HEDLEY_SUNPRO_VERSION \
|
190
|
+
HEDLEY_VERSION_ENCODE( \
|
191
|
+
(((__SUNPRO_C >> 16) & 0xf) * 10) + ((__SUNPRO_C >> 12) & 0xf), \
|
192
|
+
(((__SUNPRO_C >> 8) & 0xf) * 10) + ((__SUNPRO_C >> 4) & 0xf), \
|
193
|
+
(__SUNPRO_C & 0xf) * 10)
|
194
|
+
#elif defined(__SUNPRO_C)
|
195
|
+
#define HEDLEY_SUNPRO_VERSION \
|
196
|
+
HEDLEY_VERSION_ENCODE( \
|
197
|
+
(__SUNPRO_C >> 8) & 0xf, (__SUNPRO_C >> 4) & 0xf, (__SUNPRO_C)&0xf)
|
198
|
+
#elif defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x1000)
|
199
|
+
#define HEDLEY_SUNPRO_VERSION \
|
200
|
+
HEDLEY_VERSION_ENCODE( \
|
201
|
+
(((__SUNPRO_CC >> 16) & 0xf) * 10) + ((__SUNPRO_CC >> 12) & 0xf), \
|
202
|
+
(((__SUNPRO_CC >> 8) & 0xf) * 10) + ((__SUNPRO_CC >> 4) & 0xf), \
|
203
|
+
(__SUNPRO_CC & 0xf) * 10)
|
204
|
+
#elif defined(__SUNPRO_CC)
|
205
|
+
#define HEDLEY_SUNPRO_VERSION \
|
206
|
+
HEDLEY_VERSION_ENCODE( \
|
207
|
+
(__SUNPRO_CC >> 8) & 0xf, (__SUNPRO_CC >> 4) & 0xf, (__SUNPRO_CC)&0xf)
|
208
|
+
#endif
|
209
|
+
|
210
|
+
#if defined(HEDLEY_SUNPRO_VERSION_CHECK)
|
211
|
+
#undef HEDLEY_SUNPRO_VERSION_CHECK
|
212
|
+
#endif
|
213
|
+
#if defined(HEDLEY_SUNPRO_VERSION)
|
214
|
+
#define HEDLEY_SUNPRO_VERSION_CHECK(major, minor, patch) \
|
215
|
+
(HEDLEY_SUNPRO_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
216
|
+
#else
|
217
|
+
#define HEDLEY_SUNPRO_VERSION_CHECK(major, minor, patch) (0)
|
218
|
+
#endif
|
219
|
+
|
220
|
+
#if defined(HEDLEY_EMSCRIPTEN_VERSION)
|
221
|
+
#undef HEDLEY_EMSCRIPTEN_VERSION
|
222
|
+
#endif
|
223
|
+
#if defined(__EMSCRIPTEN__)
|
224
|
+
#define HEDLEY_EMSCRIPTEN_VERSION \
|
225
|
+
HEDLEY_VERSION_ENCODE( \
|
226
|
+
__EMSCRIPTEN_major__, __EMSCRIPTEN_minor__, __EMSCRIPTEN_tiny__)
|
227
|
+
#endif
|
228
|
+
|
229
|
+
#if defined(HEDLEY_EMSCRIPTEN_VERSION_CHECK)
|
230
|
+
#undef HEDLEY_EMSCRIPTEN_VERSION_CHECK
|
231
|
+
#endif
|
232
|
+
#if defined(HEDLEY_EMSCRIPTEN_VERSION)
|
233
|
+
#define HEDLEY_EMSCRIPTEN_VERSION_CHECK(major, minor, patch) \
|
234
|
+
(HEDLEY_EMSCRIPTEN_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
235
|
+
#else
|
236
|
+
#define HEDLEY_EMSCRIPTEN_VERSION_CHECK(major, minor, patch) (0)
|
237
|
+
#endif
|
238
|
+
|
239
|
+
#if defined(HEDLEY_ARM_VERSION)
|
240
|
+
#undef HEDLEY_ARM_VERSION
|
241
|
+
#endif
|
242
|
+
#if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION)
|
243
|
+
#define HEDLEY_ARM_VERSION \
|
244
|
+
HEDLEY_VERSION_ENCODE(__ARMCOMPILER_VERSION / 1000000, \
|
245
|
+
(__ARMCOMPILER_VERSION % 1000000) / 10000, \
|
246
|
+
(__ARMCOMPILER_VERSION % 10000) / 100)
|
247
|
+
#elif defined(__CC_ARM) && defined(__ARMCC_VERSION)
|
248
|
+
#define HEDLEY_ARM_VERSION \
|
249
|
+
HEDLEY_VERSION_ENCODE(__ARMCC_VERSION / 1000000, \
|
250
|
+
(__ARMCC_VERSION % 1000000) / 10000, \
|
251
|
+
(__ARMCC_VERSION % 10000) / 100)
|
252
|
+
#endif
|
253
|
+
|
254
|
+
#if defined(HEDLEY_ARM_VERSION_CHECK)
|
255
|
+
#undef HEDLEY_ARM_VERSION_CHECK
|
256
|
+
#endif
|
257
|
+
#if defined(HEDLEY_ARM_VERSION)
|
258
|
+
#define HEDLEY_ARM_VERSION_CHECK(major, minor, patch) \
|
259
|
+
(HEDLEY_ARM_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
260
|
+
#else
|
261
|
+
#define HEDLEY_ARM_VERSION_CHECK(major, minor, patch) (0)
|
262
|
+
#endif
|
263
|
+
|
264
|
+
#if defined(HEDLEY_IBM_VERSION)
|
265
|
+
#undef HEDLEY_IBM_VERSION
|
266
|
+
#endif
|
267
|
+
#if defined(__ibmxl__)
|
268
|
+
#define HEDLEY_IBM_VERSION \
|
269
|
+
HEDLEY_VERSION_ENCODE( \
|
270
|
+
__ibmxl_version__, __ibmxl_release__, __ibmxl_modification__)
|
271
|
+
#elif defined(__xlC__) && defined(__xlC_ver__)
|
272
|
+
#define HEDLEY_IBM_VERSION \
|
273
|
+
HEDLEY_VERSION_ENCODE(__xlC__ >> 8, __xlC__ & 0xff, (__xlC_ver__ >> 8) & 0xff)
|
274
|
+
#elif defined(__xlC__)
|
275
|
+
#define HEDLEY_IBM_VERSION \
|
276
|
+
HEDLEY_VERSION_ENCODE(__xlC__ >> 8, __xlC__ & 0xff, 0)
|
277
|
+
#endif
|
278
|
+
|
279
|
+
#if defined(HEDLEY_IBM_VERSION_CHECK)
|
280
|
+
#undef HEDLEY_IBM_VERSION_CHECK
|
281
|
+
#endif
|
282
|
+
#if defined(HEDLEY_IBM_VERSION)
|
283
|
+
#define HEDLEY_IBM_VERSION_CHECK(major, minor, patch) \
|
284
|
+
(HEDLEY_IBM_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
285
|
+
#else
|
286
|
+
#define HEDLEY_IBM_VERSION_CHECK(major, minor, patch) (0)
|
287
|
+
#endif
|
288
|
+
|
289
|
+
#if defined(HEDLEY_TI_VERSION)
|
290
|
+
#undef HEDLEY_TI_VERSION
|
291
|
+
#endif
|
292
|
+
#if defined(__TI_COMPILER_VERSION__) && \
|
293
|
+
(defined(__TMS470__) || defined(__TI_ARM__) || defined(__MSP430__) || \
|
294
|
+
defined(__TMS320C2000__))
|
295
|
+
#if (__TI_COMPILER_VERSION__ >= 16000000)
|
296
|
+
#define HEDLEY_TI_VERSION \
|
297
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
298
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
299
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
300
|
+
#endif
|
301
|
+
#endif
|
302
|
+
|
303
|
+
#if defined(HEDLEY_TI_VERSION_CHECK)
|
304
|
+
#undef HEDLEY_TI_VERSION_CHECK
|
305
|
+
#endif
|
306
|
+
#if defined(HEDLEY_TI_VERSION)
|
307
|
+
#define HEDLEY_TI_VERSION_CHECK(major, minor, patch) \
|
308
|
+
(HEDLEY_TI_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
309
|
+
#else
|
310
|
+
#define HEDLEY_TI_VERSION_CHECK(major, minor, patch) (0)
|
311
|
+
#endif
|
312
|
+
|
313
|
+
#if defined(HEDLEY_TI_CL2000_VERSION)
|
314
|
+
#undef HEDLEY_TI_CL2000_VERSION
|
315
|
+
#endif
|
316
|
+
#if defined(__TI_COMPILER_VERSION__) && defined(__TMS320C2000__)
|
317
|
+
#define HEDLEY_TI_CL2000_VERSION \
|
318
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
319
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
320
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
321
|
+
#endif
|
322
|
+
|
323
|
+
#if defined(HEDLEY_TI_CL2000_VERSION_CHECK)
|
324
|
+
#undef HEDLEY_TI_CL2000_VERSION_CHECK
|
325
|
+
#endif
|
326
|
+
#if defined(HEDLEY_TI_CL2000_VERSION)
|
327
|
+
#define HEDLEY_TI_CL2000_VERSION_CHECK(major, minor, patch) \
|
328
|
+
(HEDLEY_TI_CL2000_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
329
|
+
#else
|
330
|
+
#define HEDLEY_TI_CL2000_VERSION_CHECK(major, minor, patch) (0)
|
331
|
+
#endif
|
332
|
+
|
333
|
+
#if defined(HEDLEY_TI_CL430_VERSION)
|
334
|
+
#undef HEDLEY_TI_CL430_VERSION
|
335
|
+
#endif
|
336
|
+
#if defined(__TI_COMPILER_VERSION__) && defined(__MSP430__)
|
337
|
+
#define HEDLEY_TI_CL430_VERSION \
|
338
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
339
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
340
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
341
|
+
#endif
|
342
|
+
|
343
|
+
#if defined(HEDLEY_TI_CL430_VERSION_CHECK)
|
344
|
+
#undef HEDLEY_TI_CL430_VERSION_CHECK
|
345
|
+
#endif
|
346
|
+
#if defined(HEDLEY_TI_CL430_VERSION)
|
347
|
+
#define HEDLEY_TI_CL430_VERSION_CHECK(major, minor, patch) \
|
348
|
+
(HEDLEY_TI_CL430_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
349
|
+
#else
|
350
|
+
#define HEDLEY_TI_CL430_VERSION_CHECK(major, minor, patch) (0)
|
351
|
+
#endif
|
352
|
+
|
353
|
+
#if defined(HEDLEY_TI_ARMCL_VERSION)
|
354
|
+
#undef HEDLEY_TI_ARMCL_VERSION
|
355
|
+
#endif
|
356
|
+
#if defined(__TI_COMPILER_VERSION__) && \
|
357
|
+
(defined(__TMS470__) || defined(__TI_ARM__))
|
358
|
+
#define HEDLEY_TI_ARMCL_VERSION \
|
359
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
360
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
361
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
362
|
+
#endif
|
363
|
+
|
364
|
+
#if defined(HEDLEY_TI_ARMCL_VERSION_CHECK)
|
365
|
+
#undef HEDLEY_TI_ARMCL_VERSION_CHECK
|
366
|
+
#endif
|
367
|
+
#if defined(HEDLEY_TI_ARMCL_VERSION)
|
368
|
+
#define HEDLEY_TI_ARMCL_VERSION_CHECK(major, minor, patch) \
|
369
|
+
(HEDLEY_TI_ARMCL_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
370
|
+
#else
|
371
|
+
#define HEDLEY_TI_ARMCL_VERSION_CHECK(major, minor, patch) (0)
|
372
|
+
#endif
|
373
|
+
|
374
|
+
#if defined(HEDLEY_TI_CL6X_VERSION)
|
375
|
+
#undef HEDLEY_TI_CL6X_VERSION
|
376
|
+
#endif
|
377
|
+
#if defined(__TI_COMPILER_VERSION__) && defined(__TMS320C6X__)
|
378
|
+
#define HEDLEY_TI_CL6X_VERSION \
|
379
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
380
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
381
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
382
|
+
#endif
|
383
|
+
|
384
|
+
#if defined(HEDLEY_TI_CL6X_VERSION_CHECK)
|
385
|
+
#undef HEDLEY_TI_CL6X_VERSION_CHECK
|
386
|
+
#endif
|
387
|
+
#if defined(HEDLEY_TI_CL6X_VERSION)
|
388
|
+
#define HEDLEY_TI_CL6X_VERSION_CHECK(major, minor, patch) \
|
389
|
+
(HEDLEY_TI_CL6X_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
390
|
+
#else
|
391
|
+
#define HEDLEY_TI_CL6X_VERSION_CHECK(major, minor, patch) (0)
|
392
|
+
#endif
|
393
|
+
|
394
|
+
#if defined(HEDLEY_TI_CL7X_VERSION)
|
395
|
+
#undef HEDLEY_TI_CL7X_VERSION
|
396
|
+
#endif
|
397
|
+
#if defined(__TI_COMPILER_VERSION__) && defined(__C7000__)
|
398
|
+
#define HEDLEY_TI_CL7X_VERSION \
|
399
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
400
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
401
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
402
|
+
#endif
|
403
|
+
|
404
|
+
#if defined(HEDLEY_TI_CL7X_VERSION_CHECK)
|
405
|
+
#undef HEDLEY_TI_CL7X_VERSION_CHECK
|
406
|
+
#endif
|
407
|
+
#if defined(HEDLEY_TI_CL7X_VERSION)
|
408
|
+
#define HEDLEY_TI_CL7X_VERSION_CHECK(major, minor, patch) \
|
409
|
+
(HEDLEY_TI_CL7X_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
410
|
+
#else
|
411
|
+
#define HEDLEY_TI_CL7X_VERSION_CHECK(major, minor, patch) (0)
|
412
|
+
#endif
|
413
|
+
|
414
|
+
#if defined(HEDLEY_TI_CLPRU_VERSION)
|
415
|
+
#undef HEDLEY_TI_CLPRU_VERSION
|
416
|
+
#endif
|
417
|
+
#if defined(__TI_COMPILER_VERSION__) && defined(__PRU__)
|
418
|
+
#define HEDLEY_TI_CLPRU_VERSION \
|
419
|
+
HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, \
|
420
|
+
(__TI_COMPILER_VERSION__ % 1000000) / 1000, \
|
421
|
+
(__TI_COMPILER_VERSION__ % 1000))
|
422
|
+
#endif
|
423
|
+
|
424
|
+
#if defined(HEDLEY_TI_CLPRU_VERSION_CHECK)
|
425
|
+
#undef HEDLEY_TI_CLPRU_VERSION_CHECK
|
426
|
+
#endif
|
427
|
+
#if defined(HEDLEY_TI_CLPRU_VERSION)
|
428
|
+
#define HEDLEY_TI_CLPRU_VERSION_CHECK(major, minor, patch) \
|
429
|
+
(HEDLEY_TI_CLPRU_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
430
|
+
#else
|
431
|
+
#define HEDLEY_TI_CLPRU_VERSION_CHECK(major, minor, patch) (0)
|
432
|
+
#endif
|
433
|
+
|
434
|
+
#if defined(HEDLEY_CRAY_VERSION)
|
435
|
+
#undef HEDLEY_CRAY_VERSION
|
436
|
+
#endif
|
437
|
+
#if defined(_CRAYC)
|
438
|
+
#if defined(_RELEASE_PATCHLEVEL)
|
439
|
+
#define HEDLEY_CRAY_VERSION \
|
440
|
+
HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL)
|
441
|
+
#else
|
442
|
+
#define HEDLEY_CRAY_VERSION \
|
443
|
+
HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, 0)
|
444
|
+
#endif
|
445
|
+
#endif
|
446
|
+
|
447
|
+
#if defined(HEDLEY_CRAY_VERSION_CHECK)
|
448
|
+
#undef HEDLEY_CRAY_VERSION_CHECK
|
449
|
+
#endif
|
450
|
+
#if defined(HEDLEY_CRAY_VERSION)
|
451
|
+
#define HEDLEY_CRAY_VERSION_CHECK(major, minor, patch) \
|
452
|
+
(HEDLEY_CRAY_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
453
|
+
#else
|
454
|
+
#define HEDLEY_CRAY_VERSION_CHECK(major, minor, patch) (0)
|
455
|
+
#endif
|
456
|
+
|
457
|
+
#if defined(HEDLEY_IAR_VERSION)
|
458
|
+
#undef HEDLEY_IAR_VERSION
|
459
|
+
#endif
|
460
|
+
#if defined(__IAR_SYSTEMS_ICC__)
|
461
|
+
#if __VER__ > 1000
|
462
|
+
#define HEDLEY_IAR_VERSION \
|
463
|
+
HEDLEY_VERSION_ENCODE( \
|
464
|
+
(__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VER__ % 1000))
|
465
|
+
#else
|
466
|
+
#define HEDLEY_IAR_VERSION HEDLEY_VERSION_ENCODE(VER / 100, __VER__ % 100, 0)
|
467
|
+
#endif
|
468
|
+
#endif
|
469
|
+
|
470
|
+
#if defined(HEDLEY_IAR_VERSION_CHECK)
|
471
|
+
#undef HEDLEY_IAR_VERSION_CHECK
|
472
|
+
#endif
|
473
|
+
#if defined(HEDLEY_IAR_VERSION)
|
474
|
+
#define HEDLEY_IAR_VERSION_CHECK(major, minor, patch) \
|
475
|
+
(HEDLEY_IAR_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
476
|
+
#else
|
477
|
+
#define HEDLEY_IAR_VERSION_CHECK(major, minor, patch) (0)
|
478
|
+
#endif
|
479
|
+
|
480
|
+
#if defined(HEDLEY_TINYC_VERSION)
|
481
|
+
#undef HEDLEY_TINYC_VERSION
|
482
|
+
#endif
|
483
|
+
#if defined(__TINYC__)
|
484
|
+
#define HEDLEY_TINYC_VERSION \
|
485
|
+
HEDLEY_VERSION_ENCODE( \
|
486
|
+
__TINYC__ / 1000, (__TINYC__ / 100) % 10, __TINYC__ % 100)
|
487
|
+
#endif
|
488
|
+
|
489
|
+
#if defined(HEDLEY_TINYC_VERSION_CHECK)
|
490
|
+
#undef HEDLEY_TINYC_VERSION_CHECK
|
491
|
+
#endif
|
492
|
+
#if defined(HEDLEY_TINYC_VERSION)
|
493
|
+
#define HEDLEY_TINYC_VERSION_CHECK(major, minor, patch) \
|
494
|
+
(HEDLEY_TINYC_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
495
|
+
#else
|
496
|
+
#define HEDLEY_TINYC_VERSION_CHECK(major, minor, patch) (0)
|
497
|
+
#endif
|
498
|
+
|
499
|
+
#if defined(HEDLEY_DMC_VERSION)
|
500
|
+
#undef HEDLEY_DMC_VERSION
|
501
|
+
#endif
|
502
|
+
#if defined(__DMC__)
|
503
|
+
#define HEDLEY_DMC_VERSION \
|
504
|
+
HEDLEY_VERSION_ENCODE(__DMC__ >> 8, (__DMC__ >> 4) & 0xf, __DMC__ & 0xf)
|
505
|
+
#endif
|
506
|
+
|
507
|
+
#if defined(HEDLEY_DMC_VERSION_CHECK)
|
508
|
+
#undef HEDLEY_DMC_VERSION_CHECK
|
509
|
+
#endif
|
510
|
+
#if defined(HEDLEY_DMC_VERSION)
|
511
|
+
#define HEDLEY_DMC_VERSION_CHECK(major, minor, patch) \
|
512
|
+
(HEDLEY_DMC_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
513
|
+
#else
|
514
|
+
#define HEDLEY_DMC_VERSION_CHECK(major, minor, patch) (0)
|
515
|
+
#endif
|
516
|
+
|
517
|
+
#if defined(HEDLEY_COMPCERT_VERSION)
|
518
|
+
#undef HEDLEY_COMPCERT_VERSION
|
519
|
+
#endif
|
520
|
+
#if defined(__COMPCERT_VERSION__)
|
521
|
+
#define HEDLEY_COMPCERT_VERSION \
|
522
|
+
HEDLEY_VERSION_ENCODE(__COMPCERT_VERSION__ / 10000, \
|
523
|
+
(__COMPCERT_VERSION__ / 100) % 100, \
|
524
|
+
__COMPCERT_VERSION__ % 100)
|
525
|
+
#endif
|
526
|
+
|
527
|
+
#if defined(HEDLEY_COMPCERT_VERSION_CHECK)
|
528
|
+
#undef HEDLEY_COMPCERT_VERSION_CHECK
|
529
|
+
#endif
|
530
|
+
#if defined(HEDLEY_COMPCERT_VERSION)
|
531
|
+
#define HEDLEY_COMPCERT_VERSION_CHECK(major, minor, patch) \
|
532
|
+
(HEDLEY_COMPCERT_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
533
|
+
#else
|
534
|
+
#define HEDLEY_COMPCERT_VERSION_CHECK(major, minor, patch) (0)
|
535
|
+
#endif
|
536
|
+
|
537
|
+
#if defined(HEDLEY_PELLES_VERSION)
|
538
|
+
#undef HEDLEY_PELLES_VERSION
|
539
|
+
#endif
|
540
|
+
#if defined(__POCC__)
|
541
|
+
#define HEDLEY_PELLES_VERSION \
|
542
|
+
HEDLEY_VERSION_ENCODE(__POCC__ / 100, __POCC__ % 100, 0)
|
543
|
+
#endif
|
544
|
+
|
545
|
+
#if defined(HEDLEY_PELLES_VERSION_CHECK)
|
546
|
+
#undef HEDLEY_PELLES_VERSION_CHECK
|
547
|
+
#endif
|
548
|
+
#if defined(HEDLEY_PELLES_VERSION)
|
549
|
+
#define HEDLEY_PELLES_VERSION_CHECK(major, minor, patch) \
|
550
|
+
(HEDLEY_PELLES_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
551
|
+
#else
|
552
|
+
#define HEDLEY_PELLES_VERSION_CHECK(major, minor, patch) (0)
|
553
|
+
#endif
|
554
|
+
|
555
|
+
#if defined(HEDLEY_GCC_VERSION)
|
556
|
+
#undef HEDLEY_GCC_VERSION
|
557
|
+
#endif
|
558
|
+
#if defined(HEDLEY_GNUC_VERSION) && !defined(__clang__) && \
|
559
|
+
!defined(HEDLEY_INTEL_VERSION) && !defined(HEDLEY_PGI_VERSION) && \
|
560
|
+
!defined(HEDLEY_ARM_VERSION) && !defined(HEDLEY_TI_VERSION) && \
|
561
|
+
!defined(HEDLEY_TI_ARMCL_VERSION) && !defined(HEDLEY_TI_CL430_VERSION) && \
|
562
|
+
!defined(HEDLEY_TI_CL2000_VERSION) && !defined(HEDLEY_TI_CL6X_VERSION) && \
|
563
|
+
!defined(HEDLEY_TI_CL7X_VERSION) && !defined(HEDLEY_TI_CLPRU_VERSION) && \
|
564
|
+
!defined(__COMPCERT__)
|
565
|
+
#define HEDLEY_GCC_VERSION HEDLEY_GNUC_VERSION
|
566
|
+
#endif
|
567
|
+
|
568
|
+
#if defined(HEDLEY_GCC_VERSION_CHECK)
|
569
|
+
#undef HEDLEY_GCC_VERSION_CHECK
|
570
|
+
#endif
|
571
|
+
#if defined(HEDLEY_GCC_VERSION)
|
572
|
+
#define HEDLEY_GCC_VERSION_CHECK(major, minor, patch) \
|
573
|
+
(HEDLEY_GCC_VERSION >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
574
|
+
#else
|
575
|
+
#define HEDLEY_GCC_VERSION_CHECK(major, minor, patch) (0)
|
576
|
+
#endif
|
577
|
+
|
578
|
+
#if defined(HEDLEY_HAS_ATTRIBUTE)
|
579
|
+
#undef HEDLEY_HAS_ATTRIBUTE
|
580
|
+
#endif
|
581
|
+
#if defined(__has_attribute)
|
582
|
+
#define HEDLEY_HAS_ATTRIBUTE(attribute) __has_attribute(attribute)
|
583
|
+
#else
|
584
|
+
#define HEDLEY_HAS_ATTRIBUTE(attribute) (0)
|
585
|
+
#endif
|
586
|
+
|
587
|
+
#if defined(HEDLEY_GNUC_HAS_ATTRIBUTE)
|
588
|
+
#undef HEDLEY_GNUC_HAS_ATTRIBUTE
|
589
|
+
#endif
|
590
|
+
#if defined(__has_attribute)
|
591
|
+
#define HEDLEY_GNUC_HAS_ATTRIBUTE(attribute, major, minor, patch) \
|
592
|
+
__has_attribute(attribute)
|
593
|
+
#else
|
594
|
+
#define HEDLEY_GNUC_HAS_ATTRIBUTE(attribute, major, minor, patch) \
|
595
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
596
|
+
#endif
|
597
|
+
|
598
|
+
#if defined(HEDLEY_GCC_HAS_ATTRIBUTE)
|
599
|
+
#undef HEDLEY_GCC_HAS_ATTRIBUTE
|
600
|
+
#endif
|
601
|
+
#if defined(__has_attribute)
|
602
|
+
#define HEDLEY_GCC_HAS_ATTRIBUTE(attribute, major, minor, patch) \
|
603
|
+
__has_attribute(attribute)
|
604
|
+
#else
|
605
|
+
#define HEDLEY_GCC_HAS_ATTRIBUTE(attribute, major, minor, patch) \
|
606
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
607
|
+
#endif
|
608
|
+
|
609
|
+
#if defined(HEDLEY_HAS_CPP_ATTRIBUTE)
|
610
|
+
#undef HEDLEY_HAS_CPP_ATTRIBUTE
|
611
|
+
#endif
|
612
|
+
#if defined(__has_cpp_attribute) && defined(__cplusplus) && \
|
613
|
+
(!defined(HEDLEY_SUNPRO_VERSION) || HEDLEY_SUNPRO_VERSION_CHECK(5, 15, 0))
|
614
|
+
#define HEDLEY_HAS_CPP_ATTRIBUTE(attribute) __has_cpp_attribute(attribute)
|
615
|
+
#else
|
616
|
+
#define HEDLEY_HAS_CPP_ATTRIBUTE(attribute) (0)
|
617
|
+
#endif
|
618
|
+
|
619
|
+
#if defined(HEDLEY_HAS_CPP_ATTRIBUTE_NS)
|
620
|
+
#undef HEDLEY_HAS_CPP_ATTRIBUTE_NS
|
621
|
+
#endif
|
622
|
+
#if !defined(__cplusplus) || !defined(__has_cpp_attribute)
|
623
|
+
#define HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns, attribute) (0)
|
624
|
+
#elif !defined(HEDLEY_PGI_VERSION) && !defined(HEDLEY_IAR_VERSION) && \
|
625
|
+
(!defined(HEDLEY_SUNPRO_VERSION) || \
|
626
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 15, 0)) && \
|
627
|
+
(!defined(HEDLEY_MSVC_VERSION) || HEDLEY_MSVC_VERSION_CHECK(19, 20, 0))
|
628
|
+
#define HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns, attribute) \
|
629
|
+
HEDLEY_HAS_CPP_ATTRIBUTE(ns::attribute)
|
630
|
+
#else
|
631
|
+
#define HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns, attribute) (0)
|
632
|
+
#endif
|
633
|
+
|
634
|
+
#if defined(HEDLEY_GNUC_HAS_CPP_ATTRIBUTE)
|
635
|
+
#undef HEDLEY_GNUC_HAS_CPP_ATTRIBUTE
|
636
|
+
#endif
|
637
|
+
#if defined(__has_cpp_attribute) && defined(__cplusplus)
|
638
|
+
#define HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) \
|
639
|
+
__has_cpp_attribute(attribute)
|
640
|
+
#else
|
641
|
+
#define HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) \
|
642
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
643
|
+
#endif
|
644
|
+
|
645
|
+
#if defined(HEDLEY_GCC_HAS_CPP_ATTRIBUTE)
|
646
|
+
#undef HEDLEY_GCC_HAS_CPP_ATTRIBUTE
|
647
|
+
#endif
|
648
|
+
#if defined(__has_cpp_attribute) && defined(__cplusplus)
|
649
|
+
#define HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) \
|
650
|
+
__has_cpp_attribute(attribute)
|
651
|
+
#else
|
652
|
+
#define HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) \
|
653
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
654
|
+
#endif
|
655
|
+
|
656
|
+
#if defined(HEDLEY_HAS_BUILTIN)
|
657
|
+
#undef HEDLEY_HAS_BUILTIN
|
658
|
+
#endif
|
659
|
+
#if defined(__has_builtin)
|
660
|
+
#define HEDLEY_HAS_BUILTIN(builtin) __has_builtin(builtin)
|
661
|
+
#else
|
662
|
+
#define HEDLEY_HAS_BUILTIN(builtin) (0)
|
663
|
+
#endif
|
664
|
+
|
665
|
+
#if defined(HEDLEY_GNUC_HAS_BUILTIN)
|
666
|
+
#undef HEDLEY_GNUC_HAS_BUILTIN
|
667
|
+
#endif
|
668
|
+
#if defined(__has_builtin)
|
669
|
+
#define HEDLEY_GNUC_HAS_BUILTIN(builtin, major, minor, patch) \
|
670
|
+
__has_builtin(builtin)
|
671
|
+
#else
|
672
|
+
#define HEDLEY_GNUC_HAS_BUILTIN(builtin, major, minor, patch) \
|
673
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
674
|
+
#endif
|
675
|
+
|
676
|
+
#if defined(HEDLEY_GCC_HAS_BUILTIN)
|
677
|
+
#undef HEDLEY_GCC_HAS_BUILTIN
|
678
|
+
#endif
|
679
|
+
#if defined(__has_builtin)
|
680
|
+
#define HEDLEY_GCC_HAS_BUILTIN(builtin, major, minor, patch) \
|
681
|
+
__has_builtin(builtin)
|
682
|
+
#else
|
683
|
+
#define HEDLEY_GCC_HAS_BUILTIN(builtin, major, minor, patch) \
|
684
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
685
|
+
#endif
|
686
|
+
|
687
|
+
#if defined(HEDLEY_HAS_FEATURE)
|
688
|
+
#undef HEDLEY_HAS_FEATURE
|
689
|
+
#endif
|
690
|
+
#if defined(__has_feature)
|
691
|
+
#define HEDLEY_HAS_FEATURE(feature) __has_feature(feature)
|
692
|
+
#else
|
693
|
+
#define HEDLEY_HAS_FEATURE(feature) (0)
|
694
|
+
#endif
|
695
|
+
|
696
|
+
#if defined(HEDLEY_GNUC_HAS_FEATURE)
|
697
|
+
#undef HEDLEY_GNUC_HAS_FEATURE
|
698
|
+
#endif
|
699
|
+
#if defined(__has_feature)
|
700
|
+
#define HEDLEY_GNUC_HAS_FEATURE(feature, major, minor, patch) \
|
701
|
+
__has_feature(feature)
|
702
|
+
#else
|
703
|
+
#define HEDLEY_GNUC_HAS_FEATURE(feature, major, minor, patch) \
|
704
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
705
|
+
#endif
|
706
|
+
|
707
|
+
#if defined(HEDLEY_GCC_HAS_FEATURE)
|
708
|
+
#undef HEDLEY_GCC_HAS_FEATURE
|
709
|
+
#endif
|
710
|
+
#if defined(__has_feature)
|
711
|
+
#define HEDLEY_GCC_HAS_FEATURE(feature, major, minor, patch) \
|
712
|
+
__has_feature(feature)
|
713
|
+
#else
|
714
|
+
#define HEDLEY_GCC_HAS_FEATURE(feature, major, minor, patch) \
|
715
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
716
|
+
#endif
|
717
|
+
|
718
|
+
#if defined(HEDLEY_HAS_EXTENSION)
|
719
|
+
#undef HEDLEY_HAS_EXTENSION
|
720
|
+
#endif
|
721
|
+
#if defined(__has_extension)
|
722
|
+
#define HEDLEY_HAS_EXTENSION(extension) __has_extension(extension)
|
723
|
+
#else
|
724
|
+
#define HEDLEY_HAS_EXTENSION(extension) (0)
|
725
|
+
#endif
|
726
|
+
|
727
|
+
#if defined(HEDLEY_GNUC_HAS_EXTENSION)
|
728
|
+
#undef HEDLEY_GNUC_HAS_EXTENSION
|
729
|
+
#endif
|
730
|
+
#if defined(__has_extension)
|
731
|
+
#define HEDLEY_GNUC_HAS_EXTENSION(extension, major, minor, patch) \
|
732
|
+
__has_extension(extension)
|
733
|
+
#else
|
734
|
+
#define HEDLEY_GNUC_HAS_EXTENSION(extension, major, minor, patch) \
|
735
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
736
|
+
#endif
|
737
|
+
|
738
|
+
#if defined(HEDLEY_GCC_HAS_EXTENSION)
|
739
|
+
#undef HEDLEY_GCC_HAS_EXTENSION
|
740
|
+
#endif
|
741
|
+
#if defined(__has_extension)
|
742
|
+
#define HEDLEY_GCC_HAS_EXTENSION(extension, major, minor, patch) \
|
743
|
+
__has_extension(extension)
|
744
|
+
#else
|
745
|
+
#define HEDLEY_GCC_HAS_EXTENSION(extension, major, minor, patch) \
|
746
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
747
|
+
#endif
|
748
|
+
|
749
|
+
#if defined(HEDLEY_HAS_DECLSPEC_ATTRIBUTE)
|
750
|
+
#undef HEDLEY_HAS_DECLSPEC_ATTRIBUTE
|
751
|
+
#endif
|
752
|
+
#if defined(__has_declspec_attribute)
|
753
|
+
#define HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) \
|
754
|
+
__has_declspec_attribute(attribute)
|
755
|
+
#else
|
756
|
+
#define HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) (0)
|
757
|
+
#endif
|
758
|
+
|
759
|
+
#if defined(HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE)
|
760
|
+
#undef HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE
|
761
|
+
#endif
|
762
|
+
#if defined(__has_declspec_attribute)
|
763
|
+
#define HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) \
|
764
|
+
__has_declspec_attribute(attribute)
|
765
|
+
#else
|
766
|
+
#define HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) \
|
767
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
768
|
+
#endif
|
769
|
+
|
770
|
+
#if defined(HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE)
|
771
|
+
#undef HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE
|
772
|
+
#endif
|
773
|
+
#if defined(__has_declspec_attribute)
|
774
|
+
#define HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) \
|
775
|
+
__has_declspec_attribute(attribute)
|
776
|
+
#else
|
777
|
+
#define HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) \
|
778
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
779
|
+
#endif
|
780
|
+
|
781
|
+
#if defined(HEDLEY_HAS_WARNING)
|
782
|
+
#undef HEDLEY_HAS_WARNING
|
783
|
+
#endif
|
784
|
+
#if defined(__has_warning)
|
785
|
+
#define HEDLEY_HAS_WARNING(warning) __has_warning(warning)
|
786
|
+
#else
|
787
|
+
#define HEDLEY_HAS_WARNING(warning) (0)
|
788
|
+
#endif
|
789
|
+
|
790
|
+
#if defined(HEDLEY_GNUC_HAS_WARNING)
|
791
|
+
#undef HEDLEY_GNUC_HAS_WARNING
|
792
|
+
#endif
|
793
|
+
#if defined(__has_warning)
|
794
|
+
#define HEDLEY_GNUC_HAS_WARNING(warning, major, minor, patch) \
|
795
|
+
__has_warning(warning)
|
796
|
+
#else
|
797
|
+
#define HEDLEY_GNUC_HAS_WARNING(warning, major, minor, patch) \
|
798
|
+
HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
|
799
|
+
#endif
|
800
|
+
|
801
|
+
#if defined(HEDLEY_GCC_HAS_WARNING)
|
802
|
+
#undef HEDLEY_GCC_HAS_WARNING
|
803
|
+
#endif
|
804
|
+
#if defined(__has_warning)
|
805
|
+
#define HEDLEY_GCC_HAS_WARNING(warning, major, minor, patch) \
|
806
|
+
__has_warning(warning)
|
807
|
+
#else
|
808
|
+
#define HEDLEY_GCC_HAS_WARNING(warning, major, minor, patch) \
|
809
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
810
|
+
#endif
|
811
|
+
|
812
|
+
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || \
|
813
|
+
defined(__clang__) || HEDLEY_GCC_VERSION_CHECK(3, 0, 0) || \
|
814
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_IAR_VERSION_CHECK(8, 0, 0) || \
|
815
|
+
HEDLEY_PGI_VERSION_CHECK(18, 4, 0) || HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || \
|
816
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
817
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(4, 7, 0) || \
|
818
|
+
HEDLEY_TI_CL430_VERSION_CHECK(2, 0, 1) || \
|
819
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 1, 0) || \
|
820
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 0, 0) || \
|
821
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
822
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0) || \
|
823
|
+
HEDLEY_CRAY_VERSION_CHECK(5, 0, 0) || \
|
824
|
+
HEDLEY_TINYC_VERSION_CHECK(0, 9, 17) || \
|
825
|
+
HEDLEY_SUNPRO_VERSION_CHECK(8, 0, 0) || \
|
826
|
+
(HEDLEY_IBM_VERSION_CHECK(10, 1, 0) && defined(__C99_PRAGMA_OPERATOR))
|
827
|
+
#define HEDLEY_PRAGMA(value) _Pragma(#value)
|
828
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(15, 0, 0)
|
829
|
+
#define HEDLEY_PRAGMA(value) __pragma(value)
|
830
|
+
#else
|
831
|
+
#define HEDLEY_PRAGMA(value)
|
832
|
+
#endif
|
833
|
+
|
834
|
+
#if defined(HEDLEY_DIAGNOSTIC_PUSH)
|
835
|
+
#undef HEDLEY_DIAGNOSTIC_PUSH
|
836
|
+
#endif
|
837
|
+
#if defined(HEDLEY_DIAGNOSTIC_POP)
|
838
|
+
#undef HEDLEY_DIAGNOSTIC_POP
|
839
|
+
#endif
|
840
|
+
#if defined(__clang__)
|
841
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("clang diagnostic push")
|
842
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("clang diagnostic pop")
|
843
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
844
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("warning(push)")
|
845
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("warning(pop)")
|
846
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 6, 0)
|
847
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push")
|
848
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
|
849
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(15, 0, 0) || \
|
850
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
851
|
+
#define HEDLEY_DIAGNOSTIC_PUSH __pragma(warning(push))
|
852
|
+
#define HEDLEY_DIAGNOSTIC_POP __pragma(warning(pop))
|
853
|
+
#elif HEDLEY_ARM_VERSION_CHECK(5, 6, 0)
|
854
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("push")
|
855
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("pop")
|
856
|
+
#elif HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
857
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
858
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 4, 0) || \
|
859
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 1, 0) || \
|
860
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
861
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
862
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("diag_push")
|
863
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("diag_pop")
|
864
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(2, 90, 0)
|
865
|
+
#define HEDLEY_DIAGNOSTIC_PUSH _Pragma("warning(push)")
|
866
|
+
#define HEDLEY_DIAGNOSTIC_POP _Pragma("warning(pop)")
|
867
|
+
#else
|
868
|
+
#define HEDLEY_DIAGNOSTIC_PUSH
|
869
|
+
#define HEDLEY_DIAGNOSTIC_POP
|
870
|
+
#endif
|
871
|
+
|
872
|
+
/* HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_ is for
|
873
|
+
HEDLEY INTERNAL USE ONLY. API subject to change without notice. */
|
874
|
+
#if defined(HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_)
|
875
|
+
#undef HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_
|
876
|
+
#endif
|
877
|
+
#if defined(__cplusplus)
|
878
|
+
#if HEDLEY_HAS_WARNING("-Wc++98-compat")
|
879
|
+
#if HEDLEY_HAS_WARNING("-Wc++17-extensions")
|
880
|
+
#if HEDLEY_HAS_WARNING("-Wc++1z-extensions")
|
881
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
|
882
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
883
|
+
_Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
|
884
|
+
_Pragma("clang diagnostic ignored \"-Wc++17-extensions\"") \
|
885
|
+
_Pragma("clang diagnostic ignored \"-Wc++1z-extensions\"") \
|
886
|
+
xpr HEDLEY_DIAGNOSTIC_POP
|
887
|
+
#else
|
888
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
|
889
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
890
|
+
_Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
|
891
|
+
_Pragma("clang diagnostic ignored \"-Wc++17-extensions\"") \
|
892
|
+
xpr HEDLEY_DIAGNOSTIC_POP
|
893
|
+
#endif
|
894
|
+
#else
|
895
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
|
896
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
897
|
+
_Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
|
898
|
+
xpr HEDLEY_DIAGNOSTIC_POP
|
899
|
+
#endif
|
900
|
+
#endif
|
901
|
+
#endif
|
902
|
+
#if !defined(HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_)
|
903
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(x) x
|
904
|
+
#endif
|
905
|
+
|
906
|
+
#if defined(HEDLEY_CONST_CAST)
|
907
|
+
#undef HEDLEY_CONST_CAST
|
908
|
+
#endif
|
909
|
+
#if defined(__cplusplus)
|
910
|
+
#define HEDLEY_CONST_CAST(T, expr) (const_cast<T>(expr))
|
911
|
+
#elif HEDLEY_HAS_WARNING("-Wcast-qual") || \
|
912
|
+
HEDLEY_GCC_VERSION_CHECK(4, 6, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
913
|
+
#define HEDLEY_CONST_CAST(T, expr) \
|
914
|
+
(__extension__({ \
|
915
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
916
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL((T)(expr)); \
|
917
|
+
HEDLEY_DIAGNOSTIC_POP \
|
918
|
+
}))
|
919
|
+
#else
|
920
|
+
#define HEDLEY_CONST_CAST(T, expr) ((T)(expr))
|
921
|
+
#endif
|
922
|
+
|
923
|
+
#if defined(HEDLEY_REINTERPRET_CAST)
|
924
|
+
#undef HEDLEY_REINTERPRET_CAST
|
925
|
+
#endif
|
926
|
+
#if defined(__cplusplus)
|
927
|
+
#define HEDLEY_REINTERPRET_CAST(T, expr) (reinterpret_cast<T>(expr))
|
928
|
+
#else
|
929
|
+
#define HEDLEY_REINTERPRET_CAST(T, expr) ((T)(expr))
|
930
|
+
#endif
|
931
|
+
|
932
|
+
#if defined(HEDLEY_STATIC_CAST)
|
933
|
+
#undef HEDLEY_STATIC_CAST
|
934
|
+
#endif
|
935
|
+
#if defined(__cplusplus)
|
936
|
+
#define HEDLEY_STATIC_CAST(T, expr) (static_cast<T>(expr))
|
937
|
+
#else
|
938
|
+
#define HEDLEY_STATIC_CAST(T, expr) ((T)(expr))
|
939
|
+
#endif
|
940
|
+
|
941
|
+
#if defined(HEDLEY_CPP_CAST)
|
942
|
+
#undef HEDLEY_CPP_CAST
|
943
|
+
#endif
|
944
|
+
#if defined(__cplusplus)
|
945
|
+
#if HEDLEY_HAS_WARNING("-Wold-style-cast")
|
946
|
+
#define HEDLEY_CPP_CAST(T, expr) \
|
947
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
948
|
+
_Pragma("clang diagnostic ignored \"-Wold-style-cast\"")((T)(expr)) \
|
949
|
+
HEDLEY_DIAGNOSTIC_POP
|
950
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 3, 0)
|
951
|
+
#define HEDLEY_CPP_CAST(T, expr) \
|
952
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
953
|
+
_Pragma("diag_suppress=Pe137") HEDLEY_DIAGNOSTIC_POP
|
954
|
+
#else
|
955
|
+
#define HEDLEY_CPP_CAST(T, expr) ((T)(expr))
|
956
|
+
#endif
|
957
|
+
#else
|
958
|
+
#define HEDLEY_CPP_CAST(T, expr) (expr)
|
959
|
+
#endif
|
960
|
+
|
961
|
+
#if defined(HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED)
|
962
|
+
#undef HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
|
963
|
+
#endif
|
964
|
+
#if HEDLEY_HAS_WARNING("-Wdeprecated-declarations")
|
965
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
966
|
+
_Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
|
967
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
968
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
969
|
+
_Pragma("warning(disable:1478 1786)")
|
970
|
+
#elif HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
971
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
972
|
+
__pragma(warning(disable : 1478 1786))
|
973
|
+
#elif HEDLEY_PGI_VERSION_CHECK(20, 7, 0)
|
974
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
975
|
+
_Pragma("diag_suppress 1215,1216,1444,1445")
|
976
|
+
#elif HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
977
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1215,1444")
|
978
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 3, 0)
|
979
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
980
|
+
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
|
981
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(15, 0, 0)
|
982
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED __pragma(warning(disable : 4996))
|
983
|
+
#elif HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
984
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
985
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
986
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
987
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
988
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
989
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
990
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
991
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
992
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
993
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
994
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
995
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
996
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
997
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
998
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1291,1718")
|
999
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 13, 0) && !defined(__cplusplus)
|
1000
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
1001
|
+
_Pragma("error_messages(off,E_DEPRECATED_ATT,E_DEPRECATED_ATT_MESS)")
|
1002
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 13, 0) && defined(__cplusplus)
|
1003
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
1004
|
+
_Pragma("error_messages(off,symdeprecated,symdeprecated2)")
|
1005
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1006
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED \
|
1007
|
+
_Pragma("diag_suppress=Pe1444,Pe1215")
|
1008
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(2, 90, 0)
|
1009
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("warn(disable:2241)")
|
1010
|
+
#else
|
1011
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
|
1012
|
+
#endif
|
1013
|
+
|
1014
|
+
#if defined(HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS)
|
1015
|
+
#undef HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
|
1016
|
+
#endif
|
1017
|
+
#if HEDLEY_HAS_WARNING("-Wunknown-pragmas")
|
1018
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1019
|
+
_Pragma("clang diagnostic ignored \"-Wunknown-pragmas\"")
|
1020
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1021
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1022
|
+
_Pragma("warning(disable:161)")
|
1023
|
+
#elif HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1024
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1025
|
+
__pragma(warning(disable : 161))
|
1026
|
+
#elif HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
1027
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 1675")
|
1028
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 3, 0)
|
1029
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1030
|
+
_Pragma("GCC diagnostic ignored \"-Wunknown-pragmas\"")
|
1031
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(15, 0, 0)
|
1032
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1033
|
+
__pragma(warning(disable : 4068))
|
1034
|
+
#elif HEDLEY_TI_VERSION_CHECK(16, 9, 0) || \
|
1035
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 0, 0) || \
|
1036
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1037
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 3, 0)
|
1038
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 163")
|
1039
|
+
#elif HEDLEY_TI_CL6X_VERSION_CHECK(8, 0, 0)
|
1040
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 163")
|
1041
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1042
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress=Pe161")
|
1043
|
+
#else
|
1044
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
|
1045
|
+
#endif
|
1046
|
+
|
1047
|
+
#if defined(HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES)
|
1048
|
+
#undef HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
|
1049
|
+
#endif
|
1050
|
+
#if HEDLEY_HAS_WARNING("-Wunknown-attributes")
|
1051
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1052
|
+
_Pragma("clang diagnostic ignored \"-Wunknown-attributes\"")
|
1053
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 6, 0)
|
1054
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1055
|
+
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
|
1056
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(17, 0, 0)
|
1057
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1058
|
+
_Pragma("warning(disable:1292)")
|
1059
|
+
#elif HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1060
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1061
|
+
__pragma(warning(disable : 1292))
|
1062
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(19, 0, 0)
|
1063
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1064
|
+
__pragma(warning(disable : 5030))
|
1065
|
+
#elif HEDLEY_PGI_VERSION_CHECK(20, 7, 0)
|
1066
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1067
|
+
_Pragma("diag_suppress 1097,1098")
|
1068
|
+
#elif HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
1069
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1070
|
+
_Pragma("diag_suppress 1097")
|
1071
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 14, 0) && defined(__cplusplus)
|
1072
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1073
|
+
_Pragma("error_messages(off,attrskipunsup)")
|
1074
|
+
#elif HEDLEY_TI_VERSION_CHECK(18, 1, 0) || \
|
1075
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 3, 0) || \
|
1076
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0)
|
1077
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1078
|
+
_Pragma("diag_suppress 1173")
|
1079
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1080
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
|
1081
|
+
_Pragma("diag_suppress=Pe1097")
|
1082
|
+
#else
|
1083
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
|
1084
|
+
#endif
|
1085
|
+
|
1086
|
+
#if defined(HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL)
|
1087
|
+
#undef HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
|
1088
|
+
#endif
|
1089
|
+
#if HEDLEY_HAS_WARNING("-Wcast-qual")
|
1090
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL \
|
1091
|
+
_Pragma("clang diagnostic ignored \"-Wcast-qual\"")
|
1092
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1093
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL \
|
1094
|
+
_Pragma("warning(disable:2203 2331)")
|
1095
|
+
#elif HEDLEY_GCC_VERSION_CHECK(3, 0, 0)
|
1096
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL \
|
1097
|
+
_Pragma("GCC diagnostic ignored \"-Wcast-qual\"")
|
1098
|
+
#else
|
1099
|
+
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
|
1100
|
+
#endif
|
1101
|
+
|
1102
|
+
#if defined(HEDLEY_DEPRECATED)
|
1103
|
+
#undef HEDLEY_DEPRECATED
|
1104
|
+
#endif
|
1105
|
+
#if defined(HEDLEY_DEPRECATED_FOR)
|
1106
|
+
#undef HEDLEY_DEPRECATED_FOR
|
1107
|
+
#endif
|
1108
|
+
#if HEDLEY_MSVC_VERSION_CHECK(14, 0, 0) || \
|
1109
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1110
|
+
#define HEDLEY_DEPRECATED(since) __declspec(deprecated("Since " #since))
|
1111
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) \
|
1112
|
+
__declspec(deprecated("Since " #since "; use " #replacement))
|
1113
|
+
#elif HEDLEY_HAS_EXTENSION(attribute_deprecated_with_message) || \
|
1114
|
+
HEDLEY_GCC_VERSION_CHECK(4, 5, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1115
|
+
HEDLEY_ARM_VERSION_CHECK(5, 6, 0) || \
|
1116
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 13, 0) || \
|
1117
|
+
HEDLEY_PGI_VERSION_CHECK(17, 10, 0) || HEDLEY_TI_VERSION_CHECK(18, 1, 0) || \
|
1118
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(18, 1, 0) || \
|
1119
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 3, 0) || \
|
1120
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1121
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 3, 0)
|
1122
|
+
#define HEDLEY_DEPRECATED(since) \
|
1123
|
+
__attribute__((__deprecated__("Since " #since)))
|
1124
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) \
|
1125
|
+
__attribute__((__deprecated__("Since " #since "; use " #replacement)))
|
1126
|
+
#elif defined(__cplusplus) && (__cplusplus >= 201402L)
|
1127
|
+
#define HEDLEY_DEPRECATED(since) \
|
1128
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[deprecated("Since" \
|
1129
|
+
" " #since)]])
|
1130
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) \
|
1131
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_( \
|
1132
|
+
[[deprecated("Since " #since "; use " #replacement)]])
|
1133
|
+
#elif HEDLEY_HAS_ATTRIBUTE(deprecated) || HEDLEY_GCC_VERSION_CHECK(3, 1, 0) || \
|
1134
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1135
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1136
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1137
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1138
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1139
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1140
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1141
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1142
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1143
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1144
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1145
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1146
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1147
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1148
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1149
|
+
#define HEDLEY_DEPRECATED(since) __attribute__((__deprecated__))
|
1150
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) \
|
1151
|
+
__attribute__((__deprecated__))
|
1152
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(13, 10, 0) || \
|
1153
|
+
HEDLEY_PELLES_VERSION_CHECK(6, 50, 0) || \
|
1154
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1155
|
+
#define HEDLEY_DEPRECATED(since) __declspec(deprecated)
|
1156
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) __declspec(deprecated)
|
1157
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1158
|
+
#define HEDLEY_DEPRECATED(since) _Pragma("deprecated")
|
1159
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement) _Pragma("deprecated")
|
1160
|
+
#else
|
1161
|
+
#define HEDLEY_DEPRECATED(since)
|
1162
|
+
#define HEDLEY_DEPRECATED_FOR(since, replacement)
|
1163
|
+
#endif
|
1164
|
+
|
1165
|
+
#if defined(HEDLEY_UNAVAILABLE)
|
1166
|
+
#undef HEDLEY_UNAVAILABLE
|
1167
|
+
#endif
|
1168
|
+
#if HEDLEY_HAS_ATTRIBUTE(warning) || HEDLEY_GCC_VERSION_CHECK(4, 3, 0) || \
|
1169
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1170
|
+
#define HEDLEY_UNAVAILABLE(available_since) \
|
1171
|
+
__attribute__((__warning__("Not available until " #available_since)))
|
1172
|
+
#else
|
1173
|
+
#define HEDLEY_UNAVAILABLE(available_since)
|
1174
|
+
#endif
|
1175
|
+
|
1176
|
+
#if defined(HEDLEY_WARN_UNUSED_RESULT)
|
1177
|
+
#undef HEDLEY_WARN_UNUSED_RESULT
|
1178
|
+
#endif
|
1179
|
+
#if defined(HEDLEY_WARN_UNUSED_RESULT_MSG)
|
1180
|
+
#undef HEDLEY_WARN_UNUSED_RESULT_MSG
|
1181
|
+
#endif
|
1182
|
+
#if HEDLEY_HAS_ATTRIBUTE(warn_unused_result) || \
|
1183
|
+
HEDLEY_GCC_VERSION_CHECK(3, 4, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1184
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1185
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1186
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1187
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1188
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1189
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1190
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1191
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1192
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1193
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1194
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1195
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1196
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1197
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1198
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0) || \
|
1199
|
+
(HEDLEY_SUNPRO_VERSION_CHECK(5, 15, 0) && defined(__cplusplus)) || \
|
1200
|
+
HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
1201
|
+
#define HEDLEY_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
|
1202
|
+
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg) \
|
1203
|
+
__attribute__((__warn_unused_result__))
|
1204
|
+
#elif (HEDLEY_HAS_CPP_ATTRIBUTE(nodiscard) >= 201907L)
|
1205
|
+
#define HEDLEY_WARN_UNUSED_RESULT \
|
1206
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
|
1207
|
+
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg) \
|
1208
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard(msg)]])
|
1209
|
+
#elif HEDLEY_HAS_CPP_ATTRIBUTE(nodiscard)
|
1210
|
+
#define HEDLEY_WARN_UNUSED_RESULT \
|
1211
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
|
1212
|
+
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg) \
|
1213
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
|
1214
|
+
#elif defined(_Check_return_) /* SAL */
|
1215
|
+
#define HEDLEY_WARN_UNUSED_RESULT _Check_return_
|
1216
|
+
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg) _Check_return_
|
1217
|
+
#else
|
1218
|
+
#define HEDLEY_WARN_UNUSED_RESULT
|
1219
|
+
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg)
|
1220
|
+
#endif
|
1221
|
+
|
1222
|
+
#if defined(HEDLEY_SENTINEL)
|
1223
|
+
#undef HEDLEY_SENTINEL
|
1224
|
+
#endif
|
1225
|
+
#if HEDLEY_HAS_ATTRIBUTE(sentinel) || HEDLEY_GCC_VERSION_CHECK(4, 0, 0) || \
|
1226
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_ARM_VERSION_CHECK(5, 4, 0)
|
1227
|
+
#define HEDLEY_SENTINEL(position) __attribute__((__sentinel__(position)))
|
1228
|
+
#else
|
1229
|
+
#define HEDLEY_SENTINEL(position)
|
1230
|
+
#endif
|
1231
|
+
|
1232
|
+
#if defined(HEDLEY_NO_RETURN)
|
1233
|
+
#undef HEDLEY_NO_RETURN
|
1234
|
+
#endif
|
1235
|
+
#if HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1236
|
+
#define HEDLEY_NO_RETURN __noreturn
|
1237
|
+
#elif HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1238
|
+
#define HEDLEY_NO_RETURN __attribute__((__noreturn__))
|
1239
|
+
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
1240
|
+
#define HEDLEY_NO_RETURN _Noreturn
|
1241
|
+
#elif defined(__cplusplus) && (__cplusplus >= 201103L)
|
1242
|
+
#define HEDLEY_NO_RETURN \
|
1243
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[noreturn]])
|
1244
|
+
#elif HEDLEY_HAS_ATTRIBUTE(noreturn) || HEDLEY_GCC_VERSION_CHECK(3, 2, 0) || \
|
1245
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1246
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1247
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1248
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1249
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1250
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1251
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1252
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1253
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1254
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1255
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1256
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1257
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1258
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1259
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1260
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1261
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1262
|
+
#define HEDLEY_NO_RETURN __attribute__((__noreturn__))
|
1263
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 10, 0)
|
1264
|
+
#define HEDLEY_NO_RETURN _Pragma("does_not_return")
|
1265
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(13, 10, 0) || \
|
1266
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1267
|
+
#define HEDLEY_NO_RETURN __declspec(noreturn)
|
1268
|
+
#elif HEDLEY_TI_CL6X_VERSION_CHECK(6, 0, 0) && defined(__cplusplus)
|
1269
|
+
#define HEDLEY_NO_RETURN _Pragma("FUNC_NEVER_RETURNS;")
|
1270
|
+
#elif HEDLEY_COMPCERT_VERSION_CHECK(3, 2, 0)
|
1271
|
+
#define HEDLEY_NO_RETURN __attribute((noreturn))
|
1272
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(9, 0, 0)
|
1273
|
+
#define HEDLEY_NO_RETURN __declspec(noreturn)
|
1274
|
+
#else
|
1275
|
+
#define HEDLEY_NO_RETURN
|
1276
|
+
#endif
|
1277
|
+
|
1278
|
+
#if defined(HEDLEY_NO_ESCAPE)
|
1279
|
+
#undef HEDLEY_NO_ESCAPE
|
1280
|
+
#endif
|
1281
|
+
#if HEDLEY_HAS_ATTRIBUTE(noescape)
|
1282
|
+
#define HEDLEY_NO_ESCAPE __attribute__((__noescape__))
|
1283
|
+
#else
|
1284
|
+
#define HEDLEY_NO_ESCAPE
|
1285
|
+
#endif
|
1286
|
+
|
1287
|
+
#if defined(HEDLEY_UNREACHABLE)
|
1288
|
+
#undef HEDLEY_UNREACHABLE
|
1289
|
+
#endif
|
1290
|
+
#if defined(HEDLEY_UNREACHABLE_RETURN)
|
1291
|
+
#undef HEDLEY_UNREACHABLE_RETURN
|
1292
|
+
#endif
|
1293
|
+
#if defined(HEDLEY_ASSUME)
|
1294
|
+
#undef HEDLEY_ASSUME
|
1295
|
+
#endif
|
1296
|
+
#if HEDLEY_MSVC_VERSION_CHECK(13, 10, 0) || \
|
1297
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1298
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1299
|
+
#define HEDLEY_ASSUME(expr) __assume(expr)
|
1300
|
+
#elif HEDLEY_HAS_BUILTIN(__builtin_assume)
|
1301
|
+
#define HEDLEY_ASSUME(expr) __builtin_assume(expr)
|
1302
|
+
#elif HEDLEY_TI_CL2000_VERSION_CHECK(6, 2, 0) || \
|
1303
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(4, 0, 0)
|
1304
|
+
#if defined(__cplusplus)
|
1305
|
+
#define HEDLEY_ASSUME(expr) std::_nassert(expr)
|
1306
|
+
#else
|
1307
|
+
#define HEDLEY_ASSUME(expr) _nassert(expr)
|
1308
|
+
#endif
|
1309
|
+
#endif
|
1310
|
+
#if (HEDLEY_HAS_BUILTIN(__builtin_unreachable) && \
|
1311
|
+
(!defined(HEDLEY_ARM_VERSION))) || \
|
1312
|
+
HEDLEY_GCC_VERSION_CHECK(4, 5, 0) || HEDLEY_PGI_VERSION_CHECK(18, 10, 0) || \
|
1313
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_IBM_VERSION_CHECK(13, 1, 5)
|
1314
|
+
#define HEDLEY_UNREACHABLE() __builtin_unreachable()
|
1315
|
+
#elif defined(HEDLEY_ASSUME)
|
1316
|
+
#define HEDLEY_UNREACHABLE() HEDLEY_ASSUME(0)
|
1317
|
+
#endif
|
1318
|
+
#if !defined(HEDLEY_ASSUME)
|
1319
|
+
#if defined(HEDLEY_UNREACHABLE)
|
1320
|
+
#define HEDLEY_ASSUME(expr) \
|
1321
|
+
HEDLEY_STATIC_CAST(void, ((expr) ? 1 : (HEDLEY_UNREACHABLE(), 1)))
|
1322
|
+
#else
|
1323
|
+
#define HEDLEY_ASSUME(expr) HEDLEY_STATIC_CAST(void, expr)
|
1324
|
+
#endif
|
1325
|
+
#endif
|
1326
|
+
#if defined(HEDLEY_UNREACHABLE)
|
1327
|
+
#if HEDLEY_TI_CL2000_VERSION_CHECK(6, 2, 0) || \
|
1328
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(4, 0, 0)
|
1329
|
+
#define HEDLEY_UNREACHABLE_RETURN(value) \
|
1330
|
+
return (HEDLEY_STATIC_CAST(void, HEDLEY_ASSUME(0)), (value))
|
1331
|
+
#else
|
1332
|
+
#define HEDLEY_UNREACHABLE_RETURN(value) HEDLEY_UNREACHABLE()
|
1333
|
+
#endif
|
1334
|
+
#else
|
1335
|
+
#define HEDLEY_UNREACHABLE_RETURN(value) return (value)
|
1336
|
+
#endif
|
1337
|
+
#if !defined(HEDLEY_UNREACHABLE)
|
1338
|
+
#define HEDLEY_UNREACHABLE() HEDLEY_ASSUME(0)
|
1339
|
+
#endif
|
1340
|
+
|
1341
|
+
HEDLEY_DIAGNOSTIC_PUSH
|
1342
|
+
#if HEDLEY_HAS_WARNING("-Wpedantic")
|
1343
|
+
#pragma clang diagnostic ignored "-Wpedantic"
|
1344
|
+
#endif
|
1345
|
+
#if HEDLEY_HAS_WARNING("-Wc++98-compat-pedantic") && defined(__cplusplus)
|
1346
|
+
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
|
1347
|
+
#endif
|
1348
|
+
#if HEDLEY_GCC_HAS_WARNING("-Wvariadic-macros", 4, 0, 0)
|
1349
|
+
#if defined(__clang__)
|
1350
|
+
#pragma clang diagnostic ignored "-Wvariadic-macros"
|
1351
|
+
#elif defined(HEDLEY_GCC_VERSION)
|
1352
|
+
#pragma GCC diagnostic ignored "-Wvariadic-macros"
|
1353
|
+
#endif
|
1354
|
+
#endif
|
1355
|
+
#if defined(HEDLEY_NON_NULL)
|
1356
|
+
#undef HEDLEY_NON_NULL
|
1357
|
+
#endif
|
1358
|
+
#if HEDLEY_HAS_ATTRIBUTE(nonnull) || HEDLEY_GCC_VERSION_CHECK(3, 3, 0) || \
|
1359
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_ARM_VERSION_CHECK(4, 1, 0)
|
1360
|
+
#define HEDLEY_NON_NULL(...) __attribute__((__nonnull__(__VA_ARGS__)))
|
1361
|
+
#else
|
1362
|
+
#define HEDLEY_NON_NULL(...)
|
1363
|
+
#endif
|
1364
|
+
HEDLEY_DIAGNOSTIC_POP
|
1365
|
+
|
1366
|
+
#if defined(HEDLEY_PRINTF_FORMAT)
|
1367
|
+
#undef HEDLEY_PRINTF_FORMAT
|
1368
|
+
#endif
|
1369
|
+
#if defined(__MINGW32__) && HEDLEY_GCC_HAS_ATTRIBUTE(format, 4, 4, 0) && \
|
1370
|
+
!defined(__USE_MINGW_ANSI_STDIO)
|
1371
|
+
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check) \
|
1372
|
+
__attribute__((__format__(ms_printf, string_idx, first_to_check)))
|
1373
|
+
#elif defined(__MINGW32__) && HEDLEY_GCC_HAS_ATTRIBUTE(format, 4, 4, 0) && \
|
1374
|
+
defined(__USE_MINGW_ANSI_STDIO)
|
1375
|
+
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check) \
|
1376
|
+
__attribute__((__format__(gnu_printf, string_idx, first_to_check)))
|
1377
|
+
#elif HEDLEY_HAS_ATTRIBUTE(format) || HEDLEY_GCC_VERSION_CHECK(3, 1, 0) || \
|
1378
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_ARM_VERSION_CHECK(5, 6, 0) || \
|
1379
|
+
HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1380
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1381
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1382
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1383
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1384
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1385
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1386
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1387
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1388
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1389
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1390
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1391
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1392
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1393
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1394
|
+
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check) \
|
1395
|
+
__attribute__((__format__(__printf__, string_idx, first_to_check)))
|
1396
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(6, 0, 0)
|
1397
|
+
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check) \
|
1398
|
+
__declspec(vaformat(printf, string_idx, first_to_check))
|
1399
|
+
#else
|
1400
|
+
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check)
|
1401
|
+
#endif
|
1402
|
+
|
1403
|
+
#if defined(HEDLEY_CONSTEXPR)
|
1404
|
+
#undef HEDLEY_CONSTEXPR
|
1405
|
+
#endif
|
1406
|
+
#if defined(__cplusplus)
|
1407
|
+
#if __cplusplus >= 201103L
|
1408
|
+
#define HEDLEY_CONSTEXPR HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(constexpr)
|
1409
|
+
#endif
|
1410
|
+
#endif
|
1411
|
+
#if !defined(HEDLEY_CONSTEXPR)
|
1412
|
+
#define HEDLEY_CONSTEXPR
|
1413
|
+
#endif
|
1414
|
+
|
1415
|
+
#if defined(HEDLEY_PREDICT)
|
1416
|
+
#undef HEDLEY_PREDICT
|
1417
|
+
#endif
|
1418
|
+
#if defined(HEDLEY_LIKELY)
|
1419
|
+
#undef HEDLEY_LIKELY
|
1420
|
+
#endif
|
1421
|
+
#if defined(HEDLEY_UNLIKELY)
|
1422
|
+
#undef HEDLEY_UNLIKELY
|
1423
|
+
#endif
|
1424
|
+
#if defined(HEDLEY_UNPREDICTABLE)
|
1425
|
+
#undef HEDLEY_UNPREDICTABLE
|
1426
|
+
#endif
|
1427
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_unpredictable)
|
1428
|
+
#define HEDLEY_UNPREDICTABLE(expr) __builtin_unpredictable((expr))
|
1429
|
+
#endif
|
1430
|
+
#if (HEDLEY_HAS_BUILTIN(__builtin_expect_with_probability) && \
|
1431
|
+
!defined(HEDLEY_PGI_VERSION)) || \
|
1432
|
+
HEDLEY_GCC_VERSION_CHECK(9, 0, 0)
|
1433
|
+
#define HEDLEY_PREDICT(expr, value, probability) \
|
1434
|
+
__builtin_expect_with_probability((expr), (value), (probability))
|
1435
|
+
#define HEDLEY_PREDICT_TRUE(expr, probability) \
|
1436
|
+
__builtin_expect_with_probability(!!(expr), 1, (probability))
|
1437
|
+
#define HEDLEY_PREDICT_FALSE(expr, probability) \
|
1438
|
+
__builtin_expect_with_probability(!!(expr), 0, (probability))
|
1439
|
+
#define HEDLEY_LIKELY(expr) __builtin_expect(!!(expr), 1)
|
1440
|
+
#define HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0)
|
1441
|
+
#elif (HEDLEY_HAS_BUILTIN(__builtin_expect) && \
|
1442
|
+
!defined(HEDLEY_INTEL_CL_VERSION)) || \
|
1443
|
+
HEDLEY_GCC_VERSION_CHECK(3, 0, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1444
|
+
(HEDLEY_SUNPRO_VERSION_CHECK(5, 15, 0) && defined(__cplusplus)) || \
|
1445
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1446
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1447
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(4, 7, 0) || \
|
1448
|
+
HEDLEY_TI_CL430_VERSION_CHECK(3, 1, 0) || \
|
1449
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 1, 0) || \
|
1450
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(6, 1, 0) || \
|
1451
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1452
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0) || \
|
1453
|
+
HEDLEY_TINYC_VERSION_CHECK(0, 9, 27) || HEDLEY_CRAY_VERSION_CHECK(8, 1, 0)
|
1454
|
+
#define HEDLEY_PREDICT(expr, expected, probability) \
|
1455
|
+
(((probability) >= 0.9) ? __builtin_expect((expr), (expected)) \
|
1456
|
+
: (HEDLEY_STATIC_CAST(void, expected), (expr)))
|
1457
|
+
#define HEDLEY_PREDICT_TRUE(expr, probability) \
|
1458
|
+
(__extension__({ \
|
1459
|
+
double hedley_probability_ = (probability); \
|
1460
|
+
((hedley_probability_ >= 0.9) \
|
1461
|
+
? __builtin_expect(!!(expr), 1) \
|
1462
|
+
: ((hedley_probability_ <= 0.1) ? __builtin_expect(!!(expr), 0) \
|
1463
|
+
: !!(expr))); \
|
1464
|
+
}))
|
1465
|
+
#define HEDLEY_PREDICT_FALSE(expr, probability) \
|
1466
|
+
(__extension__({ \
|
1467
|
+
double hedley_probability_ = (probability); \
|
1468
|
+
((hedley_probability_ >= 0.9) \
|
1469
|
+
? __builtin_expect(!!(expr), 0) \
|
1470
|
+
: ((hedley_probability_ <= 0.1) ? __builtin_expect(!!(expr), 1) \
|
1471
|
+
: !!(expr))); \
|
1472
|
+
}))
|
1473
|
+
#define HEDLEY_LIKELY(expr) __builtin_expect(!!(expr), 1)
|
1474
|
+
#define HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0)
|
1475
|
+
#else
|
1476
|
+
#define HEDLEY_PREDICT(expr, expected, probability) \
|
1477
|
+
(HEDLEY_STATIC_CAST(void, expected), (expr))
|
1478
|
+
#define HEDLEY_PREDICT_TRUE(expr, probability) (!!(expr))
|
1479
|
+
#define HEDLEY_PREDICT_FALSE(expr, probability) (!!(expr))
|
1480
|
+
#define HEDLEY_LIKELY(expr) (!!(expr))
|
1481
|
+
#define HEDLEY_UNLIKELY(expr) (!!(expr))
|
1482
|
+
#endif
|
1483
|
+
#if !defined(HEDLEY_UNPREDICTABLE)
|
1484
|
+
#define HEDLEY_UNPREDICTABLE(expr) HEDLEY_PREDICT(expr, 1, 0.5)
|
1485
|
+
#endif
|
1486
|
+
|
1487
|
+
#if defined(HEDLEY_MALLOC)
|
1488
|
+
#undef HEDLEY_MALLOC
|
1489
|
+
#endif
|
1490
|
+
#if HEDLEY_HAS_ATTRIBUTE(malloc) || HEDLEY_GCC_VERSION_CHECK(3, 1, 0) || \
|
1491
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1492
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1493
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(12, 1, 0) || \
|
1494
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1495
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1496
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1497
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1498
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1499
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1500
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1501
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1502
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1503
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1504
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1505
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1506
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1507
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1508
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1509
|
+
#define HEDLEY_MALLOC __attribute__((__malloc__))
|
1510
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 10, 0)
|
1511
|
+
#define HEDLEY_MALLOC _Pragma("returns_new_memory")
|
1512
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(14, 0, 0) || \
|
1513
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1514
|
+
#define HEDLEY_MALLOC __declspec(restrict)
|
1515
|
+
#else
|
1516
|
+
#define HEDLEY_MALLOC
|
1517
|
+
#endif
|
1518
|
+
|
1519
|
+
#if defined(HEDLEY_PURE)
|
1520
|
+
#undef HEDLEY_PURE
|
1521
|
+
#endif
|
1522
|
+
#if HEDLEY_HAS_ATTRIBUTE(pure) || HEDLEY_GCC_VERSION_CHECK(2, 96, 0) || \
|
1523
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1524
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1525
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1526
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1527
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1528
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1529
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1530
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1531
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1532
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1533
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1534
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1535
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1536
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1537
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1538
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1539
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1540
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0) || \
|
1541
|
+
HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
1542
|
+
#define HEDLEY_PURE __attribute__((__pure__))
|
1543
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 10, 0)
|
1544
|
+
#define HEDLEY_PURE _Pragma("does_not_write_global_data")
|
1545
|
+
#elif defined(__cplusplus) && (HEDLEY_TI_CL430_VERSION_CHECK(2, 0, 1) || \
|
1546
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(4, 0, 0) || \
|
1547
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0))
|
1548
|
+
#define HEDLEY_PURE _Pragma("FUNC_IS_PURE;")
|
1549
|
+
#else
|
1550
|
+
#define HEDLEY_PURE
|
1551
|
+
#endif
|
1552
|
+
|
1553
|
+
#if defined(HEDLEY_CONST)
|
1554
|
+
#undef HEDLEY_CONST
|
1555
|
+
#endif
|
1556
|
+
#if HEDLEY_HAS_ATTRIBUTE(const) || HEDLEY_GCC_VERSION_CHECK(2, 5, 0) || \
|
1557
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1558
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1559
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1560
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1561
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1562
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1563
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1564
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1565
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1566
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1567
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1568
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1569
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1570
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1571
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1572
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1573
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1574
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0) || \
|
1575
|
+
HEDLEY_PGI_VERSION_CHECK(17, 10, 0)
|
1576
|
+
#define HEDLEY_CONST __attribute__((__const__))
|
1577
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 10, 0)
|
1578
|
+
#define HEDLEY_CONST _Pragma("no_side_effect")
|
1579
|
+
#else
|
1580
|
+
#define HEDLEY_CONST HEDLEY_PURE
|
1581
|
+
#endif
|
1582
|
+
|
1583
|
+
#if defined(HEDLEY_RESTRICT)
|
1584
|
+
#undef HEDLEY_RESTRICT
|
1585
|
+
#endif
|
1586
|
+
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \
|
1587
|
+
!defined(__cplusplus)
|
1588
|
+
#define HEDLEY_RESTRICT restrict
|
1589
|
+
#elif HEDLEY_GCC_VERSION_CHECK(3, 1, 0) || \
|
1590
|
+
HEDLEY_MSVC_VERSION_CHECK(14, 0, 0) || \
|
1591
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1592
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0) || \
|
1593
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1594
|
+
HEDLEY_PGI_VERSION_CHECK(17, 10, 0) || \
|
1595
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1596
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 2, 4) || \
|
1597
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 1, 0) || \
|
1598
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1599
|
+
(HEDLEY_SUNPRO_VERSION_CHECK(5, 14, 0) && defined(__cplusplus)) || \
|
1600
|
+
HEDLEY_IAR_VERSION_CHECK(8, 0, 0) || defined(__clang__)
|
1601
|
+
#define HEDLEY_RESTRICT __restrict
|
1602
|
+
#elif HEDLEY_SUNPRO_VERSION_CHECK(5, 3, 0) && !defined(__cplusplus)
|
1603
|
+
#define HEDLEY_RESTRICT _Restrict
|
1604
|
+
#else
|
1605
|
+
#define HEDLEY_RESTRICT
|
1606
|
+
#endif
|
1607
|
+
|
1608
|
+
#if defined(HEDLEY_INLINE)
|
1609
|
+
#undef HEDLEY_INLINE
|
1610
|
+
#endif
|
1611
|
+
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || \
|
1612
|
+
(defined(__cplusplus) && (__cplusplus >= 199711L))
|
1613
|
+
#define HEDLEY_INLINE inline
|
1614
|
+
#elif defined(HEDLEY_GCC_VERSION) || HEDLEY_ARM_VERSION_CHECK(6, 2, 0)
|
1615
|
+
#define HEDLEY_INLINE __inline__
|
1616
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(12, 0, 0) || \
|
1617
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0) || \
|
1618
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || \
|
1619
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 1, 0) || \
|
1620
|
+
HEDLEY_TI_CL430_VERSION_CHECK(3, 1, 0) || \
|
1621
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 2, 0) || \
|
1622
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(8, 0, 0) || \
|
1623
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1624
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1625
|
+
#define HEDLEY_INLINE __inline
|
1626
|
+
#else
|
1627
|
+
#define HEDLEY_INLINE
|
1628
|
+
#endif
|
1629
|
+
|
1630
|
+
#if defined(HEDLEY_ALWAYS_INLINE)
|
1631
|
+
#undef HEDLEY_ALWAYS_INLINE
|
1632
|
+
#endif
|
1633
|
+
#if HEDLEY_HAS_ATTRIBUTE(always_inline) || \
|
1634
|
+
HEDLEY_GCC_VERSION_CHECK(4, 0, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1635
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1636
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1637
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1638
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1639
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1640
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1641
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1642
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1643
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1644
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1645
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1646
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1647
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1648
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1649
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1650
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1651
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1652
|
+
#define HEDLEY_ALWAYS_INLINE __attribute__((__always_inline__)) HEDLEY_INLINE
|
1653
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(12, 0, 0) || \
|
1654
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1655
|
+
#define HEDLEY_ALWAYS_INLINE __forceinline
|
1656
|
+
#elif defined(__cplusplus) && (HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1657
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1658
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1659
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(6, 1, 0) || \
|
1660
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1661
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0))
|
1662
|
+
#define HEDLEY_ALWAYS_INLINE _Pragma("FUNC_ALWAYS_INLINE;")
|
1663
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1664
|
+
#define HEDLEY_ALWAYS_INLINE _Pragma("inline=forced")
|
1665
|
+
#else
|
1666
|
+
#define HEDLEY_ALWAYS_INLINE HEDLEY_INLINE
|
1667
|
+
#endif
|
1668
|
+
|
1669
|
+
#if defined(HEDLEY_NEVER_INLINE)
|
1670
|
+
#undef HEDLEY_NEVER_INLINE
|
1671
|
+
#endif
|
1672
|
+
#if HEDLEY_HAS_ATTRIBUTE(noinline) || HEDLEY_GCC_VERSION_CHECK(4, 0, 0) || \
|
1673
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1674
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1675
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || HEDLEY_IBM_VERSION_CHECK(10, 1, 0) || \
|
1676
|
+
HEDLEY_TI_VERSION_CHECK(15, 12, 0) || \
|
1677
|
+
(HEDLEY_TI_ARMCL_VERSION_CHECK(4, 8, 0) && \
|
1678
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1679
|
+
HEDLEY_TI_ARMCL_VERSION_CHECK(5, 2, 0) || \
|
1680
|
+
(HEDLEY_TI_CL2000_VERSION_CHECK(6, 0, 0) && \
|
1681
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1682
|
+
HEDLEY_TI_CL2000_VERSION_CHECK(6, 4, 0) || \
|
1683
|
+
(HEDLEY_TI_CL430_VERSION_CHECK(4, 0, 0) && \
|
1684
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1685
|
+
HEDLEY_TI_CL430_VERSION_CHECK(4, 3, 0) || \
|
1686
|
+
(HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1687
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1688
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0) || \
|
1689
|
+
HEDLEY_TI_CL7X_VERSION_CHECK(1, 2, 0) || \
|
1690
|
+
HEDLEY_TI_CLPRU_VERSION_CHECK(2, 1, 0)
|
1691
|
+
#define HEDLEY_NEVER_INLINE __attribute__((__noinline__))
|
1692
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(13, 10, 0) || \
|
1693
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1694
|
+
#define HEDLEY_NEVER_INLINE __declspec(noinline)
|
1695
|
+
#elif HEDLEY_PGI_VERSION_CHECK(10, 2, 0)
|
1696
|
+
#define HEDLEY_NEVER_INLINE _Pragma("noinline")
|
1697
|
+
#elif HEDLEY_TI_CL6X_VERSION_CHECK(6, 0, 0) && defined(__cplusplus)
|
1698
|
+
#define HEDLEY_NEVER_INLINE _Pragma("FUNC_CANNOT_INLINE;")
|
1699
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1700
|
+
#define HEDLEY_NEVER_INLINE _Pragma("inline=never")
|
1701
|
+
#elif HEDLEY_COMPCERT_VERSION_CHECK(3, 2, 0)
|
1702
|
+
#define HEDLEY_NEVER_INLINE __attribute((noinline))
|
1703
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(9, 0, 0)
|
1704
|
+
#define HEDLEY_NEVER_INLINE __declspec(noinline)
|
1705
|
+
#else
|
1706
|
+
#define HEDLEY_NEVER_INLINE
|
1707
|
+
#endif
|
1708
|
+
|
1709
|
+
#if defined(HEDLEY_PRIVATE)
|
1710
|
+
#undef HEDLEY_PRIVATE
|
1711
|
+
#endif
|
1712
|
+
#if defined(HEDLEY_PUBLIC)
|
1713
|
+
#undef HEDLEY_PUBLIC
|
1714
|
+
#endif
|
1715
|
+
#if defined(HEDLEY_IMPORT)
|
1716
|
+
#undef HEDLEY_IMPORT
|
1717
|
+
#endif
|
1718
|
+
#if defined(_WIN32) || defined(__CYGWIN__)
|
1719
|
+
#define HEDLEY_PRIVATE
|
1720
|
+
#define HEDLEY_PUBLIC __declspec(dllexport)
|
1721
|
+
#define HEDLEY_IMPORT __declspec(dllimport)
|
1722
|
+
#else
|
1723
|
+
#if HEDLEY_HAS_ATTRIBUTE(visibility) || HEDLEY_GCC_VERSION_CHECK(3, 3, 0) || \
|
1724
|
+
HEDLEY_SUNPRO_VERSION_CHECK(5, 11, 0) || \
|
1725
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || \
|
1726
|
+
HEDLEY_IBM_VERSION_CHECK(13, 1, 0) || \
|
1727
|
+
(defined(__TI_EABI__) && ((HEDLEY_TI_CL6X_VERSION_CHECK(7, 2, 0) && \
|
1728
|
+
defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
|
1729
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(7, 5, 0)))
|
1730
|
+
#define HEDLEY_PRIVATE __attribute__((__visibility__("hidden")))
|
1731
|
+
#define HEDLEY_PUBLIC __attribute__((__visibility__("default")))
|
1732
|
+
#else
|
1733
|
+
#define HEDLEY_PRIVATE
|
1734
|
+
#define HEDLEY_PUBLIC
|
1735
|
+
#endif
|
1736
|
+
#define HEDLEY_IMPORT extern
|
1737
|
+
#endif
|
1738
|
+
|
1739
|
+
#if defined(HEDLEY_NO_THROW)
|
1740
|
+
#undef HEDLEY_NO_THROW
|
1741
|
+
#endif
|
1742
|
+
#if HEDLEY_HAS_ATTRIBUTE(nothrow) || HEDLEY_GCC_VERSION_CHECK(3, 3, 0) || \
|
1743
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1744
|
+
#define HEDLEY_NO_THROW __attribute__((__nothrow__))
|
1745
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(13, 1, 0) || \
|
1746
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0) || \
|
1747
|
+
HEDLEY_ARM_VERSION_CHECK(4, 1, 0)
|
1748
|
+
#define HEDLEY_NO_THROW __declspec(nothrow)
|
1749
|
+
#else
|
1750
|
+
#define HEDLEY_NO_THROW
|
1751
|
+
#endif
|
1752
|
+
|
1753
|
+
#if defined(HEDLEY_FALL_THROUGH)
|
1754
|
+
#undef HEDLEY_FALL_THROUGH
|
1755
|
+
#endif
|
1756
|
+
#if HEDLEY_HAS_ATTRIBUTE(fallthrough) || HEDLEY_GCC_VERSION_CHECK(7, 0, 0)
|
1757
|
+
#define HEDLEY_FALL_THROUGH __attribute__((__fallthrough__))
|
1758
|
+
#elif HEDLEY_HAS_CPP_ATTRIBUTE_NS(clang, fallthrough)
|
1759
|
+
#define HEDLEY_FALL_THROUGH \
|
1760
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[clang::fallthrough]])
|
1761
|
+
#elif HEDLEY_HAS_CPP_ATTRIBUTE(fallthrough)
|
1762
|
+
#define HEDLEY_FALL_THROUGH \
|
1763
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[fallthrough]])
|
1764
|
+
#elif defined(__fallthrough) /* SAL */
|
1765
|
+
#define HEDLEY_FALL_THROUGH __fallthrough
|
1766
|
+
#else
|
1767
|
+
#define HEDLEY_FALL_THROUGH
|
1768
|
+
#endif
|
1769
|
+
|
1770
|
+
#if defined(HEDLEY_RETURNS_NON_NULL)
|
1771
|
+
#undef HEDLEY_RETURNS_NON_NULL
|
1772
|
+
#endif
|
1773
|
+
#if HEDLEY_HAS_ATTRIBUTE(returns_nonnull) || HEDLEY_GCC_VERSION_CHECK(4, 9, 0)
|
1774
|
+
#define HEDLEY_RETURNS_NON_NULL __attribute__((__returns_nonnull__))
|
1775
|
+
#elif defined(_Ret_notnull_) /* SAL */
|
1776
|
+
#define HEDLEY_RETURNS_NON_NULL _Ret_notnull_
|
1777
|
+
#else
|
1778
|
+
#define HEDLEY_RETURNS_NON_NULL
|
1779
|
+
#endif
|
1780
|
+
|
1781
|
+
#if defined(HEDLEY_ARRAY_PARAM)
|
1782
|
+
#undef HEDLEY_ARRAY_PARAM
|
1783
|
+
#endif
|
1784
|
+
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \
|
1785
|
+
!defined(__STDC_NO_VLA__) && !defined(__cplusplus) && \
|
1786
|
+
!defined(HEDLEY_PGI_VERSION) && !defined(HEDLEY_TINYC_VERSION)
|
1787
|
+
#define HEDLEY_ARRAY_PARAM(name) (name)
|
1788
|
+
#else
|
1789
|
+
#define HEDLEY_ARRAY_PARAM(name)
|
1790
|
+
#endif
|
1791
|
+
|
1792
|
+
#if defined(HEDLEY_IS_CONSTANT)
|
1793
|
+
#undef HEDLEY_IS_CONSTANT
|
1794
|
+
#endif
|
1795
|
+
#if defined(HEDLEY_REQUIRE_CONSTEXPR)
|
1796
|
+
#undef HEDLEY_REQUIRE_CONSTEXPR
|
1797
|
+
#endif
|
1798
|
+
/* HEDLEY_IS_CONSTEXPR_ is for
|
1799
|
+
HEDLEY INTERNAL USE ONLY. API subject to change without notice. */
|
1800
|
+
#if defined(HEDLEY_IS_CONSTEXPR_)
|
1801
|
+
#undef HEDLEY_IS_CONSTEXPR_
|
1802
|
+
#endif
|
1803
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_constant_p) || \
|
1804
|
+
HEDLEY_GCC_VERSION_CHECK(3, 4, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1805
|
+
HEDLEY_TINYC_VERSION_CHECK(0, 9, 19) || HEDLEY_ARM_VERSION_CHECK(4, 1, 0) || \
|
1806
|
+
HEDLEY_IBM_VERSION_CHECK(13, 1, 0) || \
|
1807
|
+
HEDLEY_TI_CL6X_VERSION_CHECK(6, 1, 0) || \
|
1808
|
+
(HEDLEY_SUNPRO_VERSION_CHECK(5, 10, 0) && !defined(__cplusplus)) || \
|
1809
|
+
HEDLEY_CRAY_VERSION_CHECK(8, 1, 0)
|
1810
|
+
#define HEDLEY_IS_CONSTANT(expr) __builtin_constant_p(expr)
|
1811
|
+
#endif
|
1812
|
+
#if !defined(__cplusplus)
|
1813
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_types_compatible_p) || \
|
1814
|
+
HEDLEY_GCC_VERSION_CHECK(3, 4, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || \
|
1815
|
+
HEDLEY_IBM_VERSION_CHECK(13, 1, 0) || HEDLEY_CRAY_VERSION_CHECK(8, 1, 0) || \
|
1816
|
+
HEDLEY_ARM_VERSION_CHECK(5, 4, 0) || HEDLEY_TINYC_VERSION_CHECK(0, 9, 24)
|
1817
|
+
#if defined(__INTPTR_TYPE__)
|
1818
|
+
#define HEDLEY_IS_CONSTEXPR_(expr) \
|
1819
|
+
__builtin_types_compatible_p( \
|
1820
|
+
__typeof__((1 ? (void*)((__INTPTR_TYPE__)((expr)*0)) : (int*)0)), int*)
|
1821
|
+
#else
|
1822
|
+
#include <stdint.h>
|
1823
|
+
#define HEDLEY_IS_CONSTEXPR_(expr) \
|
1824
|
+
__builtin_types_compatible_p( \
|
1825
|
+
__typeof__((1 ? (void*)((intptr_t)((expr)*0)) : (int*)0)), int*)
|
1826
|
+
#endif
|
1827
|
+
#elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && \
|
1828
|
+
!defined(HEDLEY_SUNPRO_VERSION) && !defined(HEDLEY_PGI_VERSION) && \
|
1829
|
+
!defined(HEDLEY_IAR_VERSION)) || \
|
1830
|
+
HEDLEY_HAS_EXTENSION(c_generic_selections) || \
|
1831
|
+
HEDLEY_GCC_VERSION_CHECK(4, 9, 0) || HEDLEY_INTEL_VERSION_CHECK(17, 0, 0) || \
|
1832
|
+
HEDLEY_IBM_VERSION_CHECK(12, 1, 0) || HEDLEY_ARM_VERSION_CHECK(5, 3, 0)
|
1833
|
+
#if defined(__INTPTR_TYPE__)
|
1834
|
+
#define HEDLEY_IS_CONSTEXPR_(expr) \
|
1835
|
+
_Generic( \
|
1836
|
+
(1 ? (void*)((__INTPTR_TYPE__)((expr)*0)) : (int*)0), int* : 1, void* : 0)
|
1837
|
+
#else
|
1838
|
+
#include <stdint.h>
|
1839
|
+
#define HEDLEY_IS_CONSTEXPR_(expr) \
|
1840
|
+
_Generic((1 ? (void*)((intptr_t)*0) : (int*)0), int* : 1, void* : 0)
|
1841
|
+
#endif
|
1842
|
+
#elif defined(HEDLEY_GCC_VERSION) || defined(HEDLEY_INTEL_VERSION) || \
|
1843
|
+
defined(HEDLEY_TINYC_VERSION) || defined(HEDLEY_TI_ARMCL_VERSION) || \
|
1844
|
+
HEDLEY_TI_CL430_VERSION_CHECK(18, 12, 0) || \
|
1845
|
+
defined(HEDLEY_TI_CL2000_VERSION) || defined(HEDLEY_TI_CL6X_VERSION) || \
|
1846
|
+
defined(HEDLEY_TI_CL7X_VERSION) || defined(HEDLEY_TI_CLPRU_VERSION) || \
|
1847
|
+
defined(__clang__)
|
1848
|
+
#define HEDLEY_IS_CONSTEXPR_(expr) \
|
1849
|
+
(sizeof(void) != sizeof(*(1 ? ((void*)((expr)*0L)) \
|
1850
|
+
: ((struct { char v[sizeof(void) * 2]; }*)1))))
|
1851
|
+
#endif
|
1852
|
+
#endif
|
1853
|
+
#if defined(HEDLEY_IS_CONSTEXPR_)
|
1854
|
+
#if !defined(HEDLEY_IS_CONSTANT)
|
1855
|
+
#define HEDLEY_IS_CONSTANT(expr) HEDLEY_IS_CONSTEXPR_(expr)
|
1856
|
+
#endif
|
1857
|
+
#define HEDLEY_REQUIRE_CONSTEXPR(expr) \
|
1858
|
+
(HEDLEY_IS_CONSTEXPR_(expr) ? (expr) : (-1))
|
1859
|
+
#else
|
1860
|
+
#if !defined(HEDLEY_IS_CONSTANT)
|
1861
|
+
#define HEDLEY_IS_CONSTANT(expr) (0)
|
1862
|
+
#endif
|
1863
|
+
#define HEDLEY_REQUIRE_CONSTEXPR(expr) (expr)
|
1864
|
+
#endif
|
1865
|
+
|
1866
|
+
#if defined(HEDLEY_BEGIN_C_DECLS)
|
1867
|
+
#undef HEDLEY_BEGIN_C_DECLS
|
1868
|
+
#endif
|
1869
|
+
#if defined(HEDLEY_END_C_DECLS)
|
1870
|
+
#undef HEDLEY_END_C_DECLS
|
1871
|
+
#endif
|
1872
|
+
#if defined(HEDLEY_C_DECL)
|
1873
|
+
#undef HEDLEY_C_DECL
|
1874
|
+
#endif
|
1875
|
+
#if defined(__cplusplus)
|
1876
|
+
#define HEDLEY_BEGIN_C_DECLS \
|
1877
|
+
extern "C" \
|
1878
|
+
{
|
1879
|
+
#define HEDLEY_END_C_DECLS }
|
1880
|
+
#define HEDLEY_C_DECL extern "C"
|
1881
|
+
#else
|
1882
|
+
#define HEDLEY_BEGIN_C_DECLS
|
1883
|
+
#define HEDLEY_END_C_DECLS
|
1884
|
+
#define HEDLEY_C_DECL
|
1885
|
+
#endif
|
1886
|
+
|
1887
|
+
#if defined(HEDLEY_STATIC_ASSERT)
|
1888
|
+
#undef HEDLEY_STATIC_ASSERT
|
1889
|
+
#endif
|
1890
|
+
#if !defined(__cplusplus) && \
|
1891
|
+
((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) || \
|
1892
|
+
(HEDLEY_HAS_FEATURE(c_static_assert) && \
|
1893
|
+
!defined(HEDLEY_INTEL_CL_VERSION)) || \
|
1894
|
+
HEDLEY_GCC_VERSION_CHECK(6, 0, 0) || \
|
1895
|
+
HEDLEY_INTEL_VERSION_CHECK(13, 0, 0) || defined(_Static_assert))
|
1896
|
+
#define HEDLEY_STATIC_ASSERT(expr, message) _Static_assert(expr, message)
|
1897
|
+
#elif (defined(__cplusplus) && (__cplusplus >= 201103L)) || \
|
1898
|
+
HEDLEY_MSVC_VERSION_CHECK(16, 0, 0) || \
|
1899
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1900
|
+
#define HEDLEY_STATIC_ASSERT(expr, message) \
|
1901
|
+
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(static_assert(expr, message))
|
1902
|
+
#else
|
1903
|
+
#define HEDLEY_STATIC_ASSERT(expr, message)
|
1904
|
+
#endif
|
1905
|
+
|
1906
|
+
#if defined(HEDLEY_NULL)
|
1907
|
+
#undef HEDLEY_NULL
|
1908
|
+
#endif
|
1909
|
+
#if defined(__cplusplus)
|
1910
|
+
#if __cplusplus >= 201103L
|
1911
|
+
#define HEDLEY_NULL HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(nullptr)
|
1912
|
+
#elif defined(NULL)
|
1913
|
+
#define HEDLEY_NULL NULL
|
1914
|
+
#else
|
1915
|
+
#define HEDLEY_NULL HEDLEY_STATIC_CAST(void*, 0)
|
1916
|
+
#endif
|
1917
|
+
#elif defined(NULL)
|
1918
|
+
#define HEDLEY_NULL NULL
|
1919
|
+
#else
|
1920
|
+
#define HEDLEY_NULL ((void*)0)
|
1921
|
+
#endif
|
1922
|
+
|
1923
|
+
#if defined(HEDLEY_MESSAGE)
|
1924
|
+
#undef HEDLEY_MESSAGE
|
1925
|
+
#endif
|
1926
|
+
#if HEDLEY_HAS_WARNING("-Wunknown-pragmas")
|
1927
|
+
#define HEDLEY_MESSAGE(msg) \
|
1928
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
1929
|
+
HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1930
|
+
HEDLEY_PRAGMA(message msg) \
|
1931
|
+
HEDLEY_DIAGNOSTIC_POP
|
1932
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 4, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1933
|
+
#define HEDLEY_MESSAGE(msg) HEDLEY_PRAGMA(message msg)
|
1934
|
+
#elif HEDLEY_CRAY_VERSION_CHECK(5, 0, 0)
|
1935
|
+
#define HEDLEY_MESSAGE(msg) HEDLEY_PRAGMA(_CRI message msg)
|
1936
|
+
#elif HEDLEY_IAR_VERSION_CHECK(8, 0, 0)
|
1937
|
+
#define HEDLEY_MESSAGE(msg) HEDLEY_PRAGMA(message(msg))
|
1938
|
+
#elif HEDLEY_PELLES_VERSION_CHECK(2, 0, 0)
|
1939
|
+
#define HEDLEY_MESSAGE(msg) HEDLEY_PRAGMA(message(msg))
|
1940
|
+
#else
|
1941
|
+
#define HEDLEY_MESSAGE(msg)
|
1942
|
+
#endif
|
1943
|
+
|
1944
|
+
#if defined(HEDLEY_WARNING)
|
1945
|
+
#undef HEDLEY_WARNING
|
1946
|
+
#endif
|
1947
|
+
#if HEDLEY_HAS_WARNING("-Wunknown-pragmas")
|
1948
|
+
#define HEDLEY_WARNING(msg) \
|
1949
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
1950
|
+
HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
|
1951
|
+
HEDLEY_PRAGMA(clang warning msg) \
|
1952
|
+
HEDLEY_DIAGNOSTIC_POP
|
1953
|
+
#elif HEDLEY_GCC_VERSION_CHECK(4, 8, 0) || \
|
1954
|
+
HEDLEY_PGI_VERSION_CHECK(18, 4, 0) || HEDLEY_INTEL_VERSION_CHECK(13, 0, 0)
|
1955
|
+
#define HEDLEY_WARNING(msg) HEDLEY_PRAGMA(GCC warning msg)
|
1956
|
+
#elif HEDLEY_MSVC_VERSION_CHECK(15, 0, 0) || \
|
1957
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
1958
|
+
#define HEDLEY_WARNING(msg) HEDLEY_PRAGMA(message(msg))
|
1959
|
+
#else
|
1960
|
+
#define HEDLEY_WARNING(msg) HEDLEY_MESSAGE(msg)
|
1961
|
+
#endif
|
1962
|
+
|
1963
|
+
#if defined(HEDLEY_REQUIRE)
|
1964
|
+
#undef HEDLEY_REQUIRE
|
1965
|
+
#endif
|
1966
|
+
#if defined(HEDLEY_REQUIRE_MSG)
|
1967
|
+
#undef HEDLEY_REQUIRE_MSG
|
1968
|
+
#endif
|
1969
|
+
#if HEDLEY_HAS_ATTRIBUTE(diagnose_if)
|
1970
|
+
#if HEDLEY_HAS_WARNING("-Wgcc-compat")
|
1971
|
+
#define HEDLEY_REQUIRE(expr) \
|
1972
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
1973
|
+
_Pragma("clang diagnostic ignored \"-Wgcc-compat\"") \
|
1974
|
+
__attribute__((diagnose_if(!(expr), #expr, "error"))) \
|
1975
|
+
HEDLEY_DIAGNOSTIC_POP
|
1976
|
+
#define HEDLEY_REQUIRE_MSG(expr, msg) \
|
1977
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
1978
|
+
_Pragma("clang diagnostic ignored \"-Wgcc-compat\"") \
|
1979
|
+
__attribute__((diagnose_if(!(expr), msg, "error"))) HEDLEY_DIAGNOSTIC_POP
|
1980
|
+
#else
|
1981
|
+
#define HEDLEY_REQUIRE(expr) \
|
1982
|
+
__attribute__((diagnose_if(!(expr), #expr, "error")))
|
1983
|
+
#define HEDLEY_REQUIRE_MSG(expr, msg) \
|
1984
|
+
__attribute__((diagnose_if(!(expr), msg, "error")))
|
1985
|
+
#endif
|
1986
|
+
#else
|
1987
|
+
#define HEDLEY_REQUIRE(expr)
|
1988
|
+
#define HEDLEY_REQUIRE_MSG(expr, msg)
|
1989
|
+
#endif
|
1990
|
+
|
1991
|
+
#if defined(HEDLEY_FLAGS)
|
1992
|
+
#undef HEDLEY_FLAGS
|
1993
|
+
#endif
|
1994
|
+
#if HEDLEY_HAS_ATTRIBUTE(flag_enum)
|
1995
|
+
#define HEDLEY_FLAGS __attribute__((__flag_enum__))
|
1996
|
+
#else
|
1997
|
+
#define HEDLEY_FLAGS
|
1998
|
+
#endif
|
1999
|
+
|
2000
|
+
#if defined(HEDLEY_FLAGS_CAST)
|
2001
|
+
#undef HEDLEY_FLAGS_CAST
|
2002
|
+
#endif
|
2003
|
+
#if HEDLEY_INTEL_VERSION_CHECK(19, 0, 0)
|
2004
|
+
#define HEDLEY_FLAGS_CAST(T, expr) \
|
2005
|
+
(__extension__({ \
|
2006
|
+
HEDLEY_DIAGNOSTIC_PUSH \
|
2007
|
+
_Pragma("warning(disable:188)")((T)(expr)); \
|
2008
|
+
HEDLEY_DIAGNOSTIC_POP \
|
2009
|
+
}))
|
2010
|
+
#else
|
2011
|
+
#define HEDLEY_FLAGS_CAST(T, expr) HEDLEY_STATIC_CAST(T, expr)
|
2012
|
+
#endif
|
2013
|
+
|
2014
|
+
#if defined(HEDLEY_EMPTY_BASES)
|
2015
|
+
#undef HEDLEY_EMPTY_BASES
|
2016
|
+
#endif
|
2017
|
+
#if (HEDLEY_MSVC_VERSION_CHECK(19, 0, 23918) && \
|
2018
|
+
!HEDLEY_MSVC_VERSION_CHECK(20, 0, 0)) || \
|
2019
|
+
HEDLEY_INTEL_CL_VERSION_CHECK(2021, 1, 0)
|
2020
|
+
#define HEDLEY_EMPTY_BASES __declspec(empty_bases)
|
2021
|
+
#else
|
2022
|
+
#define HEDLEY_EMPTY_BASES
|
2023
|
+
#endif
|
2024
|
+
|
2025
|
+
/* Remaining macros are deprecated. */
|
2026
|
+
|
2027
|
+
#if defined(HEDLEY_GCC_NOT_CLANG_VERSION_CHECK)
|
2028
|
+
#undef HEDLEY_GCC_NOT_CLANG_VERSION_CHECK
|
2029
|
+
#endif
|
2030
|
+
#if defined(__clang__)
|
2031
|
+
#define HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major, minor, patch) (0)
|
2032
|
+
#else
|
2033
|
+
#define HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major, minor, patch) \
|
2034
|
+
HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
|
2035
|
+
#endif
|
2036
|
+
|
2037
|
+
#if defined(HEDLEY_CLANG_HAS_ATTRIBUTE)
|
2038
|
+
#undef HEDLEY_CLANG_HAS_ATTRIBUTE
|
2039
|
+
#endif
|
2040
|
+
#define HEDLEY_CLANG_HAS_ATTRIBUTE(attribute) HEDLEY_HAS_ATTRIBUTE(attribute)
|
2041
|
+
|
2042
|
+
#if defined(HEDLEY_CLANG_HAS_CPP_ATTRIBUTE)
|
2043
|
+
#undef HEDLEY_CLANG_HAS_CPP_ATTRIBUTE
|
2044
|
+
#endif
|
2045
|
+
#define HEDLEY_CLANG_HAS_CPP_ATTRIBUTE(attribute) \
|
2046
|
+
HEDLEY_HAS_CPP_ATTRIBUTE(attribute)
|
2047
|
+
|
2048
|
+
#if defined(HEDLEY_CLANG_HAS_BUILTIN)
|
2049
|
+
#undef HEDLEY_CLANG_HAS_BUILTIN
|
2050
|
+
#endif
|
2051
|
+
#define HEDLEY_CLANG_HAS_BUILTIN(builtin) HEDLEY_HAS_BUILTIN(builtin)
|
2052
|
+
|
2053
|
+
#if defined(HEDLEY_CLANG_HAS_FEATURE)
|
2054
|
+
#undef HEDLEY_CLANG_HAS_FEATURE
|
2055
|
+
#endif
|
2056
|
+
#define HEDLEY_CLANG_HAS_FEATURE(feature) HEDLEY_HAS_FEATURE(feature)
|
2057
|
+
|
2058
|
+
#if defined(HEDLEY_CLANG_HAS_EXTENSION)
|
2059
|
+
#undef HEDLEY_CLANG_HAS_EXTENSION
|
2060
|
+
#endif
|
2061
|
+
#define HEDLEY_CLANG_HAS_EXTENSION(extension) HEDLEY_HAS_EXTENSION(extension)
|
2062
|
+
|
2063
|
+
#if defined(HEDLEY_CLANG_HAS_DECLSPEC_DECLSPEC_ATTRIBUTE)
|
2064
|
+
#undef HEDLEY_CLANG_HAS_DECLSPEC_DECLSPEC_ATTRIBUTE
|
2065
|
+
#endif
|
2066
|
+
#define HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE(attribute) \
|
2067
|
+
HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)
|
2068
|
+
|
2069
|
+
#if defined(HEDLEY_CLANG_HAS_WARNING)
|
2070
|
+
#undef HEDLEY_CLANG_HAS_WARNING
|
2071
|
+
#endif
|
2072
|
+
#define HEDLEY_CLANG_HAS_WARNING(warning) HEDLEY_HAS_WARNING(warning)
|
2073
|
+
|
2074
|
+
#endif /* !defined(HEDLEY_VERSION) || (HEDLEY_VERSION < X) */
|