Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC][CodingStandard] Extend if-else brace example with else-if #112193

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

jurahul
Copy link
Contributor

@jurahul jurahul commented Oct 14, 2024

Extend example to document that single statement else if needs a brace as well if the associated if needs a brace.

Extend example to document that single statement `else if` needs a
brace as well if the associated `if` needs a brace.
@jurahul
Copy link
Contributor Author

jurahul commented Oct 14, 2024

Build failure is a pre-existing failure.

@jurahul jurahul marked this pull request as ready for review October 14, 2024 13:39
@jurahul jurahul merged commit 84b99b4 into llvm:main Oct 14, 2024
9 of 12 checks passed
@jurahul jurahul deleted the additional_brace_example branch October 14, 2024 14:20
DanielCChen pushed a commit to DanielCChen/llvm-project that referenced this pull request Oct 16, 2024
…#112193)

Extend example to document that single statement `else if` needs a brace
as well if the associated `if` needs a brace.
bricknerb pushed a commit to bricknerb/llvm-project that referenced this pull request Oct 17, 2024
…#112193)

Extend example to document that single statement `else if` needs a brace
as well if the associated `if` needs a brace.
EricWF pushed a commit to efcs/llvm-project that referenced this pull request Oct 22, 2024
…#112193)

Extend example to document that single statement `else if` needs a brace
as well if the associated `if` needs a brace.
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