[llvm] r194486 - Revert "Remove unused variable."
rafael.espindola at gmail.com
Tue Nov 12 09:35:45 PST 2013
>> I was thinking of something like "don't warn if the variable is
>> defined inside a macro".
> Ah, right, I see - yes, this is a common problem with -Wunused (expressions,
> functions, variables, and even dead-code) warnings. The suppressions in
> Clang for cases like these have been added somewhat ad-hoc-ly and are
> inconsistent over the different cases. It might be worth tidying them all up
> and taking a general approach.
Turns out this is a more basic clang bug and not macro related:
More information about the llvm-commits