]> granicus.if.org Git - clang/commit
ASTUnit: Replace out parameter with return value, we have NRVO for this.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 3 Oct 2014 18:52:54 +0000 (18:52 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 3 Oct 2014 18:52:54 +0000 (18:52 +0000)
commit71dc046d3ca780cf946bb557fefc45e3f26c3b80
treece131ed586c9eeec5167294de65ec41475b3aba2
parent7a61f1e54fdbf69d0b4c33936b7704b410601f8f
ASTUnit: Replace out parameter with return value, we have NRVO for this.

And elide the copy when pushing the return value into a vector. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219001 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTUnit.cpp