[all-commits] [llvm/llvm-project] dd38ca: [clang][dataflow] Track `optional` contents in `op...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Thu Jun 9 07:19:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd38caf3b5b724c1f84998c1ae105f709c3ed405
      https://github.com/llvm/llvm-project/commit/dd38caf3b5b724c1f84998c1ae105f709c3ed405
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

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

  Log Message:
  -----------
  [clang][dataflow] Track `optional` contents in `optional` model.

This patch adds partial support for tracking (i.e. modeling) the contents of an
optional value. Specifically, it supports tracking the value after it is
accessed. We leave tracking constructed/assigned contents to a future patch.

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




More information about the All-commits mailing list