================
@@ -5616,8 +5625,14 @@ class StmtPrinterHelper : public PrinterHelper  {
   bool handleDecl(const Decl *D, raw_ostream &OS) {
     DeclMapTy::iterator I = DeclMap.find(D);
 
-    if (I == DeclMap.end())
+    if (I == DeclMap.end()) {
+      // CFG does not have the decls for ParmVarDecl.
----------------
ymand wrote:

nit: Can you be more specific? Like

ParmVarDecls are not declared in the CFG itself, so they do not appear in 
DeclMap.

https://github.com/llvm/llvm-project/pull/169320
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to