[all-commits] [llvm/llvm-project] bcd079: [LifetimeAnalysis] Fix PR44150

Gábor Horváth via All-commits all-commits at lists.llvm.org
Wed Nov 27 09:15:50 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bcd0798c47ca865f95226859893016a17402441e
      https://github.com/llvm/llvm-project/commit/bcd0798c47ca865f95226859893016a17402441e
  Author: Gabor Horvath <xazax at google.com>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/Sema/warn-lifetime-analysis-nocfg.cpp

  Log Message:
  -----------
  [LifetimeAnalysis] Fix PR44150

References need somewhat special treatment. While copying a gsl::Pointer
will propagate the points-to set, creating an object from a reference
often behaves more like a dereference operation.

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




More information about the All-commits mailing list