[all-commits] [llvm/llvm-project] d5d1cf: [NFC][Clang] Clean up VisitUnaryPlus by removing u...

smanna12 via All-commits all-commits at lists.llvm.org
Wed Jul 31 16:26:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5d1cf05499ba9a0adc192c723f622fc13ef9c0b
      https://github.com/llvm/llvm-project/commit/d5d1cf05499ba9a0adc192c723f622fc13ef9c0b
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp

  Log Message:
  -----------
  [NFC][Clang] Clean up VisitUnaryPlus by removing unused FP feature check (#101412)

This commit removes an unnecessary call to `E->hasStoredFPFeatures()`
within the `VisitUnaryPlus` function. The method's return value was not
being used, leading to a redundant operation. The removal of this line
streamlines the function and eliminates an unneeded check for stored
floating-point features.



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