[cfe-dev] MicrosoftMangle.cpp, isTemplate, TemplateArgumentLoc and TemplateArgument::Pack
cdavis5x at gmail.com
Thu Nov 8 11:04:29 PST 2012
On Nov 8, 2012, at 9:57 AM, Nico Weber wrote:
> On Thu, Nov 8, 2012 at 3:34 AM, pravic <ehysta at gmail.com> wrote:
>> Current Clang versions throws assert when TemplateArgumentLoc constructed
>> with TemplateArgument::Pack type.
>> Can someone tell, how to avoid it? In release version assert was removed and
>> code works fine, but this is not correct.
>> Itanium mangle eliminates TemplateArgumentLoc construction here, but
>> MicrosoftMangle need a SourceRange to mangle template types.
> MicrosoftMange needs a SourceRange to print "not implemented yet"
> error messages, but that code is crashy: http://llvm.org/PR13984
> I'm guessing mangling for this just isn't implemented yet?
He has a patch (that I'm supposed to be reviewing) here:
If Clang assert(3)'s on creating a TemplateArgumentLoc of type TemplateArgument::Pack, then maybe we shouldn't create one like that :). Feel free to make that change.
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
More information about the cfe-dev