Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wasm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
wasm-watermarker
Commits
a5c2ac0b
Commit
a5c2ac0b
authored
Mar 08, 2019
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the setting file of clang-format.
parent
625f426a
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
208 additions
and
211 deletions
+208
-211
.clang-format
.clang-format
+3
-0
.editorconfig
.editorconfig
+1
-3
.gitignore
.gitignore
+1
-0
CMakeLists.txt
CMakeLists.txt
+1
-1
LICENSE
LICENSE
+191
-191
CMakeLists.txt
src/CMakeLists.txt
+2
-2
kyut.cpp
src/kyut.cpp
+9
-14
No files found.
.clang-format
0 → 100644
View file @
a5c2ac0b
BasedOnStyle: LLVM
IndentWidth: 4
NamespaceIndentation: All
.editorconfig
View file @
a5c2ac0b
root = true
[*]
indent_style =
tab
indent_style =
space
indent_size = 4
end_of_line = lf
charset = utf-8
...
...
@@ -9,6 +9,4 @@ trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
.gitignore
View file @
a5c2ac0b
/build/
/.vscode/
CMakeLists.txt
View file @
a5c2ac0b
...
...
@@ -9,7 +9,7 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g3 -Og -pg")
set
(
CMAKE_CXX_FLAGS_MINSIZEREL
"-Os -DNDEBUG -march=native"
)
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE Release
)
set
(
CMAKE_BUILD_TYPE Release
)
endif
(
NOT CMAKE_BUILD_TYPE
)
include
(
ExternalProject
)
...
...
LICENSE
View file @
a5c2ac0b
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
View file @
a5c2ac0b
add_executable
(
kyut
kyut.cpp
kyut.cpp
)
target_link_libraries
(
kyut
binaryen_wasm
binaryen_wasm
)
src/kyut.cpp
View file @
a5c2ac0b
#include <iostream>
int
main
(
int
argc
,
char
*
argv
[])
{
try
{
for
(
int
i
=
0
;
i
<
argc
;
i
++
)
{
std
::
cout
<<
argv
[
i
]
<<
std
::
endl
;
}
}
catch
(
const
std
::
exception
&
e
)
{
std
::
cerr
<<
e
.
what
()
<<
'\n'
;
int
main
(
int
argc
,
char
*
argv
[])
{
try
{
for
(
int
i
=
0
;
i
<
argc
;
i
++
)
{
std
::
cout
<<
argv
[
i
]
<<
std
::
endl
;
}
}
catch
(
const
std
::
exception
&
e
)
{
std
::
cerr
<<
e
.
what
()
<<
'\n'
;
return
1
;
}
return
1
;
}
}
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