[all-commits] [llvm/llvm-project] 9f3098: [clang-offload-bundler] Convert `std::vector` to `...

🍌Shawn via All-commits all-commits at lists.llvm.org
Tue Jun 9 17:09:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f30981a2f4c1d3fa808938bf3703e8468be2e55
      https://github.com/llvm/llvm-project/commit/9f30981a2f4c1d3fa808938bf3703e8468be2e55
  Author: 🍌Shawn <m18824909883 at 163.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M clang/include/clang/Driver/OffloadBundler.h
    M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp

  Log Message:
  -----------
  [clang-offload-bundler] Convert `std::vector` to `llvm::SmallVector` in `OffloadBundlerConfig` (#192259)

Replace `std::vector<std::string>` with `llvm::SmallVector<std::string,
4>`
for TargetNames, InputFileNames, and OutputFileNames to avoid heap
allocation for small number of elements.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list