[clang-tools-extra] [clang] [clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (PR #70559)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 16:20:40 PST 2023


5chmidti wrote:

> how about adding a function call like `f<int>()`? will this can prevent clang to emit empty function body?

Yep, thanks. I went this route, but I had to define a conversion operator to compile and keep the `<<` a `BinaryOperator`. The CI now passes

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


More information about the cfe-commits mailing list