rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: clang/lib/Sema/SemaDecl.cpp:13181-13182
+        if (!IFace) {
+          if (!IsLambda)
+            PopExpressionEvaluationContext();
           return false;
----------------
Adding this pop before each return seems error-prone. Can you do this with an 
RAII object instead?


Repository:
  rC Clang

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

https://reviews.llvm.org/D54014



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D54014: [... Richard Smith - zygoloid via Phabricator via cfe-commits

Reply via email to