[all-commits] [llvm/llvm-project] d09d4b: [clang][dataflow] Don't crash when caller args are...

Sam Estep via All-commits all-commits at lists.llvm.org
Thu Aug 11 06:00:57 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d09d4bd66c864d58b29d74918a4a164f3ad905de
  Author: Sam Estep <sam at samestep.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

  Log Message:
  [clang][dataflow] Don't crash when caller args are missing storage locations

This patch modifies `Environment`'s `pushCall` method to pass over arguments that are missing storage locations, instead of crashing.

Reviewed By: gribozavr2

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

More information about the All-commits mailing list