Issue 138890
Summary -Wconsumed is ignored on destructors
Labels new issue
Assignees
Reporter apache-hb
    In [this example](https://godbolt.org/z/o54sjPjGs) 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 of `IplTag`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to