[all-commits] [llvm/llvm-project] 7cc8fa: Use llvm::is_contained (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Oct 24 09:33:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cc8fa2dd2d8167d427cadb4fc6f4254b53a8359
      https://github.com/llvm/llvm-project/commit/7cc8fa2dd2d8167d427cadb4fc6f4254b53a8359
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-10-24 (Sun, 24 Oct 2021)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/Analysis/ObjCNoReturn.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M lldb/source/Breakpoint/BreakpointID.cpp

  Log Message:
  -----------
  Use llvm::is_contained (NFC)


  Commit: 1c35973c772b0c5e9c82d0c5d57d218a3eb6417d
      https://github.com/llvm/llvm-project/commit/1c35973c772b0c5e9c82d0c5d57d218a3eb6417d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-10-24 (Sun, 24 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
    M llvm/lib/IR/Attributes.cpp

  Log Message:
  -----------
  [llvm] Call *(Set|Map)::erase directly (NFC)

We can erase an item in a set or map without checking its membership
first.


Compare: https://github.com/llvm/llvm-project/compare/f5f592683f82...1c35973c772b


More information about the All-commits mailing list