[all-commits] [llvm/llvm-project] 2a6ef2: [libc] Use cpp::Array instead of cpp::ArrayRef in ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Fri Jan 31 11:45:18 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a6ef2aecf2d75f410195cef14846348f33a24de
      https://github.com/llvm/llvm-project/commit/2a6ef2aecf2d75f410195cef14846348f33a24de
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M libc/test/src/string/memory_utils/utils_test.cpp

  Log Message:
  -----------
  [libc] Use cpp::Array instead of cpp::ArrayRef in memory/utils_test.

Building with address-sanitizer shows that using ArrayRef ends up
accessing a temporary outside its scope.




More information about the All-commits mailing list