Skip to content

Conversation

@llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 2, 2023

Don't remove the outermost parentheses surrounding a return statement
expression when inside a function/lambda that has the decltype(auto)
return type.

Fixed #67892.

(cherry picked from commit 75441a684273268ce91036aa2c770e669d39f501)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clang-format RemoveParentheses: ReturnStatement on decltype(auto) return type

4 participants