[all-commits] [llvm/llvm-project] 199dfb: Silence a false positive about an unevaluated expr...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu May 5 09:12:48 PDT 2022
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-05-05 (Thu, 05 May 2022)
Silence a false positive about an unevaluated expr w/side effects
If the operand to `sizeof` is an expression of VLA type, the operand is
still evaluated, so we should not issue a diagnostic about ignoring the
side effects in this case, as they're not actually ignored.
More information about the All-commits