[PATCH] D50471: [Builtins] Add __bulitin_clrsb support to IntExprEvaluator::VisitBuiltinCallExpr
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 8 13:36:26 PDT 2018
erichkeane accepted this revision.
erichkeane added a comment.
This revision is now accepted and ready to land.
Looks easy enough, just note the test issue.
================
Comment at: test/Sema/constant-builtins-2.c:191
+char clrsb11[__builtin_clrsb(0xf) == BITSIZE(int) - 5 ? 1 : -1];
+char clrsb11[__builtin_clrsb(~0x1f) == BITSIZE(int) - 6 ? 1 : -1];
#undef BITSIZE
----------------
Same name as line 190.
https://reviews.llvm.org/D50471
More information about the cfe-commits
mailing list