[PATCH] D142305: [ADT] llvm::bit_cast - use __builtin_bit_cast if available

Med Ismail Bennani via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 11:25:39 PST 2023


mib added a comment.

Hey @RKSimon, it seems this patch is cause lldb's macOS ASAN bot to fail. Could you take a look ?

  /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/llvm/include/llvm/ADT/bit.h:55:3: error: non-void function 'bit_cast' should return a value [-Wreturn-type]
    return __builtin_bit_cast(To, from);
    ^

https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake-sanitized/3475/console


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142305/new/

https://reviews.llvm.org/D142305



More information about the llvm-commits mailing list