WIP, not ready for review.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Paths
| Differential D100000
[clang] WIP: Implement simpler alternative to two-phase lookup for NRVO Needs ReviewPublic Authored by mizvekov on Apr 6 2021, 5:27 PM. This revision needs review, but there are no reviewers specified.
Details
Summary WIP, not ready for review. Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Diff Detail
Unit TestsFailed Event Timelinemizvekov added a parent revision: D99005: [clang] Implement P2266 Simpler implicit move.Apr 6 2021, 5:29 PM mizvekov retitled this revision from [clang] WIP: Implement simpler alternative to two-phase lookup for NRVO
WIP, not ready for review. to [clang] WIP: Implement simpler alternative to two-phase lookup for NRVO. mizvekov edited parent revisions, added: D104500: [clang] Apply P1825 as Defect Report from C++11 up to C++20., D100733: [clang] NFC: change uses of `Expr->getValueKind` into `is?Value`, D100713: [clang] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr; removed: D99005: [clang] Implement P2266 Simpler implicit move.Jun 29 2021, 4:09 PM Comment Actions Patch now in workable state. Is Missing a few cleanups in the implementation. Updates coroutine implicit move tests, as now they can finally match C++20 behavior and don't need P2266 retroactively applied. There are some test result changes.
Revision Contents
Diff 355393 clang/include/clang/AST/Expr.h
clang/include/clang/Basic/Specifiers.h
clang/include/clang/Sema/Overload.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ExprClassification.cpp
clang/lib/AST/JSONNodeDumper.cpp
clang/lib/AST/TextNodeDumper.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGObjC.cpp
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaCoroutine.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaInit.cpp
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaStmt.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/CXX/class/class.init/class.copy.elision/p3.cpp
clang/test/SemaCXX/conversion-function.cpp
clang/test/SemaCXX/coroutine-rvo.cpp
clang/test/SemaObjCXX/block-capture.mm
|
clang-tidy: warning: unused variable 'disallowNRVO' [clang-diagnostic-unused-variable]
not useful