rjmccall added inline comments.

================
Comment at: lib/Sema/SemaExprCXX.cpp:192
     Found.clear();
-    if (Step == 0 && LookupCtx)
+    if (Step == 0 && LookupCtx && !RequireCompleteDeclContext(SS, LookupCtx))
       LookupQualifiedName(Found, LookupCtx);
----------------
You should probably respond to the incomplete context within this case (by 
returning nullptr, I guess) instead of falling down into the else.


https://reviews.llvm.org/D17143



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

Reply via email to