[PATCH] D77809: [Analyzer] Include typedef statements in CFG build.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 09:26:46 PDT 2020


Szelethus added a comment.

In D77809#1972232 <https://reviews.llvm.org/D77809#1972232>, @martong wrote:

> There must be a way to dump the CFG. Perhaps you could add a test that dumps the CFG of a given source and then by using `FileCheck` we could see the exact feature that is missing.


`debug.DumpCFG` to the rescue!

  $ clang -cc1 -analyzer-checker-help-developer | grep "debug.DumpCFG"
    debug.DumpCFG                 Display Control-Flow Graphs


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77809/new/

https://reviews.llvm.org/D77809





More information about the cfe-commits mailing list