1. 01 Jun, 2018 1 commit
    • Brad King's avatar
      clang-format.bash: update to clang-format-6.0 · 523c443d
      Brad King authored
      Update `.clang-format` with configuration to make the 6.0 format as
      close as possible to what 3.8 produced before.  Then revise the style:
      
      * Indent preprocessor directives (a feature new since 3.8)
      * Add a newline and indentation before inheritance `:` and `,`
      
      Rename the Git attribute identifying the format to include the
      clang-format version number: `format.clang-format-6.0`.  This will aid
      external infrastructure in knowing what version of the tool to run.
      523c443d
  2. 18 May, 2018 1 commit
    • Brad King's avatar
      clang-format: Explicitly require version 3.8 of the tool · 8cfc45f6
      Brad King authored
      Versions of clang-format newer than 3.8 produce different output.
      Our source code guide says that version 3.8 exactly must be used.
      Update the comment in our `.clang-format` config file accordingly.
      Add a check to our formatting script to verify the version.
      Also update its tool search to look for the explicitly-named
      3.8 variant first.
      8cfc45f6
  3. 03 Oct, 2017 1 commit
  4. 05 Jul, 2017 1 commit
  5. 22 Feb, 2017 1 commit
  6. 14 Feb, 2017 1 commit
  7. 10 Nov, 2016 1 commit
  8. 25 Oct, 2016 1 commit
    • Alex Wang's avatar
      Features: Fix cxx_right_angle_brackets compiler feature test · 68e7250a
      Alex Wang authored
      The clang-format pass in commit v3.6.0-rc1~54^2~1 (Revise C++ coding
      style using clang-format, 2016-05-16) changed the template right angle
      brackets from `>>` to `> >`, which defeats the purpose of this test.
      Change it back and exclude this content from formatting.
      68e7250a
  9. 05 Sep, 2016 1 commit
  10. 30 Jun, 2016 1 commit
  11. 20 May, 2016 1 commit
    • Brad King's avatar
      clang-format.bash: Limit formatting to files selected by options · 2f2117e7
      Brad King authored
      Now that our one-shot clang-format run is complete we rarely need to
      filter the entire tree anymore.  Filter nothing if no options are given
      and just print the usage message.  Offer options to specify selection of
      some set of files from Git as needed for various workflows.
      2f2117e7
  12. 16 May, 2016 1 commit