require trailing ; when using BENCHMARK_DRAW_LINE macro
Summary: Macro BENCHMARK_DRAW_LINE can be used as the following: ```lang=bash BENCHMARK_DRAW_LINE() BENCHMARK_DRAW_LINE(); ``` This inconsistency was detected by `-Wextra-semi` in the latest clang. This diff removes the trailing `;` inside `BENCHMARK_DRAW_LINE` and updates all of the references. ```lang=bash fbgr -sl 'BENCHMARK_DRAW_LINE\(\)' | xargs perl -pi -e 's,(?<!#define )BENCHMARK_DRAW_LINE\(\)(?!;),BENCHMARK_DRAW_LINE\(\);,' ``` Reviewed By: yfeldblum Differential Revision: D7382525 fbshipit-source-id: 76f1da01bb4dde1b0fa4ebf98748d001d8e04ab0
Showing
This diff is collapsed.
Please register or sign in to comment