[clang] [clang-format] Restore InsertBraces around interior preprocessor directives (PR #239459)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 14:05:46 PST 2026
================
@@ -3050,6 +3050,92 @@ bool UnwrappedLineParser::isFollowedByConditionalElse() const {
return false;
}
+// Returns whether the body ends at RBraceTok in every preprocessor branch.
----------------
HazardyKnusperkeks wrote:
I think we need a bit more here, and some more explanation in the code.
https://github.com/llvm/llvm-project/pull/239459
More information about the cfe-commits
mailing list