Skip to content
Snippets Groups Projects
  1. Nov 30, 2019
  2. Sep 11, 2019
    • Dmitri Naumov's avatar
      Remove explicit file name if doxygen's \file cmd. · 9d920d1e
      Dmitri Naumov authored
      If only file name is specified it causes a warning
      about the name not to be specific enough if there is
      another file with the same name, e.g.:
      
      the name `IdealGasLaw.h' supplied as the second argument
      in the \file statement matches the following input
      files: ogs/MaterialLib/Fluid/Density/IdealGasLaw.h
      ogs/MaterialLib/MPL/Properties/IdealGasLaw.h
      Please use a more specific name by including a (larger)
      part of the path!
      
      From now on only \file w/o a name or a full path will
      be allowed.
      
      find -type f | xargs sed -i 's%\(\\file\).*%\1%'
      9d920d1e
  3. Aug 21, 2019
  4. Aug 14, 2019
  5. Jul 16, 2019
    • Dmitri Naumov's avatar
      clang-tidy readability fixes. · fe703cc7
      Dmitri Naumov authored
      Including
       - usage of static_cast instead of c-style cast,
       - single variable declaration per line,
       - removing const from return types
       - omit unnecessary string to char* conversions,
      
      The used clang-tidy checks are:
      google-readability-casting,
      readability-const-return-type,
      readability-container-size-empty,
      readability-delete-null-pointer,
      readability-deleted-default,
      readability-else-after-return,
      readability-function-size,
      readability-identifier-naming,
      readability-inconsistent-declaration-parameter-name,
      readability-isolate-declaration,
      readability-misleading-indentation,
      readability-misplaced-array-index,
      readability-named-parameter,
      readability-redundant-*,
      readability-simplify-*,
      readability-static-accessed-through-instance,
      readability-static-definition-in-anonymous-namespace,
      readability-string-compare,
      readability-uniqueptr-delete-release
      fe703cc7
    • Dmitri Naumov's avatar
      clang-tidy automatic fixes. · bbe99436
      Dmitri Naumov authored
      Most of the current .clang-tidy contained checks:
      google-explicit-constructor
      google-readability-braces-around-statements
      modernize-loop-convert
      modernize-use-default-member-init
      modernize-use-emplace
      modernize-use-using
      readability-braces-around-statements
      readability-else-after-return
      readability-named-parameter
      *readability-namespace-comments
      *readability-inconsistent-*
      readability-redundant-member-init
      readability-simplify-boolean-expr
      readability-string-compare
      *explicit-conversions*
      bbe99436
  6. Jun 15, 2019
    • Dmitri Naumov's avatar
      Fix variable shadowing. · 5bda1ae1
      Dmitri Naumov authored
      Either by renaming or removing the variable or adding
      an extra scope to the top variable.
      
      CPPCheck warning type: shadowVar.
      5bda1ae1
  7. Jun 03, 2019
    • Dmitri Naumov's avatar
      [MeL] Update checkMesh min/max bounds calls. · 69e5f46e
      Dmitri Naumov authored
      Avoids variable shadowing (vec_bounds).
      Simplifies handling of error cases w/o using any
      sentinel values.
      Using sentinel values for integers or doubles
      artificially restricts the range of possible values
      used and can lead to unadvert (incorrect) errors.
      69e5f46e
  8. May 02, 2019
  9. Apr 11, 2019
  10. Mar 19, 2019
  11. Mar 08, 2019
  12. Mar 06, 2019
  13. Feb 27, 2019
  14. Jan 06, 2019
  15. Dec 19, 2018
  16. Nov 27, 2018
  17. Nov 23, 2018
  18. Aug 28, 2018
  19. Aug 27, 2018
  20. Jul 13, 2018
  21. Jun 22, 2018
  22. Jun 20, 2018
  23. May 09, 2018
  24. Apr 27, 2018
  25. Apr 26, 2018
  26. Jan 02, 2018
Loading