[all-commits] [llvm/llvm-project] 2249ec: [IR][ShuffleVector] Fix Wdangling-else warning in ...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Sat Nov 6 14:07:34 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2249ecee8d9a6237f51485bd39f01ba031575987
https://github.com/llvm/llvm-project/commit/2249ecee8d9a6237f51485bd39f01ba031575987
Author: Luke Benes <lukebenes at hotmail.com>
Date: 2021-11-07 (Sun, 07 Nov 2021)
Changed paths:
M llvm/unittests/IR/InstructionsTest.cpp
Log Message:
-----------
[IR][ShuffleVector] Fix Wdangling-else warning in InstructionsTest
Fix a dangling else that gcc-11 warned about. The EXPECT_EQ macro
expands to an if-else, so the whole construction contains a hidden
dangling else.
Differential Revision: https://reviews.llvm.org/D113346
More information about the All-commits
mailing list