[all-commits] [llvm/llvm-project] b36cb1: Fix gcc braces warning. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 4 07:27:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b36cb12a494e13d252f611cc323156bb1cac0291
      https://github.com/llvm/llvm-project/commit/b36cb12a494e13d252f611cc323156bb1cac0291
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  Fix gcc braces warning. NFCI.

gcc warns that the EXPECT_TRUE macro isn't surrounded by if() {} - we already do this in other cases in the file.


  Commit: 93c2a9ae078daaf1c182472d63200db3783c67d5
      https://github.com/llvm/llvm-project/commit/93c2a9ae078daaf1c182472d63200db3783c67d5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

  Log Message:
  -----------
  Use isa<> instead of dyn_cast<> to avoid unused variable warning. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/2dec36e5326e...93c2a9ae078d


More information about the All-commits mailing list