mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +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
@@ -53,8 +53,7 @@
|
||||
#define wpi_setGlobalWPIErrorWithContext(error, context) \
|
||||
ErrorBase::SetGlobalWPIError((wpi_error_s_##error), (context), __FILE__, \
|
||||
__FUNCTION__, __LINE__)
|
||||
#define wpi_setGlobalWPIError(error) \
|
||||
wpi_setGlobalWPIErrorWithContext(error, "")
|
||||
#define wpi_setGlobalWPIError(error) wpi_setGlobalWPIErrorWithContext(error, "")
|
||||
|
||||
/**
|
||||
* Base class for most objects.
|
||||
|
||||
Reference in New Issue
Block a user