[all-commits] [llvm/llvm-project] e5646b: Revert "Revert "[analyzer] Ignore IncompleteArrayT...

Balazs Benics via All-commits all-commits at lists.llvm.org
Wed Aug 25 08:19:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5646b9254e0150e7897bd2658fa0b19eef39070
      https://github.com/llvm/llvm-project/commit/e5646b9254e0150e7897bd2658fa0b19eef39070
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
    A clang/test/Analysis/flexible-array-members.c

  Log Message:
  -----------
  Revert "Revert "[analyzer] Ignore IncompleteArrayTypes in getStaticSize() for FAMs""

This reverts commit df1f4e0cc6ec9a734aae41ffd48ee8b2007fcabb.

Now the test case explicitly specifies the target triple.
I decided to use x86_64 for that matter, to have a fixed
bitwidth for `size_t`.

Aside from that, relanding the original changes of:
https://reviews.llvm.org/D105184




More information about the All-commits mailing list