This patch makes the changes in the driver that converts the medium code model to large.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM with minor nit; thanks.
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
5144 | Add braces to the else block when adding braces to the if block: The coding guidelines have been updated for some time to discourage mixed bracing on if/else chains (see example // Use braces for the `if` block to keep it uniform with the else block. ). |
Seems you are contributing with an official mail, I think you can ask for commit access, if you want to continue contributing, bar is quite low in LLVM community.
May follow:
https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access
clang/test/Driver/mcmodel.c | ||
---|---|---|
15 | Is it intentional that -mcmodel=medium is changed to large for 32-bit systems? Is this AIX specific? In GCC, I believe in general only 64-bit architectures support -mcmodel= with some exceptions like nds32. |
Add braces to the else block when adding braces to the if block: The coding guidelines have been updated for some time to discourage mixed bracing on if/else chains (see example
).