[all-commits] [llvm/llvm-project] 3b9b3d: [Analyzer] Include typedef statements in CFG build.

Balázs Kéri via All-commits all-commits at lists.llvm.org
Mon Apr 27 03:37:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b9b3d56efaa6f611458899d5a1cdc74f36d72a4
      https://github.com/llvm/llvm-project/commit/3b9b3d56efaa6f611458899d5a1cdc74f36d72a4
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M clang/lib/Analysis/CFG.cpp
    A clang/test/Analysis/cfg.c
    M clang/test/Analysis/cfg.cpp

  Log Message:
  -----------
  [Analyzer] Include typedef statements in CFG build.

Summary:
Array size expressions in typedef statements with a VLA
(variable-length array) are handled from now as in plain
(non-typedef) VLA declarations.
Type-aliases with VLA are handled too
(but main focus is on C code).

Reviewers: Szelethus, aaron.ballman, NoQ, xazax.hun

Reviewed By: aaron.ballman, xazax.hun

Subscribers: rnkovacs, NoQ, efriedma, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list