[all-commits] [llvm/llvm-project] bbeda8: [clang][dataflow][NFC] Expand comments on losing v...

martinboehme via All-commits all-commits at lists.llvm.org
Mon Jun 12 01:46:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbeda83090adcb3609f9c1331b2345e7fa547f90
      https://github.com/llvm/llvm-project/commit/bbeda83090adcb3609f9c1331b2345e7fa547f90
  Author: Martin Braenne <mboehme at google.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp

  Log Message:
  -----------
  [clang][dataflow][NFC] Expand comments on losing values in optional checker.

While working on the ongoing migration to strict handling of value
categories (see https://discourse.llvm.org/t/70086), I ran into issues related
to losing the value associated with an optional.

This issue is hinted at in the existing comments, but the issue didn't become
sufficiently clear to me from those, so I thought it would be worth capturing
more details, along with ideas for how this issue might be fixed.

Reviewed By: ymandel

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




More information about the All-commits mailing list