1. 31 Jan, 2018 1 commit
    • Pavel Solodovnikov's avatar
      Reduce raw string pointers usage. · 653b8946
      Pavel Solodovnikov authored
      * Change some functions to take `std::string` instead of
        `const char*` in the following classes: `cmMakeFile`, `cmake`,
        `cmCoreTryCompile`, `cmSystemTools`,  `cmState`, `cmLocalGenerator`
        and a few others.
      * Greatly reduce using of `const char*` overloads for
        `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`.
      * Remove many redundant `c_str()` conversions throughout the code.
      653b8946
  2. 23 Jan, 2018 1 commit
  3. 19 Jan, 2018 1 commit
  4. 20 Dec, 2017 1 commit
  5. 01 Dec, 2017 1 commit
    • Bill Hoffman's avatar
      Update cpplint support to return 0 and mark warnings for CDash. · bfcc2034
      Bill Hoffman authored
      This commit makes cpplint act like the other compiler mirroring tools. It
      will always return 0 even if it reports warnings and will only return non
      zero if there is a problem running the command. In addition, it will now
      add some extra text to allow CTest to recognize the warnings and report
      them correctly to CDash.
      bfcc2034
  6. 19 Nov, 2017 2 commits
  7. 10 Nov, 2017 2 commits
  8. 09 Nov, 2017 1 commit
  9. 27 Oct, 2017 3 commits
  10. 23 Oct, 2017 1 commit
    • Matthias Männich's avatar
      Replace cmArray{Begin,End,Size} by their standard counterparts · 57132765
      Matthias Männich authored
      std::{begin,end} are part of C++11, std::{cbegin,cend} are part of C++14
      and an standard compliant implementation has been introduced within the
      'cm' namespace: cm::{cbegin,cend}.
      
      std::size is only part of C++17, hence exposing a compliant implementation
      within namespace cm (cm::size).
      
      where possible, the standard implementations are reused.
      57132765
  11. 05 Oct, 2017 1 commit
  12. 28 Sep, 2017 1 commit
  13. 25 Sep, 2017 1 commit
  14. 22 Sep, 2017 1 commit
  15. 19 Sep, 2017 1 commit
  16. 13 Sep, 2017 1 commit
    • Bill Hoffman's avatar
      Clean up iwyu code to not be one big if statement. · 3bbe95f5
      Bill Hoffman authored
      This commit changes the internal -E__run_iwyu to be -E__run_co_compile. This
      is used for co-compile commands. These are tools that want to mirror the
      compiler. For each compiler invocation the tool will be invoked first. This
      started as a way to implement include what you use (iwyu), but has expanded
      to include cpplint, cppcheck and others. Likely there will be more in the
      future as well. This commit implements each one in its own function and
      provides a way to add additional ones in the future with less work.
      3bbe95f5
  17. 12 Sep, 2017 1 commit
  18. 30 Aug, 2017 1 commit
  19. 26 Aug, 2017 2 commits
  20. 24 Aug, 2017 1 commit
  21. 14 Jul, 2017 2 commits
  22. 10 Jul, 2017 1 commit
  23. 01 Jun, 2017 1 commit
  24. 26 May, 2017 1 commit
  25. 08 May, 2017 1 commit
  26. 21 Apr, 2017 1 commit
  27. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  28. 21 Mar, 2017 1 commit
  29. 23 Jan, 2017 1 commit
  30. 12 Dec, 2016 1 commit
  31. 18 Nov, 2016 3 commits
  32. 08 Nov, 2016 1 commit