[PATCH] D43494: [Modules] Fix creating fake definition data for lambdas.

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 17:06:12 PST 2018


aprantl added inline comments.


================
Comment at: clang/lib/Serialization/ASTReaderDecl.cpp:2969
 
+    if (!DD && RD->isBeingDefined())
+      return nullptr;
----------------
Perhaps add a comment explaining what's going on in this early exit?


https://reviews.llvm.org/D43494





More information about the cfe-commits mailing list