localspook wrote:

The check currently doesn't work with templated containers: 
https://godbolt.org/z/9Ts9d9EcG
Supporting them would require a heuristic like what `bugprone-standalone-empty` 
uses:
https://github.com/llvm/llvm-project/blob/d593bcdc54981e84b5bf17a110d9f809bd883c41/clang-tools-extra/clang-tidy/bugprone/StandaloneEmptyCheck.cpp#L129-L137

https://github.com/llvm/llvm-project/pull/175121
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to