[all-commits] [llvm/llvm-project] 242e04: Fix Wparentheses gcc warning. NFC.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Apr 28 05:59:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 242e04ab27600b54e276e4bf5f38d118b0537fd4
      https://github.com/llvm/llvm-project/commit/242e04ab27600b54e276e4bf5f38d118b0537fd4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp

  Log Message:
  -----------
  Fix Wparentheses gcc warning. NFC.

Wrap the 'anyof' hasAttribute checks so that we don't get precedence warnings with the assertion message.




More information about the All-commits mailing list