-Wconsumed is ignored on destructors #138890
Labels
c++
clang:analysis
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
In this example the destructor is marked
[[clang::callable_when(consumed)]]
, and the constructor is marked with[[clang::return_typestate(unconsumed)]]
. Despite this there is no warning issued when the destructor is reached on an unconsumed instance ofIplTag
The text was updated successfully, but these errors were encountered: