[all-commits] [llvm/llvm-project] 51788a: [JITLink][NFC] Fix Wdangling-else warning in LinkG...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Mon Oct 18 10:07:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51788a5aff870a8e87ce34ffa6cecb46ce68f72e
https://github.com/llvm/llvm-project/commit/51788a5aff870a8e87ce34ffa6cecb46ce68f72e
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2021-10-18 (Mon, 18 Oct 2021)
Changed paths:
M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
Log Message:
-----------
[JITLink][NFC] Fix Wdangling-else warning in LinkGraphTests
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
hangling else.
More information about the All-commits
mailing list