Skip to content

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

@owenca

Description

@owenca

clang-format (versions 17.0.1 and main) should not remove the outermost parentheses of return statement expressions when the function return type is decltype(auto).

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions