[all-commits] [llvm/llvm-project] a36c2d: [clang][dataflow] Add modeling of Chromium's CHECK...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Mar 18 07:40:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a36c2dd6d54c6ff854cb4872cd2831ed995e9275
      https://github.com/llvm/llvm-project/commit/a36c2dd6d54c6ff854cb4872cd2831ed995e9275
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    A clang/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h
    M clang/lib/Analysis/FlowSensitive/Models/CMakeLists.txt
    A clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    A clang/unittests/Analysis/FlowSensitive/ChromiumCheckModelTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Add modeling of Chromium's CHECK functionality

Chromium's implementation of assertions (`CHECK`, `DCHECK`, etc.) are not
annotated with "noreturn", by default. This patch adds a model of the logical
implications of successfully executing one of these assertions.

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




More information about the All-commits mailing list