[llvm] r264341 - [Support] Add ErrorInfo::ID static member definition.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 17:39:17 PDT 2016


>
> I went ahead and implemented this in r264360, hopefully fixing Nakamura's
> build configuration and fixing the ODR violation that was blocking Alexey.


Oops - Only just got this. I blame bus-wifi. Thanks Reid!

- Lang.

On Thu, Mar 24, 2016 at 4:56 PM, Reid Kleckner <rnk at google.com> wrote:

> On Thu, Mar 24, 2016 at 4:20 PM, Reid Kleckner <rnk at google.com> wrote:
>
>> I think you can solve the problem the same way I suggested that Chandler
>> do it: make the derived error classes responsible for providing this
>> symbol, and have classID() return &ThisErrT::ID.
>>
>
> I went ahead and implemented this in r264360, hopefully fixing Nakamura's
> build configuration and fixing the ODR violation that was blocking Alexey.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160324/ee6749aa/attachment.html>


More information about the llvm-commits mailing list