Skip to content

Conversation

@kazutakahirata
Copy link
Contributor

Without this patch, the five-paragraph section is unclear about
exactly when to use and not to use braces. Specifically, the first
paragraph suggests omitting braces, and then subsequent paragraphs
carve out exceptions. At the end, it's unclear what situations remain
for omitting braces.

This patch overhauls the text for readability. Specifically, it first
describes when to omit braces and then lists cases where we should
retain braces.

Without this patch, the five-paragraph section is unclear about
exactly when to use and not to use braces.  Specifically, the first
paragraph suggests omitting braces, and then subsequent paragraphs
carve out exceptions.  At the end, it's unclear what situations remain
for omitting braces.

This patch overhauls the text for readability.  Specifically, it first
describes when to omit braces and then lists cases where we should
retain braces.
@kazutakahirata kazutakahirata merged commit 57a8599 into llvm:main Oct 22, 2025
12 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20251021_proofread_braces branch October 22, 2025 15:58
dvbuka pushed a commit to dvbuka/llvm-project that referenced this pull request Oct 27, 2025
)

Without this patch, the five-paragraph section is unclear about
exactly when to use and not to use braces.  Specifically, the first
paragraph suggests omitting braces, and then subsequent paragraphs
carve out exceptions.  At the end, it's unclear what situations remain
for omitting braces.

This patch overhauls the text for readability.  Specifically, it first
describes when to omit braces and then lists cases where we should
retain braces.
Lukacma pushed a commit to Lukacma/llvm-project that referenced this pull request Oct 29, 2025
)

Without this patch, the five-paragraph section is unclear about
exactly when to use and not to use braces.  Specifically, the first
paragraph suggests omitting braces, and then subsequent paragraphs
carve out exceptions.  At the end, it's unclear what situations remain
for omitting braces.

This patch overhauls the text for readability.  Specifically, it first
describes when to omit braces and then lists cases where we should
retain braces.
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
)

Without this patch, the five-paragraph section is unclear about
exactly when to use and not to use braces.  Specifically, the first
paragraph suggests omitting braces, and then subsequent paragraphs
carve out exceptions.  At the end, it's unclear what situations remain
for omitting braces.

This patch overhauls the text for readability.  Specifically, it first
describes when to omit braces and then lists cases where we should
retain braces.
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.

2 participants