Skip to content
Snippets Groups Projects

Linting setup + code updates

Merged Jakub Klinkovský requested to merge JK/lint into develop

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • requested review from @oberhuber

  • added 2 commits

    • 817f2c07 - fix .clang-format
    • 753dfe9f - Fixed formatting messed up by clang-format

    Compare with previous version

  • Jakub Klinkovský added 35 commits

    added 35 commits

    • 569e2b2f - Configuring linting with clang-format and clang-tidy
    • ffc7fac2 - Replaced TNL::String with std::string in TypeInfo.h and getSerializationType methods
    • 9c99291f - Lint: fixed 'virtual' and 'override' in matrices and refactored TridiagonalMatrixIndexer
    • 8f9151d4 - Added wrapper function for CUDA kernel launch
    • 2d802491 - Fixed formatting in TypeTraits.h
    • 9fe43e5e - Re-formatted source files under src/TNL/ with clang-format
    • cf404142 - clang-tidy: use 'using' instead of 'typedef' [modernize-use-using]
    • 2cfaa8d3 - clang-tidy: const-qualification of parameters only has an effect in function...
    • e41751d4 - Removed 'const' from definitions for consistency with the declarations
    • 45135df0 - Fixed inconsistency between the signatures of the declaration and definition...
    • d243c637 - clang-tidy: use nullptr [modernize-use-nullptr]
    • b945e647 - clang-tidy: annotate functions with 'override' [modernize-use-override]
    • 1587db8e - clang-tidy: dynamic exception specification 'throw()' is deprecated; consider...
    • 76d84cb1 - clang-tidy: use '= delete' to prohibit calling of a special member function...
    • eae23aab - clang-tidy: use '= default' to define a trivial special member functions
    • 8e1b0301 - clang-tidy: modernize deprecated headers
    • 9d652f02 - Lint: apply performance suggestions by clang-tidy
    • 4a5e1de8 - clang-tidy: remove unnecessary calls to std::string::c_str(), redundant void...
    • f84e2187 - Added missing zero-initialization of dimensions to grids
    • 7d2047a3 - Refactored grid constructors, there were still some uninitialized members
    • 535b4a1b - clang-tidy: pass by value and use std::move [modernize-pass-by-value]
    • fdbf26cd - clang-tidy: refactor the code to one statement per declaration [readability-isolate-declaration]
    • d3b4f5bf - clang-tidy: remove useless 'const' from return value types [readability-const-return-type]
    • 02a93b56 - Benchmarks: fixed inconsistent type of the verbose parameter
    • 9d1231bd - clang-tidy: non-static member functions that can be made static...
    • 78c20301 - Added missing move-constructor and move-assignment operator to DistributedArray
    • a0a7069e - clang-tidy: use auto to avoid writing the same type on both sides of the...
    • 705151e9 - clang-tidy: use .empty() to check for emptiness of a container [readability-container-size-empty]
    • faa94f2a - clang-tidy: avoid implicit conversions to bool [readability-implicit-bool-conversion]
    • 7784769a - Lint: simplify bool expressions in return statements and assignments
    • d357206d - Fixed access modifiers in DistributedGrid and XMLVTK
    • e9be2317 - Modernized for-loop in parseCommandLine
    • e2cbfb8b - Fixed constness and pointer type of auto in StaticArray
    • 0eba0308 - Added missing parameter name in 3D Grid specialization
    • 42e42840 - Fixed formatting messed up by clang-format

    Compare with previous version

  • Tomáš Oberhuber approved this merge request

    approved this merge request

  • mentioned in commit aaa05302

Please register or sign in to reply
Loading