[all-commits] [llvm/llvm-project] f65f06: [NFC] [Coroutines] Add tests for looking up deallo...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Tue Sep 6 00:00:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f65f06d63f6a0e40c33a9d77eeb381f1b2a8a524
https://github.com/llvm/llvm-project/commit/f65f06d63f6a0e40c33a9d77eeb381f1b2a8a524
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
A clang/test/SemaCXX/coroutine-dealloc.cpp
A clang/test/SemaCXX/coroutine-no-valid-dealloc.cpp
Log Message:
-----------
[NFC] [Coroutines] Add tests for looking up deallocation
According to [dcl.fct.def.coroutine]p12, the program should be
ill-formed if the promise_type contains operator delete but none of them
are available. But this behavior was not tested before. This commit adds
the tests for it.
More information about the All-commits
mailing list