mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +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
@@ -6,12 +6,12 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Commands/PrintCommand.h"
|
||||
#include "stdio.h"
|
||||
#include <sstream>
|
||||
#include "stdio.h"
|
||||
|
||||
PrintCommand::PrintCommand(const std::string &message)
|
||||
: Command(((std::stringstream &)(std::stringstream("Print \"") << message
|
||||
<< "\""))
|
||||
PrintCommand::PrintCommand(const std::string& message)
|
||||
: Command(((std::stringstream&)(std::stringstream("Print \"") << message
|
||||
<< "\""))
|
||||
.str()
|
||||
.c_str()) {
|
||||
m_message = message;
|
||||
|
||||
Reference in New Issue
Block a user