[PATCH] Fix for bug 17427 - Assertion failed: "Computed __func__ length differs from type!"

Richard Smith richard at metafoo.co.uk
Thu Sep 25 16:40:57 PDT 2014


FYI: I'm investigating how to deal with the constraint that `__func__` is the same object throughout a function; it's not supported by current ABIs, and it's not even clear that it's supportable without *extreme* heroics. On that basis, I think it's fine to continue treating `__func__` like a string literal for now (that is, two different `__func__`s can evaluate to different arrays).

http://reviews.llvm.org/D5365






More information about the cfe-commits mailing list