[PATCH] D22196: Fix Bug "28480 - cppcoreguidelines-pro-bounds-array-to-pointer-decay handling __PRETTY_FUNCTION__"

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 10 09:04:33 PDT 2016


aaron.ballman added a comment.

I agree with your assessment that these should be safe, but the C++ Core Guidelines themselves don't call this case out as part of the enforcement (https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#bounds3-no-array-to-pointer-decay). Have you also filed a pull request (or a bug report) there to see if the maintainers agree with this approach?


http://reviews.llvm.org/D22196





More information about the cfe-commits mailing list