This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git. Pull mirroring updated .
  1. 23 Jan, 2022 1 commit
  2. 25 Dec, 2021 1 commit
  3. 02 Nov, 2021 1 commit
  4. 29 Jan, 2021 1 commit
    • Alexander Kornienko's avatar
      [clang-tidy] Applied clang-tidy fixes. NFC · ab2d3ce4
      Alexander Kornienko authored
      Applied fixes enabled by the LLVM's .clang-tidy configs. Reverted files where
      fixes introduced compile errors:
        clang-tools-extra/clang-tidy/hicpp/NoAssemblerCheck.cpp
        clang-tools-extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp
      
      $ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -fix clang-tools-extra/clang-tidy/
      Enabled checks:
          llvm-else-after-return
          llvm-header-guard
          llvm-include-order
          llvm-namespace-comment
          llvm-prefer-isa-or-dyn-cast-in-conditionals
          llvm-prefer-register-over-unsigned
          llvm-qualified-auto
          llvm-twine-local
          misc-definitions-in-headers
          misc-misplaced-const
          misc-new-delete-overloads
          misc-no-recursion
          misc-non-copyable-objects
          misc-redundant-expression
          misc-static-assert
          misc-throw-by-value-catch-by-reference
          misc-unconventional-assign-operator
          misc-uniqueptr-reset-release
          misc-unused-alias-decls
          misc-unused-using-decls
          readability-identifier-naming
      
      Reviewed By: aaron.ballman
      
      Differential Revision: https://reviews.llvm.org/D95614
      ab2d3ce4
  5. 26 Apr, 2020 1 commit
  6. 05 Apr, 2020 1 commit
  7. 28 Jan, 2020 1 commit
    • Benjamin Kramer's avatar
      Make llvm::StringRef to std::string conversions explicit. · adcd0268
      Benjamin Kramer authored
      This is how it should've been and brings it more in line with
      std::string_view. There should be no functional change here.
      
      This is mostly mechanical from a custom clang-tidy check, with a lot of
      manual fixups. It uncovers a lot of minor inefficiencies.
      
      This doesn't actually modify StringRef yet, I'll do that in a follow-up.
      adcd0268
  8. 24 Jan, 2019 1 commit
  9. 19 Jan, 2019 1 commit
    • Chandler Carruth's avatar
      Update the file headers across all of the LLVM projects in the monorepo · 2946cd70
      Chandler Carruth authored
      to reflect the new license.
      
      We understand that people may be surprised that we're moving the header
      entirely to discuss the new license. We checked this carefully with the
      Foundation's lawyer and we believe this is the correct approach.
      
      Essentially, all code in the project is now made available by the LLVM
      project under our new license, so you will see that the license headers
      include that license only. Some of our contributors have contributed
      code under our old license, and accordingly, we have retained a copy of
      our old license notice in the top-level files in each project and
      repository.
      
      llvm-svn: 351636
      2946cd70
  10. 21 Dec, 2018 1 commit
  11. 03 Dec, 2018 3 commits
    • Jonas Toth's avatar
      [clang-tidy] Recommit: Add the abseil-duration-comparison check · 00f1d767
      Jonas Toth authored
      Summary:
      This check finds instances where Duration values are being converted to a numeric value in a comparison expression, and suggests that the conversion happen on the other side of the expression to a Duration.  See documentation for examples.
      
      This also shuffles some code around so that the new check may perform in sone step simplifications also caught by other checks.
      Compilation is unbroken, because the hash-function is now directly
      specified for std::unordered_map, as 'enum class' does not compile as
      key (seamingly only on some compilers).
      
      Patch by hwright.
      
      Reviewers: aaron.ballman, JonasToth, alexfh, hokein
      
      Reviewed By: JonasToth
      
      Subscribers: sammccall, Eugene.Zelenko, xazax.hun, cfe-commits, mgorny
      
      Tags: #clang-tools-extra
      
      Differential Revision: https://reviews.llvm.org/D54737
      
      llvm-svn: 348169
      00f1d767
    • Jonas Toth's avatar
      Revert "[clang-tidy] Add the abseil-duration-comparison check" · b77711e2
      Jonas Toth authored
      This commit broke buildbots and needs adjustments.
      
      llvm-svn: 348165
      b77711e2
    • Jonas Toth's avatar
      [clang-tidy] Add the abseil-duration-comparison check · 5da1825e
      Jonas Toth authored
      Summary:
      This check finds instances where Duration values are being converted to a numeric value in a comparison expression, and suggests that the conversion happen on the other side of the expression to a Duration.  See documentation for examples.
      
      This also shuffles some code around so that the new check may perform in sone step simplifications also caught by other checks.
      
      Patch by hwright.
      
      Reviewers: aaron.ballman, JonasToth, alexfh, hokein
      
      Reviewed By: JonasToth
      
      Subscribers: sammccall, Eugene.Zelenko, xazax.hun, cfe-commits, mgorny
      
      Tags: #clang-tools-extra
      
      Differential Revision: https://reviews.llvm.org/D54737
      
      llvm-svn: 348161
      5da1825e
  12. 18 Nov, 2018 1 commit