[1/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 6563 warnings generated. [2/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:47:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 47 | return {false, QObject::tr("Matrix must have at least 2 rows/columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:84:28: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 84 | return {false, QObject::tr("Matrix has non-numeric values.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:94:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 94 | return {false, QObject::tr("Matrix is not square.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:103:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 103 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:105:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 105 | return {false, !headerMatch ? QObject::tr("Matrix headers don't match.") : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= 106 | QObject::tr("Matrix doesn't have numeric first row or column.")}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:112:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 112 | return {false, QObject::tr("Edge list doesn't have 3 columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:117:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 117 | return {false, QObject::tr("1st edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:120:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 120 | return {false, QObject::tr("2nd edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:123:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 123 | return {false, QObject::tr("3rd edge list column has a non-numeric value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:126:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 126 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13516 warnings generated. [3/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13179 warnings generated. [4/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:415:36: warning: use a boost version of this algorithm [boost-use-ranges] 415 | auto arrayContainsNonObjects = std::any_of(jsonArray.begin(), jsonArray.end(), [](const auto& j) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:415:36: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14842 warnings generated. [5/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:36:14: warning: function 'findBiggestMatrix' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 36 | MatLabMatrix findBiggestMatrix(matvar_t* v, MatLabMatrix& m) | ^ | static /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:65:37: warning: use designated initializer list to initialize 'MatLabMatrix' [modernize-use-designated-initializers] 65 | const MatLabMatrix candidate{v, v->dims[0], v->dims[1]}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._var= ._numColumns= ._numRows= /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:24:1: note: aggregate type is defined here 24 | struct MatLabMatrix | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:86:14: warning: function 'findBiggestMatrix' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 86 | MatLabMatrix findBiggestMatrix(matvar_t* v) | ^ | static /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 9994 warnings generated. [6/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:91:12: warning: enum 'AttributeStatementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 91 | enum class AttributeStatementType { Graph, Node, Edge }; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:343:59: warning: use designated initializer list to initialize 'NodeStatement' [modernize-use-designated-initializers] 343 | LexyDotParser::NodeStatement nodeStatement{std::move(node), {}}; | ^~~~~~~~~~~~~~~~~~~~~ | ._node= ._attributeList= /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:76:1: note: aggregate type is defined here 76 | struct NodeStatement | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:405:6: warning: function 'build' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 405 | bool build(DotFileParser& parser, const DotGraph& dot, IGraphModel& graphModel, | ^ | static /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14333 warnings generated. [7/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:137:17: warning: function 'processAttribute' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 137 | AttributeVector processAttribute(const KeyValue& attribute) | ^ | static /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:172:6: warning: function 'build' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 172 | bool build(GmlFileParser& parser, const List& gml, IGraphModel& graphModel, | ^ | static /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:177:25: warning: use a boost version of this algorithm [boost-use-ranges] 177 | auto keyValue = std::find_if(list.begin(), list.end(), [&key](auto& item) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:177:25: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14696 warnings generated. [8/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13168 warnings generated. [9/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:51:5: warning: use a boost version of this algorithm [boost-use-ranges] 51 | std::sort(edgeList.begin(), edgeList.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:51:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:103:5: warning: use a boost version of this algorithm [boost-use-ranges] 103 | std::reverse(keys.begin(), keys.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:103:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:104:5: warning: use a boost version of this algorithm [boost-use-ranges] 104 | std::reverse(estimatedNumNodes.begin(), estimatedNumNodes.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:104:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:105:5: warning: use a boost version of this algorithm [boost-use-ranges] 105 | std::reverse(estimatedNumEdges.begin(), estimatedNumEdges.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:105:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:106:5: warning: use a boost version of this algorithm [boost-use-ranges] 106 | std::reverse(estimatedNumUniqueEdges.begin(), estimatedNumUniqueEdges.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:106:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:130:5: warning: use a boost version of this algorithm [boost-use-ranges] 130 | std::sort(edgeList.begin(), edgeList.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:130:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:196:5: warning: use a boost version of this algorithm [boost-use-ranges] 196 | std::reverse(keys.begin(), keys.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:196:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:197:5: warning: use a boost version of this algorithm [boost-use-ranges] 197 | std::reverse(estimatedNumNodes.begin(), estimatedNumNodes.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:197:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:198:5: warning: use a boost version of this algorithm [boost-use-ranges] 198 | std::reverse(estimatedNumEdges.begin(), estimatedNumEdges.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:198:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:199:5: warning: use a boost version of this algorithm [boost-use-ranges] 199 | std::reverse(estimatedNumUniqueEdges.begin(), estimatedNumUniqueEdges.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:199:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13433 warnings generated. [10/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13463 warnings generated. [11/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.cpp:75:59: warning: use designated initializer list to initialize 'AttributeColumn' [modernize-use-designated-initializers] 75 | _attributeColumns.emplace_back(AttributeColumn{column, configuration._type, configuration._name}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._column= ._type= ._name= /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.cpp:56:5: note: aggregate type is defined here 56 | struct AttributeColumn | ^ /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.h:43:13: warning: use designated initializer list to initialize 'PairwiseColumnConfiguration' [modernize-use-designated-initializers] 43 | {0, {PairwiseColumnType::SourceNode, {}}}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._type= ._name= /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:38:1: note: aggregate type is defined here 38 | struct PairwiseColumnConfiguration | ^ /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.h:44:13: warning: use designated initializer list to initialize 'PairwiseColumnConfiguration' [modernize-use-designated-initializers] 44 | {1, {PairwiseColumnType::TargetNode, {}}}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._type= ._name= /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:38:1: note: aggregate type is defined here 38 | struct PairwiseColumnConfiguration | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(PairwiseColumnType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13280 warnings generated. [12/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14634 warnings generated. [13/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12204 warnings generated. [14/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:361:5: warning: use a boost version of this algorithm [boost-use-ranges] 361 | std::set_intersection(referenceSet.begin(), referenceSet.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:361:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:386:5: warning: use a boost version of this algorithm [boost-use-ranges] 386 | std::set_intersection(referenceSet.begin(), referenceSet.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:386:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:550:25: warning: use a boost version of this algorithm [boost-use-ranges] 550 | auto maxCount = std::max_element(counts.begin(), counts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:550:25: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13836 warnings generated. [15/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13267 warnings generated. [16/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12302 warnings generated. [17/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:85:15: warning: use a boost version of this algorithm [boost-use-ranges] 85 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:85:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:104:15: warning: use a boost version of this algorithm [boost-use-ranges] 104 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:104:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:133:15: warning: use a boost version of this algorithm [boost-use-ranges] 133 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:133:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14571 warnings generated. [18/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:41:5: warning: use a boost version of this algorithm [boost-use-ranges] 41 | std::sort(v.begin(), v.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:41:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:42:17: warning: use a boost version of this algorithm [boost-use-ranges] 42 | auto last = std::unique(v.begin(), v.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:42:17: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12209 warnings generated. [19/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/loading/userelementdata.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 15921 warnings generated. [20/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13051 warnings generated. [21/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:47:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 47 | return {false, QObject::tr("Matrix must have at least 2 rows/columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:84:28: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 84 | return {false, QObject::tr("Matrix has non-numeric values.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:94:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 94 | return {false, QObject::tr("Matrix is not square.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:103:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 103 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:105:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 105 | return {false, !headerMatch ? QObject::tr("Matrix headers don't match.") : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= 106 | QObject::tr("Matrix doesn't have numeric first row or column.")}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:112:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 112 | return {false, QObject::tr("Edge list doesn't have 3 columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:117:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 117 | return {false, QObject::tr("1st edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:120:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 120 | return {false, QObject::tr("2nd edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:123:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 123 | return {false, QObject::tr("3rd edge list column has a non-numeric value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:126:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 126 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.h:43:13: warning: use designated initializer list to initialize 'PairwiseColumnConfiguration' [modernize-use-designated-initializers] 43 | {0, {PairwiseColumnType::SourceNode, {}}}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._type= ._name= /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:38:1: note: aggregate type is defined here 38 | struct PairwiseColumnConfiguration | ^ /home/runner/work/graphia/graphia/source/shared/loading/pairwisefileparser.h:44:13: warning: use designated initializer list to initialize 'PairwiseColumnConfiguration' [modernize-use-designated-initializers] 44 | {1, {PairwiseColumnType::TargetNode, {}}}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._type= ._name= /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:38:1: note: aggregate type is defined here 38 | struct PairwiseColumnConfiguration | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:158:27: warning: use designated initializer list to initialize 'PairwiseColumnConfiguration' [modernize-use-designated-initializers] 158 | columns[column] = {type, name}; | ^~~~~~~~~~~~ | ._type= ._name= /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:38:1: note: aggregate type is defined here 38 | struct PairwiseColumnConfiguration | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/pairwisecolumntype.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(PairwiseColumnType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 16384 warnings generated. [22/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:350:17: warning: use a boost version of this algorithm [boost-use-ranges] 350 | added.erase(std::remove_if(added.begin(), added.end(), attributeIneligible), added.end()); // clazy:exclude=strict-iterators | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:350:17: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:351:19: warning: use a boost version of this algorithm [boost-use-ranges] 351 | changed.erase(std::remove_if(changed.begin(), changed.end(), attributeIneligible), changed.end()); // clazy:exclude=strict-iterators | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:351:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14383 warnings generated. [23/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:87:19: warning: use a boost version of this algorithm [boost-use-ranges] 87 | updates.erase(std::remove_if(updates.begin(), updates.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:87:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:103:19: warning: use a boost version of this algorithm [boost-use-ranges] 103 | updates.erase(std::remove_if(updates.begin(), updates.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:103:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:115:19: warning: use a boost version of this algorithm [boost-use-ranges] 115 | updates.erase(std::remove_if(updates.begin(), updates.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:115:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:128:5: warning: use a boost version of this algorithm [boost-use-ranges] 128 | std::sort(updates.begin(), updates.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:128:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/updates/updates.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 18994 warnings generated. [24/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:52:33: warning: use designated initializer list to initialize 'Stop' [modernize-use-designated-initializers] 52 | _stops.emplace_back(Stop{value, colorString}); | ^~~~~~~~~~~~~~~~~~~~ | ._value= ._color= /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.h:31:5: note: aggregate type is defined here 31 | struct Stop | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:55:5: warning: use a boost version of this algorithm [boost-use-ranges] 55 | std::sort(_stops.begin(), _stops.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:55:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14352 warnings generated. [25/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14637 warnings generated. [26/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12750 warnings generated. [27/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:31:23: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 31 | auto brightness = 0.299f * color.redF() + | ^~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:32:23: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 32 | 0.587f * color.greenF() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:33:23: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 33 | 0.114f * color.blueF(); | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/color.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 9204 warnings generated. [28/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/console.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 5786 warnings generated. [29/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/debugger.h:50:16: warning: use a boost version of this algorithm [boost-use-ranges] 50 | return std::any_of(debuggers.begin(), debuggers.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/debugger.h:50:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13445 warnings generated. [30/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:103:5: warning: function 'loadKey' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 103 | Key loadKey(const std::string& fileName) | ^ | static /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1264:4: warning: Call to virtual method 'StringStore::StoreInitialize' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 1264 | {StoreInitialize(MakeParameters("InputBuffer", ConstByteArrayParameter(string)));} | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:186:22: note: Calling 'loadKey' 186 | auto publicKey = loadKey(publicKeyFileName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:106:8: note: Assuming the condition is false 106 | if(!file.open(QIODevice::ReadOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:106:5: note: Taking false branch 106 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:114:27: note: Calling constructor for 'StringSource' 114 | CryptoPP::ArraySource arraySource(reinterpret_cast(byteArray.constData()), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | static_cast(byteArray.size()), true); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1479:5: note: Calling constructor for 'SourceTemplate' 1479 | : SourceTemplate(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string, length)));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1435:2: note: Calling default constructor for 'StringStore' 1435 | SourceTemplate(BufferedTransformation *attachment) | ^~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1264:4: note: Call to virtual method 'StringStore::StoreInitialize' during construction bypasses virtual dispatch 1264 | {StoreInitialize(MakeParameters("InputBuffer", ConstByteArrayParameter(string)));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 17024 warnings generated. [31/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13172 warnings generated. [32/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:104:12: warning: use a boost version of this algorithm [boost-use-ranges] 104 | return std::any_of(_downloaded.begin(), _downloaded.end(), [&](const auto& deletee) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:104:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13485 warnings generated. [33/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/failurereason.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 8707 warnings generated. [34/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/json.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 17556 warnings generated. [35/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 13837 warnings generated. [36/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 9509 warnings generated. [37/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/qrcextract.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12766 warnings generated. [38/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/random.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 10212 warnings generated. [39/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:74:24: warning: use a boost version of this algorithm [boost-use-ranges] 27 | auto sum = std::accumulate(samples.begin(), samples.end(), 0LL); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::accumulate samples /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:76:27: warning: use a ranges version of this algorithm [modernize-use-ranges] 76 | auto minMax = std::minmax_element(samples.begin(), samples.end()); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | std::ranges::minmax_element samples /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:78:29: warning: use a boost version of this algorithm [boost-use-ranges] 78 | double stdDev = std::accumulate(samples.begin(), samples.end(), 0.0, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::accumulate samples /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12484 warnings generated. [40/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12761 warnings generated. [41/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 11592 warnings generated. [42/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/static_block.cpp:30:5: warning: use a boost version of this algorithm [boost-use-ranges] 30 | std::sort(v.begin(), v.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/static_block.cpp:30:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/static_block.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 5265 warnings generated. [43/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:111:5: warning: use a boost version of this algorithm [boost-use-ranges] 111 | std::copy(stringList.begin(), stringList.end(), std::back_inserter(v)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:111:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:235:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] 235 | if(maxDecimalPlaces < minDecimalPlaces) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | maxDecimalPlaces = std::max(maxDecimalPlaces, minDecimalPlaces); 236 | maxDecimalPlaces = minDecimalPlaces; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:281:9: warning: use designated initializer list to initialize 'Postfix' [modernize-use-designated-initializers] 281 | {1e9, 1e9, 'B'}, | ^~~~~~~~~~~~~~~ | ._threshold= ._divider= ._symbol= /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:272:5: note: aggregate type is defined here 272 | struct Postfix | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:282:9: warning: use designated initializer list to initialize 'Postfix' [modernize-use-designated-initializers] 282 | {1e6, 1e6, 'M'}, | ^~~~~~~~~~~~~~~ | ._threshold= ._divider= ._symbol= /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:272:5: note: aggregate type is defined here 272 | struct Postfix | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:283:9: warning: use designated initializer list to initialize 'Postfix' [modernize-use-designated-initializers] 283 | {1e4, 1e3, 'k'}, | ^~~~~~~~~~~~~~~ | ._threshold= ._divider= ._symbol= /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:272:5: note: aggregate type is defined here 272 | struct Postfix | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/string.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 14020 warnings generated. [44/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 12807 warnings generated. [45/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 8699 warnings generated. [46/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared', '-I/home/runner/work/graphia/graphia/source/shared', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/utils/utils.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/shared_autogen/include' [-Wmissing-include-dirs]\n" 3013 warnings generated. [47/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes', '-I/home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include' [-Wmissing-include-dirs]\n" 11410 warnings generated. [48/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes', '-I/home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes', '-I/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/graphsizeestimateplot.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/shared/ui/qml/Graphia/SharedTypes/sharedtypes_qml_autogen/include' [-Wmissing-include-dirs]\n" 35312 warnings generated. [49/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 12506 warnings generated. [50/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum { arity = sizeof...(Args) }; | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 17499 warnings generated. [51/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/correlationdatavector.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 10639 warnings generated. [52/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:47:5: warning: use a boost version of this algorithm [boost-use-ranges] 47 | std::transform(_dataColumnNames.begin(), _dataColumnNames.end(), _dataColumnNames.begin(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:47:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 13987 warnings generated. [53/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:209:5: warning: use a boost version of this algorithm [boost-use-ranges] 209 | std::transform(_continuousData.begin(), _continuousData.end(), _continuousData.begin(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:209:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:617:9: warning: use a boost version of this algorithm [boost-use-ranges] 617 | std::copy(values.begin(), values.end(), std::back_inserter(sortedValues)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:617:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:618:9: warning: use a boost version of this algorithm [boost-use-ranges] 618 | std::sort(sortedValues.begin(), sortedValues.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:618:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:834:32: warning: redundant explicit casting to the same type 'size_t' (aka 'unsigned long') as the sub-expression, remove this casting [readability-redundant-casting] 834 | return _dataColumnNames.at(static_cast(column)); | ^~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:832:54: note: source type originates from referencing this parameter 832 | QString CorrelationPluginInstance::columnName(size_t column) const | ~~~~~~ ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:854:31: warning: use a boost version of this algorithm [boost-use-ranges] 854 | auto colorsInconsistent = std::any_of(rows.begin(), rows.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:854:31: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:871:15: warning: use a boost version of this algorithm [boost-use-ranges] 871 | auto it = std::find_if(_columnAnnotations.begin(), _columnAnnotations.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:871:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:956:9: warning: use designated initializer list to initialize 'RowScore' [modernize-use-designated-initializers] 956 | { | ^ 957 | row, | ~~~~ | ._row= 958 | (columnsSum * positiveWeight) - (otherColumnsSum * negativeWeight) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._value= 959 | }; | ~ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:936:5: note: aggregate type is defined here 936 | struct RowScore | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:964:5: warning: use a boost version of this algorithm [boost-use-ranges] 964 | std::sort(rowScores.begin(), rowScores.end(), [](const auto& a, const auto& b) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:964:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1000:13: warning: use a boost version of this algorithm [boost-use-ranges] 1000 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1000:13: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1019:13: warning: use a boost version of this algorithm [boost-use-ranges] 1019 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1019:13: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1122:5: warning: use a boost version of this algorithm [boost-use-ranges] 1122 | std::transform(dataColumnNames.begin(), dataColumnNames.end(), std::back_inserter(_dataColumnNames), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1122:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1271:9: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] 1271 | dataVersion >= 12 ? "threshold" : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1270:9: note: parent conditional operator here 1270 | dataVersion >= 14 ? "minimumThreshold" : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1494:10: warning: the variable 'extensionIdentity' is copy-constructed from a const reference but is only used as const reference; consider making it a const reference [performance-unnecessary-copy-initialization] 1494 | auto extensionIdentity = urlTypes.first(); | ^ | const & /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:46:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 46 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 47 | begin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:49:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 49 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 50 | end() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:52:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 52 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 53 | cbegin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:55:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 55 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 56 | cend() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:66:35: warning: the parameter 'v' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 66 | QmlEnumType normaliseQmlEnum(auto v) | ^ | const & /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 38599 warnings generated. [54/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:174:38: warning: use designated initializer list to initialize 'StandardNormalisationValues' [modernize-use-designated-initializers] 174 | if(!calcStandardValues(dataRows, {&mins, &maxs, &ranges}, parser)) | ^~~~~~~~~~~~~~~~~~~~~~~ | .mins= .maxs= .ranges= /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:32:1: note: aggregate type is defined here 32 | struct StandardNormalisationValues | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:190:38: warning: use designated initializer list to initialize 'StandardNormalisationValues' [modernize-use-designated-initializers] 190 | if(!calcStandardValues(dataRows, {&mins, &maxs, &ranges, &means}, parser)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | .mins= .maxs= .ranges= .means= /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:32:1: note: aggregate type is defined here 32 | struct StandardNormalisationValues | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:207:38: warning: use designated initializer list to initialize 'StandardNormalisationValues' [modernize-use-designated-initializers] 207 | if(!calcStandardValues(dataRows, {&mins, &maxs, &ranges, &means, &stddevs}, parser)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | .mins= .maxs= .ranges= .means= .stddevs= /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:32:1: note: aggregate type is defined here 32 | struct StandardNormalisationValues | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 10632 warnings generated. [55/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:41:9: warning: use a boost version of this algorithm [boost-use-ranges] 29 | #include 30 | #include 31 | #include 32 | 33 | class Unions 34 | { 35 | private: 36 | std::vector _unions; 37 | 38 | public: 39 | explicit Unions(size_t size) : _unions(size) 40 | { 41 | std::iota(_unions.begin(), _unions.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::algorithm::iota _unions /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:148:5: warning: use a boost version of this algorithm [boost-use-ranges] 148 | std::iota(sortedIndices.begin(), sortedIndices.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | boost::algorithm::iota sortedIndices /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:150:5: warning: use a boost version of this algorithm [boost-use-ranges] 150 | std::sort(sortedIndices.begin(), sortedIndices.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:150:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 14854 warnings generated. [56/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 14147 warnings generated. [57/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 14132 warnings generated. [58/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:53:9: warning: use a boost version of this algorithm [boost-use-ranges] 53 | std::transform(dataRows.begin(), dataRows.end(), std::back_inserter(columnValues), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:53:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:61:9: warning: use a boost version of this algorithm [boost-use-ranges] 61 | std::sort(sortedValues.begin(), sortedValues.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:61:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:63:34: warning: use a boost version of this algorithm [boost-use-ranges] 63 | uniqueSortedValues.erase(std::unique(uniqueSortedValues.begin(), uniqueSortedValues.end()), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:63:34: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 10642 warnings generated. [59/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-Dcorrelation_EXPORTS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/softmaxnormaliser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/correlation_autogen/include' [-Wmissing-include-dirs]\n" 10624 warnings generated. [60/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:81:19: warning: use a boost version of this algorithm [boost-use-ranges] 81 | auto zoomed = std::any_of(_axisParameters.begin(), _axisParameters.end(), [](const auto& v) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:81:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:198:5: warning: use `std::max` instead of `>` [readability-use-std-min-max] 40 | if(updateType > _updateType) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | _updateType = std::max(updateType, _updateType); 41 | _updateType = updateType; | ~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:906:5: warning: use a boost version of this algorithm [boost-use-ranges] 906 | std::transform(plottablesMap.begin(), plottablesMap.end(), std::back_inserter(plottables), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:906:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:908:5: warning: use a boost version of this algorithm [boost-use-ranges] 908 | std::sort(plottables.begin(), plottables.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:908:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1272:5: warning: use a boost version of this algorithm [boost-use-ranges] 40 | std::iota(_sortMap.begin(), _sortMap.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | boost::algorithm::iota _sortMap /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1310:35: warning: use a boost version of this algorithm [boost-use-ranges] 1310 | if(!_columnSortOrderPinned && std::any_of(columnSortOrders.begin(), columnSortOrders.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1310:35: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1376:9: warning: use a boost version of this algorithm [boost-use-ranges] 1376 | std::iota(inverseDataValueOrdering.begin(), inverseDataValueOrdering.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | boost::algorithm::iota inverseDataValueOrdering /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1377:9: warning: use a boost version of this algorithm [boost-use-ranges] 1377 | std::sort(inverseDataValueOrdering.begin(), inverseDataValueOrdering.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1377:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1387:5: warning: use a boost version of this algorithm [boost-use-ranges] 1387 | std::sort(_sortMap.begin(), _sortMap.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1387:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1495:21: warning: use a boost version of this algorithm [boost-use-ranges] 1495 | auto existing = std::find_if(_columnSortOrders.cbegin(), _columnSortOrders.cend(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1495:21: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1523:33: warning: use a boost version of this algorithm [boost-use-ranges] 1523 | _columnSortOrders.erase(std::remove_if(_columnSortOrders.begin(), _columnSortOrders.end(), // clazy:exclude=strict-iterators,detaching-member | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1523:33: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1568:12: warning: use a boost version of this algorithm [boost-use-ranges] 1568 | return std::any_of(_columnSortOrders.cbegin(), _columnSortOrders.cend(), [](const auto& value) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp:1568:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:60:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 60 | DEFINE_QML_ENUM(PlotScaleType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:69:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 69 | DEFINE_QML_ENUM(PlotAveragingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:76:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 76 | DEFINE_QML_ENUM(PlotDispersionType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:81:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 81 | DEFINE_QML_ENUM(PlotDispersionVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:86:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 86 | DEFINE_QML_ENUM(PlotColumnSortType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:93:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 93 | DEFINE_QML_ENUM(PlotMode, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:98:12: warning: enum 'CorrelationPlotUpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class CorrelationPlotUpdateType | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:283:16: warning: enum 'InvalidateCache' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 283 | enum class InvalidateCache { No, Yes }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:290:16: warning: enum 'RebuildRequired' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 290 | enum class RebuildRequired | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 36590 warnings generated. [61/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:60:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 60 | DEFINE_QML_ENUM(PlotScaleType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:69:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 69 | DEFINE_QML_ENUM(PlotAveragingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:76:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 76 | DEFINE_QML_ENUM(PlotDispersionType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:81:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 81 | DEFINE_QML_ENUM(PlotDispersionVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:86:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 86 | DEFINE_QML_ENUM(PlotColumnSortType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:93:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 93 | DEFINE_QML_ENUM(PlotMode, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:98:12: warning: enum 'CorrelationPlotUpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class CorrelationPlotUpdateType | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:283:16: warning: enum 'InvalidateCache' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 283 | enum class InvalidateCache { No, Yes }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:290:16: warning: enum 'RebuildRequired' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 290 | enum class RebuildRequired | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_columnannotations.cpp:493:33: warning: use a boost version of this algorithm [boost-use-ranges] 493 | columnAnnotations.erase(std::remove_if(columnAnnotations.begin(), columnAnnotations.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_columnannotations.cpp:493:33: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_columnannotations.cpp:568:31: warning: use a boost version of this algorithm [boost-use-ranges] 568 | const bool selected = std::all_of(indices.begin(), indices.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_columnannotations.cpp:568:31: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_columnannotations.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 35658 warnings generated. [62/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:60:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 60 | DEFINE_QML_ENUM(PlotScaleType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:69:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 69 | DEFINE_QML_ENUM(PlotAveragingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:76:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 76 | DEFINE_QML_ENUM(PlotDispersionType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:81:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 81 | DEFINE_QML_ENUM(PlotDispersionVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:86:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 86 | DEFINE_QML_ENUM(PlotColumnSortType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:93:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 93 | DEFINE_QML_ENUM(PlotMode, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:98:12: warning: enum 'CorrelationPlotUpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class CorrelationPlotUpdateType | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:283:16: warning: enum 'InvalidateCache' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 283 | enum class InvalidateCache { No, Yes }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:290:16: warning: enum 'RebuildRequired' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 290 | enum class RebuildRequired | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:247:9: warning: use a boost version of this algorithm [boost-use-ranges] 247 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:247:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:255:37: warning: use a boost version of this algorithm [boost-use-ranges] 36 | const double runningTotal = std::accumulate(values.begin(), values.end(), 0.0, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | boost::accumulate values /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:271:6: warning: function 'addPlotPerAttributeValue' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 271 | void addPlotPerAttributeValue(const CorrelationPluginInstance* pluginInstance, | ^ | static /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:309:9: warning: use a boost version of this algorithm [boost-use-ranges] 36 | std::iota(std::begin(xData), std::end(xData), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota xData /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:353:9: warning: use a boost version of this algorithm [boost-use-ranges] 353 | std::iota(std::begin(xData), std::end(xData), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota xData /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:361:13: warning: use a boost version of this algorithm [boost-use-ranges] 361 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:361:13: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:408:9: warning: use a boost version of this algorithm [boost-use-ranges] 408 | std::iota(std::begin(xData), std::end(xData), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota xData /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:531:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 531 | auto minmax = std::minmax_element(outliers.begin(), outliers.end()); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | std::ranges::minmax_element outliers /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:566:9: warning: use a boost version of this algorithm [boost-use-ranges] 566 | std::transform(selectedRows.begin(), selectedRows.end(), std::back_inserter(values), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:566:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:629:9: warning: use a boost version of this algorithm [boost-use-ranges] 629 | std::iota(std::begin(xData), std::end(xData), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota xData /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp:800:41: warning: use designated initializer list to initialize 'LineCacheEntry' [modernize-use-designated-initializers] 800 | _lineGraphCache.insert(row, {graph, rowMinY, rowMaxY}); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ._graph= ._minY=._maxY= /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:365:5: note: aggregate type is defined here 365 | struct LineCacheEntry | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:46:26: warning: redundant explicit casting to the same type 'size_type' (aka 'typename C::size_type') as the sub-expression, remove this casting [readability-redundant-casting] 46 | std::swap(sample[static_cast(i)], | ^~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:42:19: note: source type originates from referencing this variable 42 | for(size_type i = 0; i < static_cast(numSamples); i++) | ~~~~~~~~~ ^ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:47:20: warning: redundant explicit casting to the same type 'size_type' (aka 'typename C::size_type') as the sub-expression, remove this casting [readability-redundant-casting] 47 | sample[static_cast(i) + static_cast(uid(dre))]); | ^~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:42:19: note: source type originates from referencing this variable 42 | for(size_type i = 0; i < static_cast(numSamples); i++) | ~~~~~~~~~ ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_continuous.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 35727 warnings generated. [63/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:60:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 60 | DEFINE_QML_ENUM(PlotScaleType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:69:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 69 | DEFINE_QML_ENUM(PlotAveragingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:76:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 76 | DEFINE_QML_ENUM(PlotDispersionType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:81:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 81 | DEFINE_QML_ENUM(PlotDispersionVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:86:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 86 | DEFINE_QML_ENUM(PlotColumnSortType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:93:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 93 | DEFINE_QML_ENUM(PlotMode, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:98:12: warning: enum 'CorrelationPlotUpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class CorrelationPlotUpdateType | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:283:16: warning: enum 'InvalidateCache' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 283 | enum class InvalidateCache { No, Yes }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:290:16: warning: enum 'RebuildRequired' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 290 | enum class RebuildRequired | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_discrete.cpp:83:38: warning: use a boost version of this algorithm [boost-use-ranges] 83 | auto maxY = static_cast(*std::max_element(columnTotals.begin(), columnTotals.end())); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_discrete.cpp:83:38: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot_discrete.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 35598 warnings generated. [64/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:60:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 60 | DEFINE_QML_ENUM(PlotScaleType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:69:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 69 | DEFINE_QML_ENUM(PlotAveragingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:76:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 76 | DEFINE_QML_ENUM(PlotDispersionType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:81:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 81 | DEFINE_QML_ENUM(PlotDispersionVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:86:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 86 | DEFINE_QML_ENUM(PlotColumnSortType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:93:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 93 | DEFINE_QML_ENUM(PlotMode, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:98:12: warning: enum 'CorrelationPlotUpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class CorrelationPlotUpdateType | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:283:16: warning: enum 'InvalidateCache' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 283 | enum class InvalidateCache { No, Yes }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplot.h:290:16: warning: enum 'RebuildRequired' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 290 | enum class RebuildRequired | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationplotsaveimagecommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 35713 warnings generated. [65/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp:427:5: warning: use a boost version of this algorithm [boost-use-ranges] 40 | std::iota(rowIndices.begin(), rowIndices.end(), first); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | boost::algorithm::iota rowIndices /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp:429:5: warning: use a boost version of this algorithm [boost-use-ranges] 429 | std::sort(rowIndices.begin(), rowIndices.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp:429:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp:491:5: warning: use a boost version of this algorithm [boost-use-ranges] 491 | std::transform(rowData.begin(), rowData.end(), rowData.begin(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp:491:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:46:26: warning: redundant explicit casting to the same type 'size_type' (aka 'typename C::size_type') as the sub-expression, remove this casting [readability-redundant-casting] 46 | std::swap(sample[static_cast(i)], | ^~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:42:19: note: source type originates from referencing this variable 42 | for(size_type i = 0; i < static_cast(numSamples); i++) | ~~~~~~~~~ ^ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:47:20: warning: redundant explicit casting to the same type 'size_type' (aka 'typename C::size_type') as the sub-expression, remove this casting [readability-redundant-casting] 47 | sample[static_cast(i) + static_cast(uid(dre))]); | ^~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/shared/utils/container_randomsample.h:42:19: note: source type originates from referencing this variable 42 | for(size_type i = 0; i < static_cast(numSamples); i++) | ~~~~~~~~~ ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtabulardataparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 16103 warnings generated. [66/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 5581 warnings generated. [67/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:28:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | DEFINE_QML_ENUM(CorrelationType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:37:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | DEFINE_QML_ENUM(CorrelationDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:41:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | DEFINE_QML_ENUM(CorrelationPolarity, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:46:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 46 | DEFINE_QML_ENUM(CorrelationFilterType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:50:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 50 | DEFINE_QML_ENUM(ScalingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:58:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 58 | DEFINE_QML_ENUM(NormaliseType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:67:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | DEFINE_QML_ENUM(MissingDataType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlationtype.h:72:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 72 | DEFINE_QML_ENUM(ClippingType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/importannotationskeydetection.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 15231 warnings generated. [68/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.cpp:58:25: warning: use designated initializer list to initialize 'Row' [modernize-use-designated-initializers] 58 | _rows.emplace(y, Row{std::move(indices), selected, offset, columnAnnotation}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._indices= ._selected= ._offset= ._columnAnnotation= /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.h:45:5: note: aggregate type is defined here 45 | struct Row | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.cpp:101:72: warning: use designated initializer list to initialize 'Rect' [modernize-use-designated-initializers] 101 | _rects[row._columnAnnotation->name()].emplace_back(Rect{left, y, width, currentValue, currentColor, row._selected}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._x= ._y= ._width= ._value= ._color= ._selected= /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.h:55:5: note: aggregate type is defined here 55 | struct Rect | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.cpp:112:64: warning: use designated initializer list to initialize 'Rect' [modernize-use-designated-initializers] 112 | _rects[row._columnAnnotation->name()].emplace_back(Rect{left, y, width, currentValue, currentColor, row._selected}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._x= ._y= ._width= ._value= ._color= ._selected= /home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.h:55:5: note: aggregate type is defined here 55 | struct Rect | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_PLUGIN', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation', '-I/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/qcpcolumnannotations.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/plugins/correlation/ui/qml/Graphia/Plugins/Correlation/correlation_qml_autogen/include' [-Wmissing-include-dirs]\n" 34967 warnings generated. [69/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:444:12: warning: use designated initializer list to initialize 'Name' [modernize-use-designated-initializers] 444 | return {type, name, parameter}; | ^~~~~~~~~~~~~~~~~~~~~~~ | ._type= ._name= ._parameter= /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:573:5: note: aggregate type is defined here 573 | struct Name | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14627 warnings generated. [70/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:241:83: warning: the parameter 'value' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 241 | auto comparisonFn = [op](const Attribute& attribute, auto valueOfFn, auto value) -> ElementConditionFn | ^ | const & /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 18630 warnings generated. [71/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 12931 warnings generated. [72/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:184:9: warning: use a boost version of this algorithm [boost-use-ranges] 28 | std::iota(_sortFilterMap.begin(), _sortFilterMap.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | boost::algorithm::iota _sortFilterMap /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:189:9: warning: use a boost version of this algorithm [boost-use-ranges] 189 | std::sort(_sortFilterMap.begin(), _sortFilterMap.end(), [this](size_t rowA, size_t rowB) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:189:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 12629 warnings generated. [73/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:43:34: warning: use a boost version of this algorithm [boost-use-ranges] 43 | const bool transformsValid = std::all_of(_transformations.begin(), _transformations.end(), // clazy:exclude=detaching-member | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:43:34: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 17850 warnings generated. [74/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 17906 warnings generated. [75/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14466 warnings generated. [76/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14039 warnings generated. [77/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14706 warnings generated. [78/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16972 warnings generated. [79/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15545 warnings generated. [80/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:38:5: warning: use a boost version of this algorithm [boost-use-ranges] 38 | std::transform(attributeNames.cbegin(), attributeNames.cend(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:38:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14442 warnings generated. [81/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:201:5: warning: use a boost version of this algorithm [boost-use-ranges] 201 | std::set_difference(componentIds.begin(), componentIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:201:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:204:5: warning: use a boost version of this algorithm [boost-use-ranges] 204 | std::set_difference(_componentIdsSet.begin(), _componentIdsSet.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:204:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:304:5: warning: use a boost version of this algorithm [boost-use-ranges] 304 | std::copy(_componentIdsSet.begin(), _componentIdsSet.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:304:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:316:5: warning: use a boost version of this algorithm [boost-use-ranges] 316 | std::copy(componentIdsToBeAdded.begin(), componentIdsToBeAdded.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:316:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:318:5: warning: use a boost version of this algorithm [boost-use-ranges] 318 | std::copy(componentIdsToBeAdded.begin(), componentIdsToBeAdded.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:318:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:321:5: warning: use a boost version of this algorithm [boost-use-ranges] 321 | std::stable_sort(_componentIds.begin(), _componentIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:321:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15329 warnings generated. [82/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:60:39: warning: function 'check' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 60 | template bool check(const G& graph, const C& component, | ^ | static /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 12452 warnings generated. [83/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:52:5: warning: use a boost version of this algorithm [boost-use-ranges] 52 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:52:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:60:5: warning: use a boost version of this algorithm [boost-use-ranges] 60 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:60:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:68:5: warning: use a boost version of this algorithm [boost-use-ranges] 68 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:68:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:69:5: warning: use a boost version of this algorithm [boost-use-ranges] 69 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:69:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:147:39: warning: function 'dumpGraphToQDebug' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 147 | template void dumpGraphToQDebug(const G& graph, const C& component, int detail) | ^ | static /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/graph/graph.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14864 warnings generated. [84/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:809:17: warning: use a boost version of this algorithm [boost-use-ranges] 809 | std::sort(sharedValues.begin(), sharedValues.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:809:17: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:821:17: warning: use a boost version of this algorithm [boost-use-ranges] 821 | std::sort(sharedValues.begin(), sharedValues.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:821:17: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1490:5: warning: use a boost version of this algorithm [boost-use-ranges] 1490 | std::transform(removedAttributeIdentities.begin(), removedAttributeIdentities.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1490:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1492:5: warning: use a boost version of this algorithm [boost-use-ranges] 1492 | std::transform(addedAttributeIdentities.begin(), addedAttributeIdentities.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1492:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1497:33: warning: use a boost version of this algorithm [boost-use-ranges] 1497 | changedAttributeNames.erase(std::remove_if(changedAttributeNames.begin(), changedAttributeNames.end(), // clazy:exclude=strict-iterators | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1497:33: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.h:62:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 62 | {"Node Betweenness", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.h:63:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 63 | {"Edge Betweenness", ElementType::Edge, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.h:80:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 80 | return {{"Name", _elementType, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.h:77:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 77 | {"Node Multiplicity", ElementType::Node, ValueType::Int, {}, QObject::tr("Size")}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.h:78:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 78 | {"Edge Multiplicity", ElementType::Edge, ValueType::Int, {}, QObject::tr("Size")} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.h:59:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 59 | return {{"Node Eccentricity", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.h:75:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 75 | return {{"Louvain Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.h:103:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 103 | return {{"Weighted Louvain Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:84:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 84 | return {{"MCL Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:65:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 65 | return {{"Node PageRank", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/container_combine.h:56:72: warning: parameter 'its' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param] 56 | iterator(combine::ContainerIteratorPairs its, bool end) : _its(its) | ^ | std::move( ) /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '11' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:17: note: Calling 'Flags::set' 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1348 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '11' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '12' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:17: note: Calling 'Flags::set' 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1348 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '12' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '15' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:17: note: Calling 'Flags::set' 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1348 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '15' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '20' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:17: note: Calling 'Flags::set' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1354 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '20' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '23' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:17: note: Calling 'Flags::set' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1354 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '23' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '24' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:42: note: Calling 'operator()' 1409 | const VisualChangeFlags textChange = findTextVisualsChange(_->_textVisuals, _->_newTextVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1371:12: note: Assuming the condition is false 1371 | if(previous.size() != current.size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1371:9: note: Taking false branch 1371 | if(previous.size() != current.size()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1377:12: note: Assuming the condition is false 1377 | if(previousComponentIds != currentComponentIds) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1377:9: note: Taking false branch 1377 | if(previousComponentIds != currentComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1385:16: note: Assuming the condition is false 1385 | if(previousTextVisuals.size() != currentTextVisuals.size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1385:13: note: Taking false branch 1385 | if(previousTextVisuals.size() != currentTextVisuals.size()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1388:31: note: Assuming the condition is true 1388 | for(size_t i = 0; i < previousTextVisuals.size(); i++) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1388:13: note: Loop condition is true. Entering loop body 1388 | for(size_t i = 0; i < previousTextVisuals.size(); i++) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1393:20: note: Assuming the condition is false 1393 | if(previousTextVisual._nodeIds != currentTextVisual._nodeIds) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1393:17: note: Taking false branch 1393 | if(previousTextVisual._nodeIds != currentTextVisual._nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1396:20: note: Assuming the condition is true 1396 | if(previousTextVisual._color != currentTextVisual._color) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1396:17: note: Taking true branch 1396 | if(previousTextVisual._color != currentTextVisual._color) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1399:20: note: Assuming 'previousTextVisual._size' is not equal to 'currentTextVisual._size' 1399 | if(previousTextVisual._size != currentTextVisual._size) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1399:17: note: Taking true branch 1399 | if(previousTextVisual._size != currentTextVisual._size) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1400:21: note: Calling 'Flags::set' 1400 | change.set(VisualChangeFlags::TextSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '24' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '28' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:17: note: Calling 'Flags::set' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1354 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '28' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '3' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:17: note: Calling 'Flags::set' 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1333 | VisualChangeFlags::Color : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '3' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '31' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:17: note: Calling 'Flags::set' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1354 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '31' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '33' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:17: note: Calling 'Flags::set' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1327 | VisualChangeFlags::Size : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '33' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '40' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:17: note: Calling 'Flags::set' 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | VisualChangeFlags::State : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '40' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '47' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:17: note: Calling 'Flags::set' 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | VisualChangeFlags::State : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '47' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '48' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:17: note: Calling 'Flags::set' 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | VisualChangeFlags::State : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '48' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '56' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:17: note: Calling 'Flags::set' 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | VisualChangeFlags::State : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '56' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '6' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:17: note: Calling 'Flags::set' 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1342 | VisualChangeFlags::Text : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '6' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '63' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is true 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is not equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is true 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:17: note: Calling 'Flags::set' 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | VisualChangeFlags::State : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '63' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: warning: The value '7' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' [clang-analyzer-optin.core.EnumCastOutOfRange] 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: note: enum declared here 40 | enum class VisualChangeFlags | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 41 | { | ~ 42 | None = 0x00, | ~~~~~~~~~~~~~~~~~~~ 43 | Size = 0x01, | ~~~~~~~~~~~~~~~~~~~ 44 | Color = 0x02, | ~~~~~~~~~~~~~~~~~~~ 45 | Text = 0x04, | ~~~~~~~~~~~~~~~~~~~ 46 | TextColor = 0x08, | ~~~~~~~~~~~~~~~~~~~ 47 | TextSize = 0x10, | ~~~~~~~~~~~~~~~~~~~ 48 | State = 0x20 | ~~~~~~~~~~~~~~~~~~ 49 | }; | ~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:8: note: Assuming the condition is false 1438 | if(!name.startsWith(u"visuals"_s)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1438:5: note: Taking false branch 1438 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Assuming the condition is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:9: note: Assuming the condition is false 1442 | name.endsWith(u"showNodeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:9: note: Assuming the condition is false 1443 | name.endsWith(u"showEdgeText"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:9: note: Assuming the condition is false 1444 | name.endsWith(u"showEdges"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:9: note: Assuming the condition is false 1445 | name.endsWith(u"edgeVisualType"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:9: note: Assuming the condition is false 1446 | name.endsWith(u"highlightColor"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:9: note: Assuming the condition is false 1447 | name.endsWith(u"textFont"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1448:9: note: Assuming the condition is false 1448 | name.endsWith(u"textSize"_s) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:24: note: Left side of '||' is false 1441 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1451:5: note: Calling 'GraphModel::updateVisuals' 1451 | updateVisuals(force); | ^~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:8: note: Assuming the condition is false 1167 | if(!lock.owns_lock()) | ^~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1167:5: note: Taking false branch 1167 | if(!lock.owns_lock()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:8: note: Assuming field '_visualUpdatesEnabled' is true 1174 | if(!_visualUpdatesEnabled) | ^~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1174:5: note: Taking false branch 1174 | if(!_visualUpdatesEnabled) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:42: note: Calling 'operator()' 1407 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is false 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is false 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is false 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1345:13: note: Taking true branch 1345 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: Assuming the condition is false 1347 | change.set(previous[elementId]._textColor != current[elementId]._textColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1347:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1351:13: note: Taking true branch 1351 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: Assuming 'previous[elementId]._textSize' is equal to 'current[elementId]._textSize' 1353 | change.set(previous[elementId]._textSize != current[elementId]._textSize ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1353:28: note: '?' condition is false /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1357:13: note: Taking true branch 1357 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1359:28: note: '?' condition is false 1359 | change.set(previous[elementId]._state != current[elementId]._state ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1324:13: note: Taking true branch 1324 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: Assuming 'previous[elementId]._size' is not equal to 'current[elementId]._size' 1326 | change.set(previous[elementId]._size != current[elementId]._size ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1326:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1330:13: note: Taking true branch 1330 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: Assuming the condition is true 1332 | change.set(previous[elementId]._innerColor != current[elementId]._innerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1332:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: Assuming the condition is true 1335 | change.set(previous[elementId]._outerColor != current[elementId]._outerColor ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1335:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1339:13: note: Taking true branch 1339 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: Assuming the condition is true 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:28: note: '?' condition is true /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1341:17: note: Calling 'Flags::set' 1341 | change.set(previous[elementId]._text != current[elementId]._text ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1342 | VisualChangeFlags::Text : VisualChangeFlags::None); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/flags.h:47:18: note: The value '7' provided to the cast expression is not in the valid range of values for 'VisualChangeFlags' 47 | _value = static_cast(static_cast(_value) | static_cast(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 22156 warnings generated. [85/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:111:9: warning: use a boost version of this algorithm [boost-use-ranges] 111 | std::copy(edgeIdDistinctSet.begin(), edgeIdDistinctSet.end(), std::back_inserter(edgeIds)); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:111:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:360:19: warning: use a boost version of this algorithm [boost-use-ranges] 360 | auto setId = *std::min_element(nodeIds.begin(), nodeIds.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:360:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:370:19: warning: use a boost version of this algorithm [boost-use-ranges] 370 | auto setId = *std::min_element(edgeIds.begin(), edgeIds.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:370:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:522:24: warning: use a boost version of this algorithm [boost-use-ranges] 522 | auto nodeId = *std::min_element(nodeIds.begin(), nodeIds.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:522:24: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:665:5: warning: use a boost version of this algorithm [boost-use-ranges] 665 | std::fill(_n._multiplicities.begin(), _n._multiplicities.end(), 0); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:665:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:688:5: warning: use a boost version of this algorithm [boost-use-ranges] 688 | std::fill(_e._multiplicities.begin(), _e._multiplicities.end(), 0); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:688:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14358 warnings generated. [86/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/headless.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 18360 warnings generated. [87/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/centreinglayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14751 warnings generated. [88/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:78:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 78 | const float dc = dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:78:36: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 78 | const float dc = dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:83:32: warning: '/' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 83 | const float x = 0.5f + (db - da) / (2.0f * dc); | ^~~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:88:24: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 88 | c.setX(a.x() + x * dx + y * dy); | ^~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:88:33: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 88 | c.setX(a.x() + x * dx + y * dy); | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:89:24: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | c.setY(a.y() + x * dy - y * dx); | ^~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:89:33: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | c.setY(a.y() + x * dy - y * dx); | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:209:5: warning: use a boost version of this algorithm [boost-use-ranges] 209 | std::stable_sort(sortedComponentIds.begin(), sortedComponentIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:209:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14918 warnings generated. [89/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/collision.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 17638 warnings generated. [90/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13360 warnings generated. [91/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:165:30: warning: '/' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 165 | auto h = -1.0f + 2.0f * (static_cast(i) - 1.0f) / static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( 166 | static_cast(edgeIds.size()) - 1 + edgeCountOffset); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15720 warnings generated. [92/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:92:34: warning: the parameter 'args' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 92 | void registerSetting(Args... args) | ^ | const & /home/runner/work/graphia/graphia/source/app/layout/spatialtree.h:97:7: warning: the implicit default constructor of the CRTP is publicly accessible; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 97 | class SpatialTree : virtual public AbstractSpatialTree | ^ 98 | { | /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum { arity = sizeof...(Args) }; | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 19935 warnings generated. [93/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:59:34: warning: use a boost version of this algorithm [boost-use-ranges] 32 | auto activeLayouts = std::count_if(_layouts.begin(), _layouts.end(), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | boost::range::count_if _layouts /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:183:12: warning: use a boost version of this algorithm [boost-use-ranges] 183 | return std::any_of(_layouts.begin(), _layouts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:183:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:204:12: warning: use a boost version of this algorithm [boost-use-ranges] 204 | return std::all_of(_layouts.begin(), _layouts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:204:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:245:17: warning: use a boost version of this algorithm [boost-use-ranges] 245 | std::any_of(_layouts.begin(), _layouts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:245:17: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:275:21: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] 275 | allLayoutsFinished() ? "because all layouts finished" : | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:274:38: note: parent conditional operator here 274 | const auto* reason = _pause ? "manually" : | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:34:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 34 | typename std::enable_if_t, Enum> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Enum 35 | operator|(Enum lhs, Enum rhs) 36 | { | requires (EnableBitMaskOperators) /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:46:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 46 | typename std::enable_if_t, Enum> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Enum 47 | operator&(Enum lhs, Enum rhs) 48 | { | requires (EnableBitMaskOperators) /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:58:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 58 | typename std::enable_if_t, bool> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | bool 59 | operator&&(Lhs lhs, Enum rhs) 60 | { | requires (EnableBitMaskOperators) /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:70:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 70 | typename std::enable_if_t, bool> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | bool 71 | operator&&(Enum lhs, Rhs rhs) 72 | { | requires (EnableBitMaskOperators) /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/layout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 18172 warnings generated. [94/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:85:20: warning: use a boost version of this algorithm [boost-use-ranges] 85 | auto setting = std::find_if(_settings.begin(), _settings.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:85:20: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 12297 warnings generated. [95/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:40:9: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:40:9)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum { value = !std::is_same_v() * std::declval()), NotFound> }; | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 11169 warnings generated. [96/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:53:5: warning: use a boost version of this algorithm [boost-use-ranges] 53 | std::stable_sort(sortedComponentIds.begin(), sortedComponentIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:53:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13610 warnings generated. [97/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/randomlayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14814 warnings generated. [98/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/layout/scalinglayout.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14751 warnings generated. [99/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13849 warnings generated. [100/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16870 warnings generated. [101/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 18123 warnings generated. [102/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:330:23: warning: use a boost version of this algorithm [boost-use-ranges] 330 | auto allObjects = std::all_of(jsonArray.begin(), jsonArray.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:330:23: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 20048 warnings generated. [103/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:91:52: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] 91 | _parser->setProgressFn([this, percentage = int(-1)](int newPercentage) mutable | ^~~~ ~ | ( ) /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15322 warnings generated. [104/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:50:30: warning: use a boost version of this algorithm [boost-use-ranges] 50 | edgeAttributeNames.erase(std::remove_if(edgeAttributeNames.begin(), edgeAttributeNames.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:50:30: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:56:5: warning: use a boost version of this algorithm [boost-use-ranges] 56 | std::sort(edgeAttributeNames.begin(), edgeAttributeNames.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:56:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13812 warnings generated. [105/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:126:9: warning: use a boost version of this algorithm [boost-use-ranges] 126 | std::copy(bookmarkedNodeIds.begin(), bookmarkedNodeIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:126:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:46:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 46 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 47 | begin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:49:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 49 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 50 | end() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:52:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 52 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 53 | cbegin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:55:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 55 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 56 | cend() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21511 warnings generated. [106/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/loading/saverfactory.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16960 warnings generated. [107/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick/qsgnode.h:33:11: warning: no definition found for 'Updater', but a definition with the same name 'Updater' found in another namespace '(global)' [bugprone-forward-declaration-namespace] 33 | class Updater; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:35:7: note: a definition of 'Updater' is found here 35 | class Updater : public QObject | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:197:5: warning: function 'start' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 197 | int start(int argc, char *argv[], ConsoleOutputFiles& consoleOutputFiles) | ^ | static /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/utils/debugger.h:50:16: warning: use a boost version of this algorithm [boost-use-ranges] 50 | return std::any_of(debuggers.begin(), debuggers.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/debugger.h:50:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/main.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 35233 warnings generated. [108/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:121:12: warning: do not use nested 'std::max' calls, use an initializer list instead [modernize-min-max-use-initializer-list] 121 | return std::max(std::max(xLength(), yLength()), zLength()); | ^ ~~~~~~~~~ ~ | { } /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:207:5: warning: use `std::max` instead of `>` [readability-use-std-min-max] 207 | if(tymin > tmin) | ^~~~~~~~~~~~~~~~ | tmin = std::max(tymin, tmin); 208 | tmin = tymin; | ~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:210:5: warning: use `std::min` instead of `<` [readability-use-std-min-max] 210 | if(tymax < tmax) | ^~~~~~~~~~~~~~~~ | tmax = std::min(tymax, tmax); 211 | tmax = tymax; | ~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:219:5: warning: use `std::max` instead of `>` [readability-use-std-min-max] 219 | if(tzmin > tmin) | ^~~~~~~~~~~~~~~~ | tmin = std::max(tzmin, tmin); 220 | tmin = tzmin; | ~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:222:5: warning: use `std::min` instead of `<` [readability-use-std-min-max] 222 | if(tzmax < tmax) | ^~~~~~~~~~~~~~~~ | tmax = std::min(tzmax, tmax); 223 | tmax = tzmax; | ~~~~~~~~~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9701 warnings generated. [109/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:40:9: warning: use `std::max` instead of `>` [readability-use-std-min-max] 40 | if(lengthSquared > radius) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | radius = std::max(lengthSquared, radius); 41 | radius = lengthSquared; | ~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:50:13: warning: use a boost version of this algorithm [boost-use-ranges] 25 | _centre(std::accumulate(points.begin(), points.end(), QVector3D(), | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | boost::accumulate points ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9711 warnings generated. [110/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9691 warnings generated. [111/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:39:12: warning: use a boost version of this algorithm [boost-use-ranges] 39 | return std::all_of(_planes.begin(), _planes.end(), [&point](const auto& plane) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:39:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/frustum.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9695 warnings generated. [112/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:26:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 26 | _normal.x() * point.x() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:27:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 27 | _normal.y() * point.y() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:28:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 28 | _normal.z() * point.z(); | ^~~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:45:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 45 | _normal.x() * point.x() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:46:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 46 | _normal.y() * point.y() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:47:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 47 | _normal.z() * point.z() + _distance; | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:67:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 67 | _normal.x() * point.x() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:68:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 68 | _normal.y() * point.y() + | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:69:13: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 69 | _normal.z() * point.z() + _distance; | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/plane.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9700 warnings generated. [113/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/maths/ray.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 9690 warnings generated. [114/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:197:32: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 197 | normalisedCoordinates.setX((static_cast(x) / | ^~~~~~~~~~~~~~~~~~~~~~~~ | ( 198 | static_cast(_viewport.width())) * 2.0f - 1.0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:199:32: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 199 | normalisedCoordinates.setY((static_cast(invertedY) / | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( 200 | static_cast(_viewport.height())) * 2.0f - 1.0f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:199:33: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 199 | normalisedCoordinates.setY((static_cast(invertedY) / | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:194:10: note: source type originates from referencing this variable 194 | auto invertedY = static_cast(_viewport.height()) - static_cast(y); | ~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:201:32: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 201 | normalisedCoordinates.setZ(2.0f * static_cast(z) - 1.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/camera.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21727 warnings generated. [115/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21399 warnings generated. [116/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:56:9: warning: use `std::max` instead of `<` [readability-use-std-min-max] 56 | if(_updateTypeRequired < UpdateType::Layout) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | _updateTypeRequired = std::max(_updateTypeRequired, UpdateType::Layout); 57 | _updateTypeRequired = UpdateType::Layout; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:187:12: warning: use a boost version of this algorithm [boost-use-ranges] 187 | return std::any_of(_results._glyphs.begin(), _results._glyphs.end(), [&](const auto& glyphPair) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:187:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15405 warnings generated. [117/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:141:5: warning: use a boost version of this algorithm [boost-use-ranges] 141 | std::transform(edgeIds.begin(), edgeIds.end(), std::back_inserter(_edges), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:141:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:211:9: warning: use `std::max` instead of `>` [readability-use-std-min-max] 47 | if(distance > maxDistance) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | maxDistance = std::max(distance, maxDistance); 48 | maxDistance = distance; | ~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 26473 warnings generated. [118/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.h:98:16: warning: enum 'TransitionStyle' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class TransitionStyle { None, SlideLeft, SlideRight, Fade } _transitionStyle = TransitionStyle::None; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 26755 warnings generated. [119/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:496:9: warning: use a boost version of this algorithm [boost-use-ranges] 496 | std::sort(_componentIds.begin(), _componentIds.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:496:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:497:9: warning: use a boost version of this algorithm [boost-use-ranges] 497 | std::sort(_removedComponentIds.begin(), _removedComponentIds.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:497:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:498:9: warning: use a boost version of this algorithm [boost-use-ranges] 498 | std::set_difference(_componentIds.begin(), _componentIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:498:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 26946 warnings generated. [120/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.h:98:16: warning: enum 'TransitionStyle' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class TransitionStyle { None, SlideLeft, SlideRight, Fade } _transitionStyle = TransitionStyle::None; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:228:31: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 228 | glyphData._color[0] = static_cast(textColor.redF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:90:11: note: source type originates from the invocation of this method 90 | float redF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:229:31: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 229 | glyphData._color[1] = static_cast(textColor.greenF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:91:11: note: source type originates from the invocation of this method 91 | float greenF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:230:31: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 230 | glyphData._color[2] = static_cast(textColor.blueF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:92:11: note: source type originates from the invocation of this method 92 | float blueF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:289:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 289 | nodeData._outerColor[0] = static_cast(nodeVisual._outerColor.redF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:90:11: note: source type originates from the invocation of this method 90 | float redF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:290:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 290 | nodeData._outerColor[1] = static_cast(nodeVisual._outerColor.greenF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:91:11: note: source type originates from the invocation of this method 91 | float greenF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:291:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 291 | nodeData._outerColor[2] = static_cast(nodeVisual._outerColor.blueF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:92:11: note: source type originates from the invocation of this method 92 | float blueF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:292:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 292 | nodeData._innerColor[0] = static_cast(nodeVisual._innerColor.redF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:90:11: note: source type originates from the invocation of this method 90 | float redF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:293:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 293 | nodeData._innerColor[1] = static_cast(nodeVisual._innerColor.greenF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:91:11: note: source type originates from the invocation of this method 91 | float greenF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:294:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 294 | nodeData._innerColor[2] = static_cast(nodeVisual._innerColor.blueF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:92:11: note: source type originates from the invocation of this method 92 | float blueF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:375:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 375 | edgeData._outerColor[0] = static_cast(edgeVisual._outerColor.redF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:90:11: note: source type originates from the invocation of this method 90 | float redF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:376:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 376 | edgeData._outerColor[1] = static_cast(edgeVisual._outerColor.greenF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:91:11: note: source type originates from the invocation of this method 91 | float greenF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:377:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 377 | edgeData._outerColor[2] = static_cast(edgeVisual._outerColor.blueF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:92:11: note: source type originates from the invocation of this method 92 | float blueF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:378:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 378 | edgeData._innerColor[0] = static_cast(edgeVisual._innerColor.redF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:90:11: note: source type originates from the invocation of this method 90 | float redF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:379:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 379 | edgeData._innerColor[1] = static_cast(edgeVisual._innerColor.greenF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:91:11: note: source type originates from the invocation of this method 91 | float greenF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:380:39: warning: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting] 380 | edgeData._innerColor[2] = static_cast(edgeVisual._innerColor.blueF()); | ^~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui/qcolor.h:92:11: note: source type originates from the invocation of this method 92 | float blueF() const noexcept; | ~~~~~ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1122:19: warning: use a boost version of this algorithm [boost-use-ranges] 1122 | nodeIds.erase(std::remove_if(nodeIds.begin(), nodeIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1122:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1149:27: warning: use a boost version of this algorithm [boost-use-ranges] 1149 | nodeIds.erase(std::remove_if(nodeIds.begin(), nodeIds.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1149:27: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.h:41:16: warning: enum 'ScreenshotType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | enum class ScreenshotType { Preview, Tile }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 28074 warnings generated. [121/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:911:5: warning: use a boost version of this algorithm [boost-use-ranges] 911 | std::sort(renderOrder.begin(), renderOrder.end(), [this](auto a, auto b) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:911:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:926:23: warning: use a boost version of this algorithm [boost-use-ranges] 926 | renderOrder.erase(std::remove_if(renderOrder.begin(), renderOrder.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:926:23: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 24879 warnings generated. [122/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 20880 warnings generated. [123/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/crashreporter/CrashReporter_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21860 warnings generated. 43720 warnings generated. [124/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21724 warnings generated. [125/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21725 warnings generated. [126/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:111:18: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 111 | auto faces = (_slices - 2) * _rings + // Number of "rectangular" faces | ^~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:131:27: warning: '/' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 131 | const float phi = std::numbers::pi_v / 2.0f - static_cast(lat) * dPhi; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:131:62: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 131 | const float phi = std::numbers::pi_v / 2.0f - static_cast(lat) * dPhi; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:134:32: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 134 | const float v = 1.0f - static_cast(lat) * dv; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21728 warnings generated. [127/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.h:98:16: warning: enum 'TransitionStyle' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class TransitionStyle { None, SlideLeft, SlideRight, Fade } _transitionStyle = TransitionStyle::None; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.h:41:16: warning: enum 'ScreenshotType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 41 | enum class ScreenshotType { Preview, Tile }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 25256 warnings generated. [128/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 22441 warnings generated. [129/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/transition.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 11417 warnings generated. [130/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/tracking.cpp:132:8: warning: the 'empty' method should be used to check for emptiness instead of 'length' [readability-container-size-empty] 132 | if(homePath.length() > 0) | ^~~~~~~~~~~~~~~~~~~~~ | !homePath.empty() /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qlist.h:755:17: note: method 'QList'::empty() defined here 755 | inline bool empty() const noexcept | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/tracking.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16106 warnings generated. [131/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:94:12: warning: use a boost version of this algorithm [boost-use-ranges] 94 | return std::find_if(_parameters.begin(), _parameters.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:94:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:100:15: warning: use a boost version of this algorithm [boost-use-ranges] 100 | auto it = std::find_if(_parameters.begin(), _parameters.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:100:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:121:15: warning: use a boost version of this algorithm [boost-use-ranges] 121 | auto it = std::find_if(_parameters.begin(), _parameters.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:121:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:127:43: warning: use designated initializer list to initialize 'Parameter' [modernize-use-designated-initializers] 127 | _parameters.emplace_back(Parameter{name, value}); | ^~~~~~~~~~~~~ | ._name= ._value= /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:76:5: note: aggregate type is defined here 76 | struct Parameter | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14836 warnings generated. [132/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:144:91: warning: use designated initializer list to initialize 'TerminalCondition' [modernize-use-designated-initializers] 144 | return GraphTransformConfig::Condition(GraphTransformConfig::TerminalCondition{ | ^ 145 | std::move(lhs), op, std::move(rhs)}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._lhs= ._op= ._rhs= /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:38:5: note: aggregate type is defined here 38 | struct TerminalCondition | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:150:53: warning: use designated initializer list to initialize 'UnaryCondition' [modernize-use-designated-initializers] 150 | GraphTransformConfig::UnaryCondition{std::move(lhs), op}); | ^~~~~~~~~~~~~~~~~~~~ | ._lhs= ._op= /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:48:5: note: aggregate type is defined here 48 | struct UnaryCondition | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:180:56: warning: use designated initializer list to initialize 'CompoundCondition' [modernize-use-designated-initializers] 180 | GraphTransformConfig::CompoundCondition{std::move(lhs), op, std::move(rhs)})); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._lhs= ._op= ._rhs= /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:65:5: note: aggregate type is defined here 65 | struct CompoundCondition | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:229:6: warning: function 'appendOps' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 229 | void appendOps(QStringList& list, const Table& table) | ^ | static /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:236:9: warning: function 'opAsString' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 236 | QString opAsString(const Table& table, Op op) | ^ | static /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:248:36: warning: function 'findOp' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 248 | const typename Table::mapped_type* findOp(const Table& table, const QString& s) | ^ | static /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13778 warnings generated. [133/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:60:5: warning: use a boost version of this algorithm [boost-use-ranges] 60 | std::any_of(attributeNames.begin(), attributeNames.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:60:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:145:15: warning: use a boost version of this algorithm [boost-use-ranges] 145 | auto it = std::find_if(p.begin(), p.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:145:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:160:15: warning: use a boost version of this algorithm [boost-use-ranges] 160 | auto it = std::find_if(p.begin(), p.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:160:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15230 warnings generated. [134/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:127:15: warning: use a boost version of this algorithm [boost-use-ranges] 127 | auto it = std::find_if(resultSet.begin(), resultSet.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:127:15: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:172:19: warning: use a boost version of this algorithm [boost-use-ranges] 172 | auto it = std::find_if(cachedResults.begin(), cachedResults.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:172:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:40:28: warning: the parameter 'begin_' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 40 | iterator_range(BeginIt begin_, EndIt end_) : | ^ | const & /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:40:42: warning: the parameter 'end_' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 40 | iterator_range(BeginIt begin_, EndIt end_) : | ^ | const & /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:46:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 46 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 47 | begin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:49:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 49 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 50 | end() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:52:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 52 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 53 | cbegin() const { return _begin; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:55:36: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 55 | template typename std::enable_if_t, const T&> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | const T& 56 | cend() const { return _end; } | requires (is_const_iterator_v) /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:34: warning: the parameter 'begin' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 66 | auto make_iterator_range(BeginIt begin, EndIt end) | ^ | const & /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:47: warning: the parameter 'end' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 66 | auto make_iterator_range(BeginIt begin, EndIt end) | ^ | const & /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15272 warnings generated. [135/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15496 warnings generated. [136/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15543 warnings generated. [137/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15442 warnings generated. [138/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.h:62:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 62 | {"Node Betweenness", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.h:63:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 63 | {"Edge Betweenness", ElementType::Edge, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum { arity = sizeof...(Args) }; | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16284 warnings generated. [139/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.h:80:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 80 | return {{"Name", _elementType, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15331 warnings generated. [140/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:42:5: warning: use designated initializer list to initialize 'TerminalCondition' [modernize-use-designated-initializers] 42 | { | ^ 43 | u"$source.%1"_s.arg(attributeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._lhs= 44 | ConditionFnOp::Equality::Equal, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._op= 45 | u"$target.%1"_s.arg(attributeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._rhs= 46 | }; | ~ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:38:5: note: aggregate type is defined here 38 | struct TerminalCondition | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.h:77:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 77 | {"Node Multiplicity", ElementType::Node, ValueType::Int, {}, QObject::tr("Size")}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.h:78:13: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 78 | {"Edge Multiplicity", ElementType::Edge, ValueType::Int, {}, QObject::tr("Size")} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15394 warnings generated. [141/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15448 warnings generated. [142/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.h:59:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 59 | return {{"Node Eccentricity", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum { arity = sizeof...(Args) }; | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16131 warnings generated. [143/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15377 warnings generated. [144/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15424 warnings generated. [145/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15506 warnings generated. [146/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:42:5: warning: use designated initializer list to initialize 'TerminalCondition' [modernize-use-designated-initializers] 42 | { | ^ 43 | u"$source.%1"_s.arg(attributeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._lhs= 44 | ConditionFnOp::Equality::NotEqual, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._op= 45 | u"$target.%1"_s.arg(attributeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._rhs= 46 | }; | ~ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:38:5: note: aggregate type is defined here 38 | struct TerminalCondition | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15291 warnings generated. [147/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15471 warnings generated. [148/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:80:26: warning: use a boost version of this algorithm [boost-use-ranges] 31 | double totalWeight = std::accumulate(edgeIds.begin(), edgeIds.end(), 0.0, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::accumulate edgeIds /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:329:5: warning: use a boost version of this algorithm [boost-use-ranges] 329 | std::copy(communityHistogram.begin(), communityHistogram.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:329:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:331:5: warning: use a boost version of this algorithm [boost-use-ranges] 331 | std::sort(sortedCommunityHistogram.begin(), sortedCommunityHistogram.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:331:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.h:75:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 75 | return {{"Louvain Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.h:103:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 103 | return {{"Weighted Louvain Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15670 warnings generated. [149/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15471 warnings generated. [150/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15398 warnings generated. [151/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:143:17: warning: use `std::min` instead of `<` [readability-use-std-min-max] 31 | if(relem->index() < minIndex) minIndex = relem->index(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | minIndex = std::min(relem->index(), minIndex); /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:144:17: warning: use `std::max` instead of `>` [readability-use-std-min-max] 144 | if(relem->index() > maxIndex) maxIndex = relem->index(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | maxIndex = std::max(relem->index(), maxIndex); /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:635:5: warning: use a boost version of this algorithm [boost-use-ranges] 635 | std::sort(clusters.begin(), clusters.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:635:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:84:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 84 | return {{"MCL Cluster", ElementType::Node, ValueType::String, {}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5: warning: enum '(unnamed enum at /home/runner/work/graphia/graphia/source/shared/utils/function_traits.h:38:5)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum { arity = sizeof...(Args) }; | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:333:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 333 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 334 | begin() { return iterator(this, false); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:337:9: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints] 337 | typename std::enable_if_t, iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | iterator 338 | end() { return iterator(this, true); } | requires (!std::is_void_v) /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:459:10: warning: enum 'ResultsPolicy' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 459 | enum ResultsPolicy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 32569 warnings generated. [152/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:65:17: warning: use designated initializer list to initialize 'DefaultVisualisation' [modernize-use-designated-initializers] 65 | return {{"Node PageRank", ElementType::Node, ValueType::Float, {AttributeFlag::VisualiseByComponent}, QObject::tr("Colour")}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._attributeName= ._elementType= ._attributeValueType= ._attributeFlags= ._channel= /home/runner/work/graphia/graphia/source/app/transform/graphtransform.h:92:1: note: aggregate type is defined here 92 | struct DefaultVisualisation | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 31690 warnings generated. [153/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15419 warnings generated. [154/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15021 warnings generated. [155/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15208 warnings generated. [156/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/commands/selectnodescommand.h:38:12: warning: enum 'SelectNodesClear' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum class SelectNodesClear | ^ /home/runner/work/graphia/graphia/source/app/commands/selectnodescommand.h:122:67: warning: the parameter 'nodeIds' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 122 | auto makeSelectNodesCommand(SelectionManager* selectionManager, C nodeIds, | ^ | const & /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.h:98:16: warning: enum 'TransitionStyle' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class TransitionStyle { None, SlideLeft, SlideRight, Fade } _transitionStyle = TransitionStyle::None; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:264:40: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 264 | const float x = static_cast(2 * cursor.x() - width) / minDimension; | ^~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:265:49: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 265 | const float y = static_cast(height - 2 * cursor.y()) / minDimension; | ^~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:266:31: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 266 | const float d = std::sqrt(x * x + y * y); | ^~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:266:39: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 266 | const float d = std::sqrt(x * x + y * y); | ^~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:268:25: warning: prefer 'std::numbers::sqrt2_v' to this formula [modernize-use-std-numbers] 268 | const float ROOT2 = std::sqrt(2.0f); | ^~~~~~~~~~~~~~~ | std::numbers::sqrt2_v /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:276:23: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 276 | z = std::sqrt(RADIUS * RADIUS - d * d); | ^~~~~~~~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:276:41: warning: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 276 | z = std::sqrt(RADIUS * RADIUS - d * d); | ^~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 27165 warnings generated. [157/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.h:98:16: warning: enum 'TransitionStyle' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 98 | enum class TransitionStyle { None, SlideLeft, SlideRight, Fade } _transitionStyle = TransitionStyle::None; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 27026 warnings generated. [158/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:16: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/circle.h:89:26: warning: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 89 | return dx * dx + dy * dy; | ^~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 27026 warnings generated. [159/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:138:25: warning: use a boost version of this algorithm [boost-use-ranges] 138 | match = std::any_of(conditionFns.begin(), conditionFns.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:138:25: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14588 warnings generated. [160/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:82:27: warning: function '_selectNodes' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 82 | template bool _selectNodes(const GraphModel& graphModel, NodeIdSet& selectedNodeIds, | ^ | static /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:142:27: warning: function '_deselectNodes' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 142 | template bool _deselectNodes(const GraphModel& graphModel, NodeIdSet& selectedNodeIds, | ^ | static /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:193:27: warning: function '_toggleNodes' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 193 | template void _toggleNodes(NodeIdSet& selectedNodeIds, NodeIdSet& mask, const C& nodeIds) | ^ | static /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16515 warnings generated. [161/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14146 warnings generated. [162/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13424 warnings generated. [163/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.h:129:20: warning: enum 'Value' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 129 | enum class Value { Removed, Unchanged, Added }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:51:5: warning: use designated initializer list to initialize 'TerminalCondition' [modernize-use-designated-initializers] 51 | { | ^ 52 | u"$source.%1"_s.arg(attributeName), //FIXME needs parsed name? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._lhs= 53 | ConditionFnOp::Equality::Equal, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._op= 54 | u"$target.%1"_s.arg(attributeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._rhs= 55 | }; | ~ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.h:38:5: note: aggregate type is defined here 38 | struct TerminalCondition | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16243 warnings generated. [164/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisual.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 10536 warnings generated. [165/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 14157 warnings generated. [166/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13436 warnings generated. [167/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13424 warnings generated. [168/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationbuilder.h:73:18: warning: the parameter 'value' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 73 | void apply(T value, const VisualisationChannel& channel, | ^ | const & /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationbuilder.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 15482 warnings generated. [169/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/ielementvisual.h:28:12: warning: enum 'VisualFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class VisualFlags | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationchannel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13464 warnings generated. [170/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 12573 warnings generated. [171/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 13295 warnings generated. [172/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16857 warnings generated. [173/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/watchdog.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 16285 warnings generated. [174/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/updates/updater.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 18571 warnings generated. [175/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:101:13: warning: use designated initializer list to initialize 'UrlType' [modernize-use-designated-initializers] 101 | { | ^ 102 | urlTypeName, | ~~~~~~~~~~~~ | ._name= 103 | plugin._interface->individualDescriptionForUrlTypeName(urlTypeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._individualDescription= 104 | plugin._interface->collectiveDescriptionForUrlTypeName(urlTypeName), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._collectiveDescription= 105 | plugin._interface->extensionsForUrlTypeName(urlTypeName) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._extensions= 106 | }; | ~ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:72:1: note: aggregate type is defined here 72 | struct UrlType | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:113:5: warning: use a boost version of this algorithm [boost-use-ranges] 113 | std::sort(fileTypes.begin(), fileTypes.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:113:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:119:21: warning: use a boost version of this algorithm [boost-use-ranges] 119 | fileTypes.erase(std::unique(fileTypes.begin(), fileTypes.end()), fileTypes.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:119:21: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:163:21: warning: use a boost version of this algorithm [boost-use-ranges] 163 | auto pluginIt = std::find_if(_loadedPlugins.begin(), _loadedPlugins.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:163:21: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:222:12: warning: use a boost version of this algorithm [boost-use-ranges] 222 | return std::any_of(_loadedPlugins.begin(), _loadedPlugins.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:222:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:231:12: warning: use a boost version of this algorithm [boost-use-ranges] 231 | return std::any_of(urlTypeNames.begin(), urlTypeNames.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:231:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:287:27: warning: use a boost version of this algorithm [boost-use-ranges] 287 | pluginFileTypes.erase(std::remove_if(pluginFileTypes.begin(), pluginFileTypes.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:287:27: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:347:22: warning: use a boost version of this algorithm [boost-use-ranges] 347 | auto factoryIt = std::find_if(_factories.begin(), _factories.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:347:22: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:389:31: warning: use a boost version of this algorithm [boost-use-ranges] 389 | const bool willLoad = std::any_of(urlTypeNames.begin(), urlTypeNames.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:389:31: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:472:12: warning: use a boost version of this algorithm [boost-use-ranges] 472 | return std::any_of(dirs.begin(), dirs.end(), [&canonicalPath](const auto& resourceDirectory) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:472:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:518:21: warning: use a boost version of this algorithm [boost-use-ranges] 518 | arguments.erase(std::remove_if(arguments.begin(), arguments.end(), // clazy:exclude=strict-iterators | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:518:21: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:524:5: warning: use a boost version of this algorithm [boost-use-ranges] 524 | std::transform(arguments.begin(), arguments.end(), arguments.begin(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:524:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:830:40: warning: use a boost version of this algorithm [boost-use-ranges] 830 | const bool pluginNameAlreadyUsed = std::any_of(_loadedPlugins.begin(), _loadedPlugins.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:830:40: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:866:42: warning: use designated initializer list to initialize 'UrlType' [modernize-use-designated-initializers] 866 | std::vector nativeFileTypes{{NativeFileType, QString("%1 File").arg(name()), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._name= ._individualDescription= 867 | QString("%1 Files").arg(name()), {nativeExtension()}}}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._collectiveDescription= ._extensions= /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp:72:1: note: aggregate type is defined here 72 | struct UrlType | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/crashtype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(CrashType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:28:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 28 | Singleton() | ^ 29 | { 30 | Q_ASSERT(_singletonPtr == nullptr); 31 | _singletonPtr = this; 32 | } | /home/runner/work/graphia/graphia/source/shared/utils/singleton.h:40:3: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 40 | Singleton(const Singleton&) = delete; | ^ 41 | Singleton& operator=(const Singleton&) = delete; 42 | 43 | static T* instance() 44 | { 45 | // An instance of T needs to be created somewhere 46 | Q_ASSERT(_singletonPtr != nullptr); 47 | 48 | return static_cast(_singletonPtr); 49 | } 50 | 51 | private: 52 | static Singleton* _singletonPtr; 53 | }; /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 25760 warnings generated. [176/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availableattributesmodel.h:86:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 86 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availableattributesmodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 17074 warnings generated. [177/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availabletransformsmodel.h:41:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 41 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availabletransformsmodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 19180 warnings generated. [178/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/changelog.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 15114 warnings generated. [179/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:25:16: warning: enum 'Logical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | enum class Logical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:31:16: warning: enum 'Equality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 31 | enum class Equality | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:37:16: warning: enum 'Numerical' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 37 | enum class Numerical | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:45:16: warning: enum 'String' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class String | ^ /home/runner/work/graphia/graphia/source/app/attributes/condtionfnops.h:55:16: warning: enum 'Unary' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | enum class Unary | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/commands/selectnodescommand.h:38:12: warning: enum 'SelectNodesClear' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | enum class SelectNodesClear | ^ /home/runner/work/graphia/graphia/source/app/commands/selectnodescommand.h:122:67: warning: the parameter 'nodeIds' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 122 | auto makeSelectNodesCommand(SelectionManager* selectionManager, C nodeIds, | ^ | const & /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/alert.h:30:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 30 | DEFINE_QML_ENUM(AlertType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:55:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 55 | DEFINE_QML_ENUM(ExitType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/application.h:112:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 112 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availableattributesmodel.h:86:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 86 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/availabletransformsmodel.h:41:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 41 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:218:41: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] 218 | (busy() != _previousBusy ? (busy() ? " +" : " -") : " ")); | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:218:14: note: parent conditional operator here 218 | (busy() != _previousBusy ? (busy() ? " +" : " -") : " ")); | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:479:5: warning: use a boost version of this algorithm [boost-use-ranges] 479 | std::sort(list.begin(), list.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:479:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:507:5: warning: use a boost version of this algorithm [boost-use-ranges] 507 | std::stable_sort(transforms.begin(), transforms.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:507:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1416:19: warning: use a boost version of this algorithm [boost-use-ranges] 1416 | auto it = std::find(componentIds.begin(), componentIds.end(), focusedComponentId); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1416:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1439:19: warning: use a boost version of this algorithm [boost-use-ranges] 1439 | auto it = std::find(componentIds.begin(), componentIds.end(), focusedComponentId); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1439:19: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1680:24: warning: use a boost version of this algorithm [boost-use-ranges] 1680 | auto foundIt = std::find(_foundNodeIds.begin(), _foundNodeIds.end(), nodeId); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1680:24: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1782:5: warning: use a boost version of this algorithm [boost-use-ranges] 1782 | std::sort(_foundNodeIds.begin(), _foundNodeIds.end(), [this](auto a, auto b) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:1782:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2049:5: warning: use a boost version of this algorithm [boost-use-ranges] 2049 | std::sort(alerts.begin(), alerts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2049:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2065:37: warning: static member accessed through instance [readability-static-accessed-through-instance] 2065 | return _graphModel != nullptr ? _graphModel->opIsUnary(op) : false; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2065:37: note: member base expression may carry some side effects 2065 | return _graphModel != nullptr ? _graphModel->opIsUnary(op) : false; | ^~~~~~~~~~~~~ | GraphModel:: /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2283:12: warning: use a boost version of this algorithm [boost-use-ranges] 2283 | return std::all_of(transforms.begin(), transforms.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2283:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2425:5: warning: use a boost version of this algorithm [boost-use-ranges] 2425 | std::sort(alerts.begin(), alerts.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2425:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2465:12: warning: use a boost version of this algorithm [boost-use-ranges] 2465 | return std::all_of(visualisations.begin(), visualisations.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:2465:12: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:3089:27: warning: use a boost version of this algorithm [boost-use-ranges] 3089 | auto allObjects = std::all_of(jsonArray.begin(), jsonArray.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp:3089:27: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:67:16: warning: enum 'State' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class State | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:48:31: warning: the parameter 'command' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 48 | ICommandPtr makeCommand(T command) | ^ | const & /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.h:65:16: warning: enum 'IsDir' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 65 | enum class IsDir | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 24967 warnings generated. [180/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp:425:5: warning: use a boost version of this algorithm [boost-use-ranges] 32 | std::iota(_sortMap.begin(), _sortMap.end(), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | boost::algorithm::iota _sortMap /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp:430:5: warning: use a boost version of this algorithm [boost-use-ranges] 430 | std::sort(_sortMap.begin(), _sortMap.end(), [this](int rowA, int rowB) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp:430:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp:461:9: warning: use a boost version of this algorithm [boost-use-ranges] 461 | std::sort(_selectedNodes.begin(), _selectedNodes.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp:461:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.h:89:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 89 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/editattributetablemodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 18123 warnings generated. [181/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp:82:29: warning: '/' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses] 82 | gradient.setColorStopAt(5.0 / 6.0 + 0.001, insignificantColor); | ^~~~~~~~~ | ( ) /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp:214:5: warning: use a boost version of this algorithm [boost-use-ranges] 214 | std::sort(sortAttributeValueSetA.begin(), sortAttributeValueSetA.end(), compare); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp:214:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp:215:5: warning: use a boost version of this algorithm [boost-use-ranges] 215 | std::sort(sortAttributeValueSetB.rbegin(), sortAttributeValueSetB.rend(), compare); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp:215:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/enrichmentheatmap.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 35429 warnings generated. [182/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:222:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 222 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:572:16: warning: enum 'EdgeNodeType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 572 | enum class EdgeNodeType { None, Source, Target }; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:33:12: warning: enum 'MultiElementType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class MultiElementType | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.h:45:16: warning: enum 'Side' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum class Side | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.h:44:10: warning: enum 'ProjectionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 44 | enum ProjectionType | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.h:74:16: warning: enum 'UpdateType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 74 | enum class UpdateType | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:193:16: warning: enum 'Mode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 193 | enum class Mode | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.h:263:16: warning: enum 'When' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 263 | enum class When { Later, Now }; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.h:239:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 239 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/app/rendering/transition.h:34:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 34 | enum class Type | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphdisplay.cpp:401:36: warning: use a boost version of this algorithm [boost-use-ranges] 32 | return static_cast(std::count_if(nodeIds.begin(), nodeIds.end(), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::range::count_if nodeIds /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphdisplay.cpp:425:36: warning: use a boost version of this algorithm [boost-use-ranges] 425 | return static_cast(std::count_if(edgeIds.begin(), edgeIds.end(), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | boost::range::count_if edgeIds /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphdisplay.cpp:447:9: warning: use a boost version of this algorithm [boost-use-ranges] 447 | std::find(componentIds.begin(), componentIds.end(), _focusedComponentId)) + 1); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphdisplay.cpp:447:9: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:40:12: warning: enum 'VisualChangeFlags' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40 | enum class VisualChangeFlags | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphdisplay.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 27173 warnings generated. [183/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:45:10: warning: enum 'Results' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 45 | enum Results | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.h:58:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 58 | enum Roles | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:137:16: warning: enum 'CommandAction' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 137 | enum class CommandAction | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a boost version of this algorithm [boost-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:55:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 55 | Q_ASSERT(!std::any_of(_splitters.begin(), _splitters.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a boost version of this algorithm [boost-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:74:19: warning: use a ranges version of this algorithm [modernize-use-ranges] 74 | Q_ASSERT(!std::any_of(_mergers.begin(), _mergers.end(), | ^ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qassert.h:32:30: note: expanded from macro 'Q_ASSERT' 32 | # define Q_ASSERT(cond) ((cond) ? static_cast(0) : QT_PREPEND_NAMESPACE(qt_assert)(#cond, __FILE__, __LINE__)) | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/layout/layout.h:56:16: warning: enum 'Iterative' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 56 | enum class Iterative | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.h:62:16: warning: enum 'Dimensionality' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 62 | enum class Dimensionality | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:28:12: warning: enum 'LayoutSettingScaleType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 28 | enum class LayoutSettingScaleType { Linear, Log }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/document.h:78:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 78 | DEFINE_QML_ENUM(LayoutPauseState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(FindOptions, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/findtypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(FindSelectStyle, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(TextAlignment, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:32:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 32 | DEFINE_QML_ENUM(TextState, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:38:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 38 | DEFINE_QML_ENUM(EdgeVisualType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:42:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 42 | DEFINE_QML_ENUM(Projection, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/graphrenderertypes.h:48:1: warning: enum 'Enum' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 48 | DEFINE_QML_ENUM(Shading, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a boost version of this algorithm [boost-use-ranges] 115 | return std::any_of(_commands.begin(), _commands.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/compoundcommand.h:115:16: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:33:12: warning: enum 'ExecutePolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class ExecutePolicy | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/importattributeskeydetection.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/main_qml_autogen/include' [-Wmissing-include-dirs]\n" 18464 warnings generated. [184/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/controlcolors.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [-Wmissing-include-dirs]\n" 14279 warnings generated. [185/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/hovermousepassthrough.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [-Wmissing-include-dirs]\n" 14676 warnings generated. [186/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/namedicon.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [-Wmissing-include-dirs]\n" 15227 warnings generated. [187/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/outline.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [-Wmissing-include-dirs]\n" 15281 warnings generated. [188/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/visualisationmappingplot.h:67:16: warning: enum 'DragType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 67 | enum class DragType | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Controls/visualisationmappingplot.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Controls/controls_qml_autogen/include' [-Wmissing-include-dirs]\n" 36746 warnings generated. [189/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/adjacencymatrixtabulardataparser.cpp:51:36: warning: use designated initializer list to initialize 'EdgeListEdge' [modernize-use-designated-initializers] 51 | const EdgeListEdge edge{source, target, weight}; | ^~~~~~~~~~~~~~~~~~~~~~~~ | ._source= ._target= ._weight= /home/runner/work/graphia/graphia/source/shared/graph/edgelist.h:27:1: note: aggregate type is defined here 27 | struct EdgeListEdge | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/adjacencymatrixtabulardataparser.cpp:69:51: warning: use designated initializer list to initialize 'EdgeListEdge' [modernize-use-designated-initializers] 69 | edgeList.emplace_back(EdgeListEdge{NodeId(rowIndex), NodeId(columnIndex), weight}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._source= ._target= ._weight= /home/runner/work/graphia/graphia/source/shared/graph/edgelist.h:27:1: note: aggregate type is defined here 27 | struct EdgeListEdge | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/tabulardataparser.h:49:12: warning: enum 'HeaderModelType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 49 | enum class HeaderModelType { Rows, Columns }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/tabulardataparser.h:61:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 61 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:47:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 47 | return {false, QObject::tr("Matrix must have at least 2 rows/columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:84:28: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 84 | return {false, QObject::tr("Matrix has non-numeric values.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:94:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 94 | return {false, QObject::tr("Matrix is not square.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:103:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 103 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:105:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 105 | return {false, !headerMatch ? QObject::tr("Matrix headers don't match.") : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= 106 | QObject::tr("Matrix doesn't have numeric first row or column.")}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:112:16: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 112 | return {false, QObject::tr("Edge list doesn't have 3 columns.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:117:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 117 | return {false, QObject::tr("1st edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:120:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 120 | return {false, QObject::tr("2nd edge list column has a non-integral value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:123:20: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 123 | return {false, QObject::tr("3rd edge list column has a non-numeric value.")}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixutils.h:126:12: warning: use designated initializer list to initialize 'MatrixTypeResult' [modernize-use-designated-initializers] 126 | return {true, {}}; | ^~~~~~~~~~ | ._isMatrix= ._reason= /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:38:1: note: aggregate type is defined here 38 | struct MatrixTypeResult | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/adjacencymatrixtabulardataparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include' [-Wmissing-include-dirs]\n" 15514 warnings generated. [190/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/tabulardataparser.h:49:12: warning: enum 'HeaderModelType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 49 | enum class HeaderModelType { Rows, Columns }; | ^ /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/tabulardataparser.h:61:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 61 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.h:102:12: warning: enum 'EmptyCellPolicy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 102 | enum class EmptyCellPolicy { Keep, Skip }; | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:5: warning: inital values in enum 'Type' are not consistent, consider explicit initialization of all, none or only the first enumerator [cert-int09-c,readability-enum-initial-value] 33 | enum class Type | ^ 34 | { 35 | Unknown = -1, 36 | Int = 0, 37 | Float, | | = 1 38 | String | | = 2 /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.h:33:16: warning: enum 'Type' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33 | enum class Type | ^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Loading/tabulardataparser.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Loading/loading_qml_autogen/include' [-Wmissing-include-dirs]\n" 16207 warnings generated. [191/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/modelcompleter.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [-Wmissing-include-dirs]\n" 13145 warnings generated. [192/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/nativeutils.cpp:68:29: warning: use a boost version of this algorithm [boost-use-ranges] 68 | return url.isValid() && std::any_of(std::begin(validSchemes), std::end(validSchemes), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/nativeutils.cpp:68:29: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/nativeutils.cpp:123:29: warning: use a boost version of this algorithm [boost-use-ranges] 123 | return url.isValid() && std::any_of(std::begin(validSchemes), std::end(validSchemes), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/nativeutils.cpp:123:29: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/attributeflag.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(AttributeFlag, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/elementtype.h:27:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 27 | DEFINE_QML_ENUM(ElementType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/ui/qml/Graphia/SharedTypes/valuetype.h:25:1: warning: enum 'Enum' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 25 | DEFINE_QML_ENUM(ValueType, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlenum.h:51:14: note: expanded from macro 'DEFINE_QML_ENUM' 51 | enum Enum {__VA_ARGS__, Max}; Q_ENUM_NS(Enum) \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/shared/utils/thread.h:84:24: warning: redundant explicit casting to the same type 'const char *' as the sub-expression, remove this casting [readability-redundant-casting] 84 | prctl(PR_SET_NAME, static_cast(name.toUtf8().constData())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ /home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore/qbytearray.h:136:17: note: source type originates from the invocation of this method 136 | const char *constData() const noexcept { return data(); } | ~~~~~~^ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/nativeutils.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [-Wmissing-include-dirs]\n" 14002 warnings generated. [193/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/preferences.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [-Wmissing-include-dirs]\n" 13218 warnings generated. [194/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/sortfilterproxymodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [-Wmissing-include-dirs]\n" 13275 warnings generated. [195/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:99:5: warning: use a boost version of this algorithm [boost-use-ranges] 99 | std::sort(sortedRows.begin(), sortedRows.end()); | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:99:5: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:252:21: warning: use a boost version of this algorithm [boost-use-ranges] 252 | auto existing = std::find_if(_sortColumnAndOrders.begin(), _sortColumnAndOrders.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:252:21: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:301:32: warning: use a boost version of this algorithm [boost-use-ranges] 301 | _sortColumnAndOrders.erase(std::remove_if(_sortColumnAndOrders.begin(), _sortColumnAndOrders.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp:301:32: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.h:78:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 78 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:52:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 52 | ElementId(const ElementId& other) = default; | ^ 53 | ElementId(ElementId&& other) noexcept = default; 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:53:5: warning: public contructor allows the CRTP to be constructed as a regular template class; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] 53 | ElementId(ElementId&& other) noexcept = default; | ^ 54 | ElementId& operator=(const ElementId& other) = default; 55 | ElementId& operator=(ElementId&& other) noexcept = default; 56 | 57 | T& operator++() { ++_value; return static_cast(*this); } 58 | T operator++(int) { T previous = static_cast(*this); ++_value; return previous; } 59 | T& operator--() { --_value; return static_cast(*this); } 60 | T operator--(int) { T previous = static_cast(*this); --_value; return previous; } 61 | T operator+(int value) const { return _value + value; } 62 | T operator-(int value) const { return _value - value; } 63 | auto operator<=>(const ElementId& other) const = default; 64 | 65 | bool isNull() const { assert(_value >= NullValue); return _value == NullValue; } 66 | void setToNull() { _value = NullValue; } 67 | }; /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.h:81:10: warning: enum 'Roles' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] 81 | enum Roles | ^ /home/runner/work/graphia/graphia/source/shared/ui/idocument.h:35:12: warning: enum 'MessageBoxIcon' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 35 | enum class MessageBoxIcon | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils', '-I/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/ui/qml/Graphia/Utils/tableproxymodel.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/ui/qml/Graphia/Utils/utils_qml_autogen/include' [-Wmissing-include-dirs]\n" 15079 warnings generated. [196/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/crashreporter/CrashReporter_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:144:27: warning: use a boost version of this algorithm [boost-use-ranges] 144 | const bool skip = std::any_of(skipModules.begin(), skipModules.end(), | ^ note: this fix will not be applied because it overlaps with another fix /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:144:27: warning: use a ranges version of this algorithm [modernize-use-ranges] note: this fix will not be applied because it overlaps with another fix ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/crashreporter', '-I/home/runner/work/graphia/graphia/source/crashreporter', '-I/home/runner/work/graphia/graphia/build/clang/source/crashreporter/CrashReporter_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/crashreporter/main.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/crashreporter/CrashReporter_autogen/include' [-Wmissing-include-dirs]\n" 25404 warnings generated. [197/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [clang-diagnostic-missing-include-dirs] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/crashreporter/CrashReporter_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.h:58:5: warning: function 'glMinSampleShading' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] 58 | inline void glMinSampleShading(GLfloat value) | ^~~~~~ ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DAPP_SOURCE_DIR="/home/runner/work/graphia/graphia/source/app"', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_POSITIONING_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_SVG_LIB', '-DQT_WEBCHANNELQUICK_LIB', '-DQT_WEBCHANNEL_LIB', '-DQT_WEBENGINECORE_LIB', '-DQT_WEBENGINEQUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/app', '-I/home/runner/work/graphia/graphia/source/app', '-I/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtSvg', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebEngineCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannel', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtPositioning', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWebChannelQuick', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/app/Graphia_autogen/include' [-Wmissing-include-dirs]\n" 21860 warnings generated. 43720 warnings generated. [198/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/messagebox/MessageBox_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_WIDGETS_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/messagebox', '-I/home/runner/work/graphia/graphia/source/messagebox', '-I/home/runner/work/graphia/graphia/build/clang/source/messagebox/MessageBox_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/messagebox/main.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/messagebox/MessageBox_autogen/include' [-Wmissing-include-dirs]\n" 13986 warnings generated. [199/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/updater', '-I/home/runner/work/graphia/graphia/source/updater', '-I/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/updater/installer.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include' [-Wmissing-include-dirs]\n" 18019 warnings generated. [200/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include' [clang-diagnostic-missing-include-dirs] /home/runner/work/graphia/graphia/source/shared/utils/container.h:218:9: warning: use a boost version of this algorithm [boost-use-ranges] 26 | std::iota(std::begin(index), std::end(index), 0); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | boost::algorithm::iota index /home/runner/work/graphia/graphia/source/updater/main.cpp:72:13: warning: function 'showUpdater' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage] 72 | QStringList showUpdater(int argc, char *argv[]) | ^ | static ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/updater', '-I/home/runner/work/graphia/graphia/source/updater', '-I/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/updater/main.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/Updater_autogen/include' [-Wmissing-include-dirs]\n" 19401 warnings generated. [201/201] warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/editor/UpdateEditor_autogen/include' [clang-diagnostic-missing-include-dirs] ERROR:clang_tidy_cache.py:Error executing compile command: #['/usr/bin/clang++-19', '-D__clang_analyzer__=1', '-DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL', '-DCRYPTOPP_DISABLE_ASM', '-DPRODUCT_NAME="Graphia"', '-DQCUSTOMPLOT_USE_LIBRARY', '-DQCUSTOMPLOT_USE_OPENGL', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '-DQT_DISABLE_DEPRECATED_BEFORE=396034', '-DQT_GUI_LIB', '-DQT_NETWORK_LIB', '-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT', '-DQT_OPENGL_LIB', '-DQT_QMLINTEGRATION_LIB', '-DQT_QML_LIB', '-DQT_QUICKCONTROLS2_LIB', '-DQT_QUICK_LIB', '-DQT_WIDGETS_LIB', '-DQT_XML_LIB', '-D_DEBUG', '-D__STDC_FORMAT_MACROS', '-I/home/runner/work/graphia/graphia/build/clang/source/updater/editor', '-I/home/runner/work/graphia/graphia/source/updater/editor', '-I/home/runner/work/graphia/graphia/build/clang/source/updater/editor/UpdateEditor_autogen/include', '-I/home/runner/work/graphia/graphia/source', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/blaze', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/lexy/include', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/json', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/hdf5', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/matio', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/zlib', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/qcustomplot', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/breakpad/src', '-isystem', '/home/runner/work/graphia/graphia/source/thirdparty/utfcpp/source', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtCore', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/mkspecs/linux-g++', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQmlIntegration', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtNetwork', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtConcurrent', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuick', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtGui', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtOpenGL', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtQuickControls2', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtXml', '-isystem', '/home/runner/work/graphia/Qt/6.11.2/gcc_64/include/QtWidgets', '-Wpedantic', '-Wall', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wdisabled-optimization', '-Wformat=2', '-Winit-self', '-Wmissing-include-dirs', '-Wold-style-cast', '-Woverloaded-virtual', '-Wnon-virtual-dtor', '-Wredundant-decls', '-Wshadow', '-Wconversion', '-funroll-loops', '-Wdeprecated', '-DBUILD_SOURCE_DIR="/home/runner/work/graphia/graphia"', '-g', '-g', '-std=c++20', '-fPIC', '-o', '-', '-E', '-P', '/home/runner/work/graphia/graphia/source/updater/editor/main.cpp', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14', '-isystem/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward', '-isystem/usr/lib/llvm-19/lib/clang/19/include', '-isystem/usr/local/include', '-isystem/usr/include/x86_64-linux-gnu', '-isystem/usr/include']. #b"clang++-19: warning: no such include directory: '/home/runner/work/graphia/graphia/build/clang/source/updater/editor/UpdateEditor_autogen/include' [-Wmissing-include-dirs]\n" 16229 warnings generated.