[patch] Fix pr18141

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Dec 5 13:25:28 PST 2013


The attached patch fixes pr18141 by taking the calling convention into
consideration when looking for which member is being specialized.

Without this patch clang falls of

  if (!Instantiation) {
    // There is no previous declaration that matches. Since member
    // specializations are always out-of-line, the caller will complain about
    // this mismatch later.
    return false;
  }

But nothing complains, so there might be something else wrong in here.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131205/c4abc9c3/attachment.obj>


More information about the cfe-commits mailing list