mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Add format script which invokes clang-format on the C++ source code (#41)
On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
committed by
Peter Johnson
parent
68690643d2
commit
e14e45da76
@@ -11,11 +11,11 @@
|
||||
|
||||
#ifdef WPI_ERRORS_DEFINE_STRINGS
|
||||
#define S(label, offset, message) \
|
||||
const char * wpi_error_s_##label = message; \
|
||||
const char* wpi_error_s_##label = message; \
|
||||
const int32_t wpi_error_value_##label = offset
|
||||
#else
|
||||
#define S(label, offset, message) \
|
||||
extern const char * wpi_error_s_##label; \
|
||||
extern const char* wpi_error_s_##label; \
|
||||
const int32_t wpi_error_value_##label = offset
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user