This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git. Pull mirroring updated .
  1. 23 Jan, 2022 1 commit
    • Carlos Galvez's avatar
      [clang-tidy] Remove gsl::at suggestion from cppcoreguidelines-pro-bounds-constant-array-index · eb3f20e8
      Carlos Galvez authored
      Currently the fix hint is hardcoded to gsl::at(). This poses
      a problem for people who, for a number of reasons, don't want
      or cannot use the GSL library (introducing a new third-party
      dependency into a project is not a minor task).
      
      In these situations, the fix hint does more harm than good
      as it creates confusion as to what the fix should be. People
      can even misinterpret the fix "gsl::at" as e.g. "std::array::at",
      which can lead to even more trouble (e.g. when having guidelines
      that disallow exceptions).
      
      Furthermore, this is not a requirement from the C++ Core Guidelines.
      simply that array indexing needs to be safe. Each project should
      be able to decide upon a strategy for safe indexing.
      
      The fix-it is kept for people who want to use the GSL library.
      
      Differential Revision: https://reviews.llvm.org/D117857
      eb3f20e8
  2. 31 Aug, 2016 1 commit
  3. 23 Aug, 2016 1 commit
  4. 18 Aug, 2016 1 commit
  5. 02 Apr, 2016 1 commit
  6. 27 Jan, 2016 1 commit
    • Alexander Kornienko's avatar
      [clang-tidy] Fix documentation. · 1b290adc
      Alexander Kornienko authored
      Fixed broken links to cppcoreguidelines (anchors specified in the .md file
      should be used, not automatic anchors generated by github).
      
      Fixed formatting, array_view -> span, fixed sphinx errors in
      misc-definitions-in-headers.rst.
      
      llvm-svn: 258926
      1b290adc
  7. 22 Dec, 2015 1 commit
  8. 13 Dec, 2015 1 commit
  9. 18 Nov, 2015 1 commit
  10. 17 Nov, 2015 1 commit