rjmccall added inline comments.

================
Comment at: lib/AST/ExprClassification.cpp:652
+    if (Ctx.getCanonicalType(ASE->getBase()->getType()).isConstQualified())
+      return Cl::CM_ConstQualified;
+
----------------
Is there a reason why the places that compute the type of these l-value 
expressions don't propagate qualiifers?  This hardly seems restricted to 
'const'.


https://reviews.llvm.org/D42530



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

Reply via email to