On 05/18/2017 01:40 PM, Jonathan Wakely wrote:

+  /* A prvalue of non-class type is cv-unqualified.  */
+  if (TREE_CODE (type) != REFERENCE_TYPE && !CLASS_TYPE_P (type))
+    type = cv_unqualified (type);
+

References can't be CV qualified, so the REFERENCE_TYPE check seems superfluous?

nathan
--
Nathan Sidwell

Reply via email to