Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
541fef15
Commit
541fef15
authored
Mar 25, 2014
by
Jesse Beder
Browse files
Merge from core
parents
13130ec2
a499d2ed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
CMakeLists.txt
CMakeLists.txt
+5
-7
src/scanscalar.cpp
src/scanscalar.cpp
+4
-1
No files found.
CMakeLists.txt
View file @
541fef15
...
@@ -321,10 +321,8 @@ if(YAML_CPP_BUILD_TOOLS)
...
@@ -321,10 +321,8 @@ if(YAML_CPP_BUILD_TOOLS)
endif
()
endif
()
### Formatting
### Formatting
if
(
${
CMAKE_BUILD_TOOL
}
MATCHES make OR
${
CMAKE_BUILD_TOOL
}
MATCHES gmake
)
get_property
(
all_sources GLOBAL PROPERTY SRCS_LIST
)
get_property
(
all_sources GLOBAL PROPERTY SRCS_LIST
)
add_custom_target
(
format
add_custom_target
(
format
COMMAND clang-format --style=file -i
${
all_sources
}
COMMAND clang-format --style=file -i
${
all_sources
}
COMMENT
"Running clang-format"
COMMENT
"Running clang-format"
VERBATIM
)
VERBATIM
)
endif
()
\ No newline at end of file
src/scanscalar.cpp
View file @
541fef15
#include "scanscalar.h"
#include <algorithm>
#include "exp.h"
#include "exp.h"
#include "regeximpl.h"
#include "regeximpl.h"
#include "scanscalar.h"
#include "stream.h"
#include "stream.h"
#include "yaml-cpp/exceptions.h" // IWYU pragma: keep
#include "yaml-cpp/exceptions.h" // IWYU pragma: keep
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment