[PATCH] D25264: Implement MS _BitScan intrinsics

Albert Gutowski via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 10:49:47 PDT 2016


agutowski added inline comments.


> rnk wrote in CodeGenFunction.h:2964
> Does this work on Linux? I thought you had to give it an explicit underlying type (enum class MSVCIntrin : unsigned;) to make that work.

Yes, it seems to work on Linux too. According to the cppreference.com, it "declares a scoped enumeration type whose underlying type is int".

https://reviews.llvm.org/D25264





More information about the cfe-commits mailing list