[llvm] [NFC] Fix dangling-else warning (PR #112817)

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 09:39:03 PDT 2024


jsji wrote:

> But where is the else in this case? I assume it is inside the gtest macros being invoked in the if statement bodies - might be better to add fixes there?

I don't think macros inside gest will be become `else` of the if statement. 

https://github.com/llvm/llvm-project/pull/112817


More information about the llvm-commits mailing list