[all-commits] [llvm/llvm-project] 8927ac: [BOLT] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Apr 15 08:57:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8927ac865755d7e98411500a7a2da70e8a185cc2
      https://github.com/llvm/llvm-project/commit/8927ac865755d7e98411500a7a2da70e8a185cc2
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M bolt/lib/Profile/BoltAddressTranslation.cpp

  Log Message:
  -----------
  [BOLT] Fix a warning

This patch fixes:

  bolt/lib/Profile/BoltAddressTranslation.cpp:380:37: error: operator
  '<<' has lower precedence than '+'; '+' will be evaluated first
  [-Werror,-Wshift-op-parentheses]



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