thakis marked 4 inline comments as done.
thakis added a comment.

Thanks, all done.

Looks like there's no range access to a try's catch blocks, so no for-range 
loop for now. Maybe I'll add range accessors for those later.



================
Comment at: clang/lib/Analysis/CFG.cpp:3895
 CFGBlock *CFGBuilder::VisitObjCAtThrowStmt(ObjCAtThrowStmt *S) {
   // FIXME: This isn't complete.  We basically treat @throw like a return
   //  statement.
----------------
hans wrote:
> does the fixme still stand?
No, I think this is done now. Removed, thanks.


================
Comment at: clang/lib/Analysis/CFG.cpp:5790
+      OS << "@catch (";
+      if (CS->getCatchParamDecl())
+        CS->getCatchParamDecl()->print(OS, 
PrintingPolicy(Helper.getLangOpts()),
----------------
hans wrote:
> maybe
> 
> ```
> if (const VarDecl *PD = CS->getCatchParamDecl())
>   PD->print(...)
> ```
oh yes, that's much nicer. thanks, done.


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

https://reviews.llvm.org/D112287

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

Reply via email to