[all-commits] [llvm/llvm-project] 1b0ca8: [clang-offload-bundler] use std::forward_list for ...

Sergey Dmitriev via All-commits all-commits at lists.llvm.org
Tue Nov 24 08:10:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b0ca81a6c358d2d52d4f84b7f42e620ead1ed26
      https://github.com/llvm/llvm-project/commit/1b0ca81a6c358d2d52d4f84b7f42e620ead1ed26
  Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
  Date:   2020-11-24 (Tue, 24 Nov 2020)

  Changed paths:
    M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp

  Log Message:
  -----------
  [clang-offload-bundler] use std::forward_list for storing temp file names [NFC]

Use a different container that preserves existing elements on modification
for storing temporary file names. Current container can make StringRefs
returned earlier invalid on reallocation.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D92010




More information about the All-commits mailing list