[all-commits] [llvm/llvm-project] 79060d: [LifetimeAnalysis] Add [[gsl::Pointer]] to llvm::S...

Matthias Gehre via All-commits all-commits at lists.llvm.org
Wed Apr 15 15:09:04 PDT 2020


  Branch: refs/heads/StringRefGslPointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 79060d2ea122a28f595e719432fbafa18f3b9eb9
      https://github.com/llvm/llvm-project/commit/79060d2ea122a28f595e719432fbafa18f3b9eb9
  Author: Matthias Gehre <gehre.matthias at gmail.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

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

  Log Message:
  -----------
  [LifetimeAnalysis] Add [[gsl::Pointer]] to llvm::StringRef

Summary:
This detected the bugs fixed in
  https://reviews.llvm.org/D66442
and
  https://reviews.llvm.org/D66440

The warning itself was implemented in
  https://reviews.llvm.org/D63954
  https://reviews.llvm.org/D64256
  https://reviews.llvm.org/D65120
  https://reviews.llvm.org/D65127
  https://reviews.llvm.org/D66152

Reviewers: zturner, mehdi_amini, gribozavr

Subscribers: dexonsmith, Szelethus, xazax.hun, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list