Szelethus added reviewers: NoQ, xazax.hun.
Szelethus added a subscriber: NoQ.
Szelethus added a comment.
Herald added a subscriber: rnkovacs.

Adding @NoQ and @xazax.hun , I don't have much experience building CFGs.



================
Comment at: clang/lib/Analysis/CFG.cpp:2855
+
   VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
 
----------------
How about `using`? How about some other shenanigans that obscure the size of 
the VLA? Can't we just retrieve the size from `VariableArrayType::getSizeExpr` 
after seeing this `VarDecl`, and add that to the block?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77809



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to