You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LLVM projects have a de-facto coding style guideline that single line if statements not have braces. F18 does not currently follow this de-facto style.
For example, in include/flang/common/format.h: if (suppressMessageCascade_) { return; }
This style is not officially part of the LLVM style guide and we suspect that there is a reasonable groundswell of opinion in the LLVM community that it is a bad style point and ought not to be the de-facto standard. We could open this debate on the llvm-dev list and ask the community to reconsider.
Outcomes:
We start an RFC on llvm-dev to have the style guide clarified in this regard.
The LLVM coding standard is updated with a final decision on this
IF the final decision is to make the no braces on single-line if statements style official, change F18 codebase to match.
The text was updated successfully, but these errors were encountered:
LLVM projects have a de-facto coding style guideline that single line if statements not have braces. F18 does not currently follow this de-facto style.
For example, in include/flang/common/format.h:
if (suppressMessageCascade_) { return; }
This style is not officially part of the LLVM style guide and we suspect that there is a reasonable groundswell of opinion in the LLVM community that it is a bad style point and ought not to be the de-facto standard. We could open this debate on the llvm-dev list and ask the community to reconsider.
Outcomes:
The text was updated successfully, but these errors were encountered: