aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle-exprs.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-05 05:14:41 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-05 05:14:41 +0000
commitbc3e64f37fe2c68ab4bfcedf6f428e0198f2e349 (patch)
tree76c5d1c4ad904126364bdd3b91f46f86dda34a3f /test/CodeGenCXX/mangle-exprs.cpp
parent6a576ab708d3aa7d40e5d867ab1de5d3cb507553 (diff)
Allow block returns in C++ with the form
return <expression> ; in blocks with a 'void' result type, so long as <expression> has type 'void'. This follows the rules for C++ functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-exprs.cpp')
0 files changed, 0 insertions, 0 deletions