mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
Include what the IMEX code uses
Upstream's clang-tidy gate now checks that the lines a pull request changes include the header for every symbol they use. The IMEX sources, their tests, and the lines this PR adds to shared files relied on the precompiled header and transitive includes. This adds the includes clang-tidy names; no code changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
881f2e0c12
commit
53dad9f4fb
@@ -1,16 +1,28 @@
|
||||
#include "libslic3r/IMEXHelpers.hpp"
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <numeric>
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/log/trivial.hpp>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
#include "Config.hpp"
|
||||
#include "libslic3r.h"
|
||||
#include "Point.hpp"
|
||||
#include "BoundingBox.hpp"
|
||||
#include "Polygon.hpp"
|
||||
#include "libslic3r/ClipperUtils.hpp"
|
||||
#include "libslic3r/I18N.hpp"
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
@@ -8,6 +9,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <Eigen/Geometry>
|
||||
#include "Config.hpp"
|
||||
#include "libslic3r/BoundingBox.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "libslic3r/Point.hpp"
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
#include "libslic3r/IMEXZones.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "PrintConfig.hpp"
|
||||
#include "BoundingBox.hpp"
|
||||
#include "Config.hpp"
|
||||
#include "libslic3r/IMEXHelpers.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "MsgDialog.hpp"
|
||||
#include <boost/container_hash/hash.hpp>
|
||||
#include "slic3r/GUI/MeshUtils.hpp"
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include "libvgcode/include/Types.hpp"
|
||||
#include <vector>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "libslic3r/libslic3r.h"
|
||||
#include "libslic3r/Point.hpp"
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -1,8 +1,19 @@
|
||||
#include "slic3r/GUI/IMEXFilamentPickerPopover.hpp"
|
||||
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <wx/popupwin.h>
|
||||
#include <utility>
|
||||
#include <wx/sizer.h>
|
||||
#include <vector>
|
||||
#include <cstddef>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <algorithm>
|
||||
#include <wx/event.h>
|
||||
#include <wx/stattext.h>
|
||||
#include <wx/dcmemory.h>
|
||||
#include <wx/image.h>
|
||||
#include <wx/window.h>
|
||||
#include <wx/string.h>
|
||||
|
||||
#include "libslic3r/IMEXHelpers.hpp"
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef slic3r_IMEXFilamentPickerPopover_hpp_
|
||||
#define slic3r_IMEXFilamentPickerPopover_hpp_
|
||||
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <wx/popupwin.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/sizer.h>
|
||||
|
||||
@@ -1,12 +1,28 @@
|
||||
#include "slic3r/GUI/IMEXModesCtrl.hpp"
|
||||
|
||||
#include <wx/anybutton.h>
|
||||
#include <libslic3r/IMEXHelpers.hpp>
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
#include <tuple>
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
#include <functional>
|
||||
#include <wx/app.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/colour.h>
|
||||
#include <wx/font.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/stattext.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <utility>
|
||||
#include <wx/string.h>
|
||||
|
||||
#include "slic3r/GUI/EditGCodeDialog.hpp"
|
||||
#include "slic3r/GUI/GUI.hpp"
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef slic3r_IMEXModesCtrl_hpp_
|
||||
#define slic3r_IMEXModesCtrl_hpp_
|
||||
|
||||
#include <libslic3r/PrintConfig.hpp>
|
||||
#include <utility>
|
||||
#include <wx/colour.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/sizer.h>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include "libnest2d/common.hpp"
|
||||
#include "libslic3r/Arrange.hpp"
|
||||
#include <libslic3r/BoundingBox.hpp>
|
||||
#include <utility>
|
||||
#include "libslic3r/Point.hpp"
|
||||
#include "libslic3r/Polygon.hpp"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "libslic3r/Line.hpp"
|
||||
#include "libslic3r/Polyline.hpp"
|
||||
#include "libslic3r/ExPolygon.hpp"
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
#include "libslic3r/BuildVolume.hpp"
|
||||
#include "libslic3r/GCode/WipeTower.hpp"
|
||||
@@ -39,6 +40,8 @@
|
||||
#include <mutex>
|
||||
#include <numeric>
|
||||
#include "slic3r/GUI/ImGuiWrapper.hpp"
|
||||
#include <optional>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include "slic3r/GUI/MeshUtils.hpp"
|
||||
#include "slic3r/GUI/GLTexture.hpp"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include "libslic3r/Point.hpp"
|
||||
#include <string>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <ios>
|
||||
#include <functional>
|
||||
#include <exception>
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
@@ -50,6 +51,7 @@
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <wx/app.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include "catch2/catch_test_macros.hpp"
|
||||
#include "catch2/generators/catch_generators.hpp"
|
||||
#include "catch2/catch_message.hpp"
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include "catch2/matchers/catch_matchers_floating_point.hpp"
|
||||
#include "catch2/catch_test_macros.hpp"
|
||||
#include "catch2/matchers/catch_matchers.hpp"
|
||||
#include "libslic3r/GCodeReader.hpp"
|
||||
#include "libslic3r/Model.hpp"
|
||||
#include "libslic3r/Point.hpp"
|
||||
@@ -10,7 +13,9 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <exception>
|
||||
#include <libslic3r/PrintConfig.hpp>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "libslic3r/Model.hpp"
|
||||
#include "libslic3r/TriangleMesh.hpp"
|
||||
#include "libslic3r/Print.hpp"
|
||||
#include <libslic3r/PrintBase.hpp>
|
||||
#include <libslic3r/CustomGCode.hpp>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <catch2/matchers/catch_matchers.hpp>
|
||||
#include <catch2/matchers/catch_matchers_floating_point.hpp>
|
||||
#include <catch2/generators/catch_generators.hpp>
|
||||
#include "catch2/catch_approx.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "libslic3r/PrintConfigConstants.hpp"
|
||||
#include "libslic3r/LocalesUtils.hpp"
|
||||
|
||||
@@ -1,11 +1,25 @@
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include "catch2/matchers/catch_matchers_floating_point.hpp"
|
||||
#include "catch2/catch_test_macros.hpp"
|
||||
#include "catch2/matchers/catch_matchers.hpp"
|
||||
#include "catch2/matchers/catch_matchers_string.hpp"
|
||||
#include "catch2/catch_message.hpp"
|
||||
#include "catch2/generators/catch_generators.hpp"
|
||||
#include "libslic3r/IMEXHelpers.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "libslic3r/Point.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <libslic3r/Polygon.hpp>
|
||||
#include <libslic3r/BoundingBox.hpp>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
using namespace Slic3r;
|
||||
using Catch::Matchers::WithinAbs;
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include <libslic3r/BoundingBox.hpp>
|
||||
#include <libslic3r/Config.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "catch2/matchers/catch_matchers_floating_point.hpp"
|
||||
#include "catch2/matchers/catch_matchers.hpp"
|
||||
#include "catch2/catch_test_macros.hpp"
|
||||
#include "libslic3r/IMEXHelpers.hpp"
|
||||
#include "libslic3r/IMEXZones.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
|
||||
Reference in New Issue
Block a user