Skip to content
Snippets Groups Projects
Verified Commit b38f4a7f authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: sort headers

parent 95e1c979
No related branches found
No related tags found
No related merge requests found
Pipeline #10571 passed
......@@ -93,6 +93,7 @@ if(LINTING)
message(STATUS "clang-tidy: ${clang_tidy}")
set(_CMAKE_CXX_CLANG_TIDY
"--warnings-as-errors=*"
"--header-filter=caosdb/.*[^\\\(\.pb\.h\\\)]$"
"--fix")
set(_CMAKE_CXX_CLANG_TIDY_CHECKS
"--checks=*,-fuchsia-*,-llvmlibc-*,-llvm-else-after-return,-readability-else-after-return,-cppcoreguidelines-pro-type-vararg,-hicpp-vararg,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cert-err58-cpp")
......@@ -122,7 +123,7 @@ if(LINTING)
COMMAND ${iwyu}
ARGS ${_CMAKE_CXX_INCLUDE_WHAT_YOU_USE} "-I${_OCTINCLUDEDIR}"
"-std=c++17" "-I/usr/include" ${_MKOCTFILE_INCLUDES}
${OCTAVE_CAOSDB_SRC}
${OCTAVE_CAOSDB_SRC} "||" "true"
DEPENDS ${OCTAVE_CAOSDB_SRC})
endif()
......
#include <mex.h> // for mxArray, mexFunction
#include <string.h> // for strcmp
#include <memory> // for unique_ptr, __shared_ptr_access, shar...
#include <string> // for allocator, char_traits, operator+
#include "caosdb/connection.h" // for Connection, ConnectionManager
#include "caosdb/constants.h" // for LIBCAOSDB_VERSION_MAJOR, LIBCAOSDB_VE...
#include "caosdb/info.h" // for VersionInfo
#include "mex.h" // for mxArray, mexFunction
#include "mexproto.h" // for mexPrintf, mxCreateString, mxGetChars
#include <cstring> // for strcmp
#include <memory> // for unique_ptr, __shared_ptr_access, shar...
#include <string> // for allocator, char_traits, operator+
auto print_version() -> const char *;
void print_usage();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment