[PATCH] D47586: Update NRVO logic to support early return (Attempt 2)

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 18 12:35:47 PDT 2018


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/CodeGenCXX/nrvo-noopt.cpp:1
+// RUN: %clang_cc1 -emit-llvm -O0 -o - %s | FileCheck %s
+
----------------
You don't need the `-O0` here; that's the default.


Repository:
  rC Clang

https://reviews.llvm.org/D47586





More information about the cfe-commits mailing list