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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 23 09:43:32 PDT 2020


aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM with a minor nit, thank you!



================
Comment at: clang/lib/Analysis/CFG.cpp:2855
+         VA = FindVA(VA->getElementType().getTypePtr())) {
+      if (CFGBlock *newBlock = addStmt(VA->getSizeExpr()))
+        LastBlock = newBlock;
----------------
newBlock -> NewBlock per coding standard.


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