delcypher added a comment.

@rjmccall

>> Sorry if these are silly questions and if I've misunderstood something, I 
>> saw n1863 say "functions return unqualified types" and I was very surprised.
>
> Just to be clear, you understand that this is only about top-level qualifiers 
> on the return type, right?  `const void *foo();` is still meaningful, it's 
> just that `const void * const foo();` isn't.

Oh that wasn't obvious to me at all. I had assumed "unqualified types" means 
remove qualifiers from everywhere in the type, not just the top level. 
Presumably something was meant to imply that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125919

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

Reply via email to