[all-commits] [llvm/llvm-project] 75441a: [clang-format] Fix a bug in RemoveParentheses: Ret...
Owen Pan via All-commits
all-commits at lists.llvm.org
Mon Oct 2 00:16:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75441a684273268ce91036aa2c770e669d39f501
https://github.com/llvm/llvm-project/commit/75441a684273268ce91036aa2c770e669d39f501
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in RemoveParentheses: ReturnStatement (#67911)
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.
More information about the All-commits
mailing list