mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add IWYU export pragmas to top-level headers.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
e4f58816d9
commit
3f7e775715
@@ -23,7 +23,10 @@
|
||||
#include "../../Eigen/SparseCholesky"
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/Eigenvalues/ArpackSelfAdjointEigenSolver.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -32,10 +32,11 @@ namespace Eigen {
|
||||
}
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/AutoDiff/AutoDiffScalar.h"
|
||||
// #include "src/AutoDiff/AutoDiffVector.h"
|
||||
#include "src/AutoDiff/AutoDiffJacobian.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -87,8 +87,10 @@ namespace Eigen {
|
||||
|
||||
//@{
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/BVH/BVAlgorithms.h"
|
||||
#include "src/BVH/KdBVH.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
@@ -16,8 +16,11 @@
|
||||
#include "../SpecialFunctions"
|
||||
|
||||
#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/util/CXX11Meta.h"
|
||||
#include "src/util/MaxSizeVector.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
/** \defgroup CXX11_Tensor_Module Tensor Module
|
||||
*
|
||||
@@ -54,6 +57,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/Tensor/TensorMacros.h"
|
||||
#include "src/Tensor/TensorForwardDeclarations.h"
|
||||
#include "src/Tensor/TensorMeta.h"
|
||||
@@ -130,8 +134,7 @@
|
||||
#include "src/Tensor/TensorFixedSize.h"
|
||||
#include "src/Tensor/TensorMap.h"
|
||||
#include "src/Tensor/TensorRef.h"
|
||||
|
||||
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -28,10 +28,12 @@
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/TensorSymmetry/util/TemplateGroupTheory.h"
|
||||
#include "src/TensorSymmetry/Symmetry.h"
|
||||
#include "src/TensorSymmetry/StaticSymmetry.h"
|
||||
#include "src/TensorSymmetry/DynamicSymmetry.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
#include "src/util/CXX11Meta.h"
|
||||
#include "src/util/MaxSizeVector.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/ThreadPool/ThreadLocal.h"
|
||||
#include "src/ThreadPool/ThreadYield.h"
|
||||
#include "src/ThreadPool/ThreadCancel.h"
|
||||
@@ -65,6 +66,7 @@
|
||||
#include "src/ThreadPool/ThreadEnvironment.h"
|
||||
#include "src/ThreadPool/Barrier.h"
|
||||
#include "src/ThreadPool/NonBlockingThreadPool.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -35,8 +35,10 @@ namespace Eigen {
|
||||
|
||||
}
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/EulerAngles/EulerSystem.h"
|
||||
#include "src/EulerAngles/EulerAngles.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -79,6 +79,8 @@
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
|
||||
#ifdef EIGEN_FFTW_DEFAULT
|
||||
// FFTW: faster, GPL -- incompatible with Eigen in LGPL form, bigger code size
|
||||
# include <fftw3.h>
|
||||
@@ -110,6 +112,8 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/IterativeSolvers/IncompleteLU.h"
|
||||
#include "src/IterativeSolvers/GMRES.h"
|
||||
#include "src/IterativeSolvers/DGMRES.h"
|
||||
@@ -85,6 +86,7 @@
|
||||
#include "src/IterativeSolvers/IDRS.h"
|
||||
#include "src/IterativeSolvers/BiCGSTABL.h"
|
||||
#include "src/IterativeSolvers/IDRSTABL.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -26,7 +26,9 @@ namespace Eigen {
|
||||
|
||||
} // namespace Eigen
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/KroneckerProduct/KroneckerTensorProduct.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -33,16 +33,16 @@
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
|
||||
#include "src/LevenbergMarquardt/LMqrsolv.h"
|
||||
#include "src/LevenbergMarquardt/LMcovar.h"
|
||||
#include "src/LevenbergMarquardt/LMpar.h"
|
||||
|
||||
#endif
|
||||
|
||||
#include "src/LevenbergMarquardt/LevenbergMarquardt.h"
|
||||
#include "src/LevenbergMarquardt/LMonestep.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -55,11 +55,13 @@
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/MatrixFunctions/MatrixExponential.h"
|
||||
#include "src/MatrixFunctions/MatrixFunction.h"
|
||||
#include "src/MatrixFunctions/MatrixSquareRoot.h"
|
||||
#include "src/MatrixFunctions/MatrixLogarithm.h"
|
||||
#include "src/MatrixFunctions/MatrixPower.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ namespace Eigen {
|
||||
|
||||
}
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/MoreVectorization/MathFunctions.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#endif // EIGEN_MOREVECTORIZATION_MODULE_H
|
||||
|
||||
@@ -118,6 +118,7 @@
|
||||
* unsupported/test/NonLinearOptimization.cpp.
|
||||
*/
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
|
||||
#include "src/NonLinearOptimization/qrsolv.h"
|
||||
@@ -135,6 +136,6 @@
|
||||
|
||||
#include "src/NonLinearOptimization/HybridNonLinearSolver.h"
|
||||
#include "src/NonLinearOptimization/LevenbergMarquardt.h"
|
||||
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#endif // EIGEN_NONLINEAROPTIMIZATION_MODULE_H
|
||||
|
||||
@@ -48,7 +48,9 @@ namespace Eigen {
|
||||
|
||||
//@{
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/NumericalDiff/NumericalDiff.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
@@ -35,9 +35,11 @@
|
||||
* at the start of your source file.
|
||||
*/
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/Polynomials/PolynomialUtils.h"
|
||||
#include "src/Polynomials/Companion.h"
|
||||
#include "src/Polynomials/PolynomialSolver.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
/**
|
||||
\page polynomials Polynomials defines functions for dealing with polynomials
|
||||
|
||||
@@ -27,12 +27,14 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/Skyline/SkylineUtil.h"
|
||||
#include "src/Skyline/SkylineMatrixBase.h"
|
||||
#include "src/Skyline/SkylineStorage.h"
|
||||
#include "src/Skyline/SkylineMatrix.h"
|
||||
#include "src/Skyline/SkylineInplaceLU.h"
|
||||
#include "src/Skyline/SkylineProduct.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/SparseExtra/RandomSetter.h"
|
||||
#include "src/SparseExtra/SparseInverse.h"
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
#include <dirent.h>
|
||||
#include "src/SparseExtra/MatrixMarketIterator.h"
|
||||
#endif
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace Eigen {
|
||||
|
||||
}
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/SpecialFunctions/BesselFunctionsImpl.h"
|
||||
#include "src/SpecialFunctions/BesselFunctionsBFloat16.h"
|
||||
#include "src/SpecialFunctions/BesselFunctionsHalf.h"
|
||||
@@ -92,6 +93,7 @@ namespace Eigen {
|
||||
#if defined EIGEN_VECTORIZE_GPU
|
||||
#include "src/SpecialFunctions/arch/GPU/SpecialFunctions.h"
|
||||
#endif
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
namespace Eigen {
|
||||
//@}
|
||||
|
||||
@@ -26,9 +26,11 @@ namespace Eigen
|
||||
|
||||
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
||||
|
||||
// IWYU pragma: begin_exports
|
||||
#include "src/Splines/SplineFwd.h"
|
||||
#include "src/Splines/Spline.h"
|
||||
#include "src/Splines/SplineFitting.h"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user