Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaCoroutine.cpp | ||
---|---|---|
451 ↗ | (On Diff #113798) | Don't desugar the type; instead, use AdjRetType->isBooleanType() || AdjRetType->isVoidType() here. You can also delete the getUnqualifiedType() call above if you do this, and just use RetType here, since ->isBooleanType() on const bool returns true. |
lib/Sema/SemaCoroutine.cpp | ||
---|---|---|
451 ↗ | (On Diff #113798) | Cool! Much shorter and prettier. Thank you! |
test/SemaCXX/coroutines.cpp | ||
---|---|---|
169 ↗ | (On Diff #113800) | maybe change the comment to something more meaningful, or remove it. |
test/SemaCXX/coroutines.cpp | ||
---|---|---|
169 ↗ | (On Diff #113800) | Sure thing. I'll remove the comment. |