fix clangd warnings

This commit is contained in:
Laurent Rineau 2025-11-21 13:15:28 +01:00
parent a00c477bce
commit 4baf6a41eb
5 changed files with 27 additions and 7 deletions

View File

@ -14,12 +14,23 @@
#include <CGAL/license/Constrained_triangulation_3.h> #include <CGAL/license/Constrained_triangulation_3.h>
#include <CGAL/boost/graph/named_params_helper.h>
#include <CGAL/Constrained_triangulation_3/internal/cdt_debug_io.h> #include <CGAL/Constrained_triangulation_3/internal/cdt_debug_io.h>
#include <CGAL/Constrained_triangulation_3/internal/ostream_redirect_guard.h> #include <CGAL/Constrained_triangulation_3/internal/ostream_redirect_guard.h>
#include <CGAL/Named_function_parameters.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_self_intersections.h> #include <CGAL/Polygon_mesh_processing/polygon_soup_self_intersections.h>
#include <boost/property_map/property_map.hpp>
#include <tl/expected.hpp> #include <tl/expected.hpp>
#include <cstddef>
#include <iostream>
#include <ostream>
#include <sstream> #include <sstream>
#include <string>
#include <utility>
#include <vector>
namespace CGAL { namespace CGAL {

View File

@ -10,8 +10,8 @@ Auto-loaded via .debug_gdb_scripts section.
""" """
import re import re
import gdb
import os import os
import gdb
def base(val): def base(val):
"""Get the base of a possibly derived CGAL type""" """Get the base of a possibly derived CGAL type"""
@ -67,11 +67,13 @@ class CGALPointPrinterBase:
class PointC3Printer(CGALPointPrinterBase): class PointC3Printer(CGALPointPrinterBase):
"""Pretty printer for CGAL::PointC3<any>"""
def __init__(self, val): def __init__(self, val):
super().__init__(val, "PointC3") super().__init__(val, "PointC3")
class Point3Printer(CGALPointPrinterBase): class Point3Printer(CGALPointPrinterBase):
"""Pretty printer for CGAL::Point_3<any>"""
def __init__(self, val): def __init__(self, val):
super().__init__(val, "Point_3") super().__init__(val, "Point_3")

View File

@ -27,12 +27,14 @@
#include <boost/container/flat_set.hpp> #include <boost/container/flat_set.hpp>
#include <boost/container/flat_map.hpp> #include <boost/container/flat_map.hpp>
#include <set> #include <array>
#include <map>
#include <stack>
#include <vector>
#include <algorithm> #include <algorithm>
#include <iostream> #include <cstddef>
#include <iterator>
#include <set>
#include <stack>
#include <utility>
#include <vector>
namespace CGAL { namespace CGAL {

View File

@ -21,6 +21,10 @@
#include <CGAL/export/CGAL.h> #include <CGAL/export/CGAL.h>
#if __has_include(<version>)
# include <version>
#endif
// #include <CGAL/assertions_behaviour.h> // for backward compatibility // #include <CGAL/assertions_behaviour.h> // for backward compatibility
#ifdef NDEBUG #ifdef NDEBUG

View File

@ -14,6 +14,7 @@
#ifndef CGAL_EXCEPTIONS_H #ifndef CGAL_EXCEPTIONS_H
#define CGAL_EXCEPTIONS_H #define CGAL_EXCEPTIONS_H
#include <exception>
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>