[all-commits] [llvm/llvm-project] 397fdb: Enclose code in nondebug in #ifndef NDEBUG/#endif...

DeanSturtevant1 via All-commits all-commits at lists.llvm.org
Fri May 30 13:35:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 397fdb172a515f5cd75aa6bf9ef530ac6eb4dd25
      https://github.com/llvm/llvm-project/commit/397fdb172a515f5cd75aa6bf9ef530ac6eb4dd25
  Author: DeanSturtevant1 <dsturtevant at google.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
  Enclose code  in nondebug in #ifndef NDEBUG/#endif (#142189)

A previous change to InterpBuiltin.cpp fixed an unused variable warning
by using [[maybe unused]] and (void).
The code actually serves no useful purpose in non-debug builds, so let's
not include it there.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list