[PATCH] D99696: [clang] NRVO: Improvements and handling of more cases.

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 14:31:31 PDT 2021


mizvekov updated this revision to Diff 337903.
mizvekov added a comment.

- Added doc to disallowNRVO
- Also detect implicit return type for blocks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99696/new/

https://reviews.llvm.org/D99696

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/Sema.cpp
  clang/lib/Sema/SemaCoroutine.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaStmt.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/CodeGen/nrvo-tracking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99696.337903.patch
Type: text/x-patch
Size: 30049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210415/425c3307/attachment-0001.bin>


More information about the cfe-commits mailing list