[PATCH] D20352: Add XRay flags to Clang

Dean Michael Berris via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 19:49:29 PDT 2016


dberris added a comment.

It looks like I was using `hasArg` instead of `hasFlag`. The dangerous part here is that OptSpecifier has an unsigned non-explicit argument, and I suspect `bool` is being promoted to `unsigned` silently with clang/gcc.


http://reviews.llvm.org/D20352





More information about the cfe-commits mailing list