| Files | Last commit | Last update |
|---|---|---|
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago |