r219883 - DebugInfo: Cleanup testing of non-type template parameters.

Frédéric Riss friss at apple.com
Wed Oct 15 18:30:26 PDT 2014


> On 15 Oct 2014, at 17:41, David Blaikie <dblaikie at gmail.com> wrote:
> 
> Author: dblaikie
> Date: Wed Oct 15 19:41:40 2014
> New Revision: 219883
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=219883&view=rev <http://llvm.org/viewvc/llvm-project?rev=219883&view=rev>
> Log:
> DebugInfo: Cleanup testing of non-type template parameters.
> 
> Separate out the non-nullable parameters from the nullable ones
> (currently only the template template parameter)

I’m trying to understand the commit, but the metadata changes are hard to read, and my (mis-)understanding of your commit message doesn’t help :-) I suppose ‘nullable’ parameters are the ones that can take nullptr as value? But then, what’s the relation with template template parameters?

Sorry if I’m missing something obvious…

Fred

> and demonstrate that
> cv-qualifiers aren't preserved for non-null parameters (but are
> preserved for null parameters) by adding 'const' to an int* non-type
> template parameter.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141015/bba5c44b/attachment.html>


More information about the cfe-commits mailing list