1. 17 Apr, 2020 1 commit
  2. 15 Apr, 2020 2 commits
  3. 13 Apr, 2020 3 commits
  4. 10 Apr, 2020 1 commit
  5. 09 Apr, 2020 9 commits
  6. 07 Apr, 2020 1 commit
  7. 06 Apr, 2020 4 commits
  8. 04 Apr, 2020 3 commits
  9. 01 Apr, 2020 1 commit
  10. 31 Mar, 2020 1 commit
  11. 25 Mar, 2020 1 commit
  12. 24 Mar, 2020 5 commits
  13. 20 Mar, 2020 1 commit
  14. 18 Mar, 2020 1 commit
  15. 04 Mar, 2020 1 commit
  16. 03 Mar, 2020 5 commits
    • Hans Johnson's avatar
      STYLE: Use range-based loops from C++11 · 6621b069
      Hans Johnson authored
      C++11 Range based for loops can be used in
      
      Used as a more readable equivalent to the traditional for loop operating over a
      range of values, such as all elements in a container, in the forward direction..
      
      Range based loopes are more explicit for only computing the
      end location once for containers.
      6621b069
    • Hans Johnson's avatar
      STYLE: Use auto for variable type matches the type of the initializer · cc8fc323
      Hans Johnson authored
      This check is responsible for using the auto type specifier for variable
      declarations to improve code readability and maintainability.
      
      The auto type specifier will only be introduced in situations where the
      variable type matches the type of the initializer expression. In other words
      auto should deduce the same type that was originally spelled in the source
      cc8fc323
    • Hans Johnson's avatar
      PERF: emplace_back method results in potentially more efficient code · 91429382
      Hans Johnson authored
      The check flags insertions to an STL-style container done by calling the
      push_back method with an explicitly-constructed temporary of the container
      element type. In this case, the corresponding emplace_back method results in
      less verbose and potentially more efficient code.
      91429382
    • Hans Johnson's avatar
      STYLE: Prefer = default to explicitly trivial implementations · 6d20e7c9
      Hans Johnson authored
      This check replaces default bodies of special member functions with
      = default;. The explicitly defaulted function declarations enable more
      opportunities in optimization, because the compiler might treat
      explicitly defaulted functions as trivial.
      
      Additionally, the C++11 use of = default more clearly expreses the
      intent for the special member functions.
      6d20e7c9
    • Hans Johnson's avatar
      STYLE: Use default member initialization · d07092a0
      Hans Johnson authored
      Converts a default constructor’s member initializers into the new
      default member initializers in C++11. Other member initializers that match the
      default member initializer are removed. This can reduce repeated code or allow
      use of ‘= default’.
      d07092a0