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

Sam Estep via All-commits all-commits at lists.llvm.org
Wed Aug 10 10:50:46 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43b298ea1282f29d448fc0f6ca971bc5fa698355
  Author: Sam Estep <sam at samestep.com>
  Date:   2022-08-10 (Wed, 10 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