[all-commits] [llvm/llvm-project] a0c7ca: [BOLT] Use range-based for loops (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Sep 3 11:18:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0c7ca8ad41eeac0ae7c2334d77777e602965414
      https://github.com/llvm/llvm-project/commit/a0c7ca8ad41eeac0ae7c2334d77777e602965414
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Core/FunctionLayout.cpp
    M bolt/lib/Passes/SplitFunctions.cpp

  Log Message:
  -----------
  [BOLT] Use range-based for loops (NFC)

LLVM Coding Standards discourage for_each unless callable objects
already exist.


  Commit: bc96b36a4193071ef85ece9b5e60bfb26dfa359b
      https://github.com/llvm/llvm-project/commit/bc96b36a4193071ef85ece9b5e60bfb26dfa359b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/TargetSchedule.cpp

  Log Message:
  -----------
  [CodeGen] Use std::lcm (NFC)


  Commit: 3850edd9e0c7a96b6001b13f54383e49fe0c7ecc
      https://github.com/llvm/llvm-project/commit/3850edd9e0c7a96b6001b13f54383e49fe0c7ecc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/tools.cpp
    M lld/wasm/OutputSections.cpp
    M lld/wasm/SyntheticSections.cpp
    M llvm/lib/Analysis/VFABIDemangling.cpp

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


  Commit: 89f1433225b05b993b9b3f0b8c3a282ec070ac23
      https://github.com/llvm/llvm-project/commit/89f1433225b05b993b9b3f0b8c3a282ec070ac23
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M bolt/lib/Passes/FrameOptimizer.cpp
    M clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M flang/lib/Lower/IntrinsicCall.cpp
    M lld/COFF/DebugTypes.cpp
    M lldb/include/lldb/Utility/RangeMap.h
    M lldb/source/Breakpoint/BreakpointLocationList.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
    M lldb/source/Symbol/CompactUnwindInfo.cpp
    M lldb/source/Utility/Reproducer.cpp
    M lldb/source/Utility/ReproducerProvider.cpp
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
    M llvm/lib/ExecutionEngine/Orc/Core.cpp
    M llvm/lib/Support/UnicodeNameToCodepoint.cpp
    M llvm/tools/llvm-profgen/PerfReader.cpp

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


  Commit: ff2fe7b82974e01c61f4f7247be231182fb76591
      https://github.com/llvm/llvm-project/commit/ff2fe7b82974e01c61f4f7247be231182fb76591
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
    M lldb/source/Symbol/ArmUnwindInfo.cpp
    M lldb/source/Target/ThreadCollection.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp

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


  Commit: fedc59734a44ef7b62c5f389b0cdffd02264b2a9
      https://github.com/llvm/llvm-project/commit/fedc59734a44ef7b62c5f389b0cdffd02264b2a9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalMerge.cpp
    M llvm/lib/LineEditor/LineEditor.cpp
    M llvm/lib/MC/MCWin64EH.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/RawMemProfReader.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
    M llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  Log Message:
  -----------
  [llvm] Use range-based for loops (NFC)


  Commit: a7a2872bb7ace78aa9ce33ad68303ef1550a3cfa
      https://github.com/llvm/llvm-project/commit/a7a2872bb7ace78aa9ce33ad68303ef1550a3cfa
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [ADT] Use std::add_const_t (NFC)


  Commit: 9eca5ed7900a9ebc980e413a4be2cf608922491b
      https://github.com/llvm/llvm-project/commit/9eca5ed7900a9ebc980e413a4be2cf608922491b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/ADT/fallible_iterator.h
    M llvm/include/llvm/Support/HashBuilder.h
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [llvm] Use std::enable_if_t (NFC)


  Commit: baee196abbfbf1750391bad27618006b2f6e0ef1
      https://github.com/llvm/llvm-project/commit/baee196abbfbf1750391bad27618006b2f6e0ef1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/ADT/SmallVector.h

  Log Message:
  -----------
  [llvm] Use std::remove_const_t (NFC)


  Commit: 32aa35b50406165b395a5033daf2eacf57a439eb
      https://github.com/llvm/llvm-project/commit/32aa35b50406165b395a5033daf2eacf57a439eb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
    M clang-tools-extra/clangd/Quality.cpp
    M clang-tools-extra/pseudo/include/clang-pseudo/Forest.h
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/SyntheticSections.h
    M lld/MachO/UnwindInfoSection.cpp
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/include/llvm/Analysis/CmpInstAnalysis.h
    M llvm/include/llvm/BinaryFormat/MachO.h
    M llvm/include/llvm/BinaryFormat/Minidump.h
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/include/llvm/Demangle/MicrosoftDemangle.h
    M llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
    M llvm/include/llvm/Testing/Support/Error.h
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/Support/SHA1.cpp
    M llvm/lib/Support/SHA256.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/utils/TableGen/X86DisassemblerTables.cpp

  Log Message:
  -----------
  Drop empty string literals from static_assert (NFC)

Identified with modernize-unary-static-assert.


  Commit: 86e8164a8f6447205c4511360cbd880eeaebea9a
      https://github.com/llvm/llvm-project/commit/86e8164a8f6447205c4511360cbd880eeaebea9a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopInfoImpl.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
    M llvm/include/llvm/Support/GenericDomTree.h
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/tools/bugpoint/CrashDebugger.cpp
    M llvm/tools/llvm-lipo/llvm-lipo.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.cpp
    M llvm/utils/TableGen/Attributes.cpp
    M llvm/utils/TableGen/GlobalISelEmitter.cpp
    M llvm/utils/TableGen/SearchableTableEmitter.cpp

  Log Message:
  -----------
  [llvm] Qualify auto in range-based for loops (NFC)

Identified with readability-qualified-auto.


Compare: https://github.com/llvm/llvm-project/compare/89df4e4825ee...86e8164a8f64


More information about the All-commits mailing list