diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-10 04:31:10 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-10 04:31:10 +0000 |
| commit | 25d8c856681120581315edcdb48257c99af6b45c (patch) | |
| tree | 4f1f7608d0c59aa574e0d9ff5cba57d932f40957 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 8f1900376906c51aabf5fd18a39524e2318276ba (diff) | |
| download | clang-25d8c856681120581315edcdb48257c99af6b45c.tar.gz clang-25d8c856681120581315edcdb48257c99af6b45c.tar.bz2 clang-25d8c856681120581315edcdb48257c99af6b45c.tar.xz | |
C++1y auto return type: when a function contains no 'return' statements at all,
substitute 'void' into the return type rather than replacing it with 'void', so
that we maintain the 'auto' type sugar.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
