Skip to content

Commit

Permalink
Merge pull request #228 from audetto/clang-format-2
Browse files Browse the repository at this point in the history
Clang format 2
  • Loading branch information
audetto authored Jan 20, 2025
2 parents ad7d6e6 + 50d82ee commit 3554f99
Show file tree
Hide file tree
Showing 186 changed files with 10,315 additions and 10,325 deletions.
8 changes: 4 additions & 4 deletions resource/CMakeResources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function(add_resources out_var id)
"\n"
"namespace ${id}\n"
"{\n"
" extern const std::map<uint32_t, std::pair<const unsigned char *, unsigned int>> data\;\n"
" extern const std::map<uint32_t, std::pair<const unsigned char *, unsigned int>> data\;\n"
"}\n"
)

Expand All @@ -20,7 +20,7 @@ function(add_resources out_var id)
"namespace ${id}\n"
"{\n"
"\n"
" const std::map<uint32_t, std::pair<const unsigned char *, unsigned int>> data = {\n"
" const std::map<uint32_t, std::pair<const unsigned char *, unsigned int>> data = {\n"
)

set(options ${ARGN})
Expand All @@ -46,13 +46,13 @@ function(add_resources out_var id)
"extern int ${symbol}_len\;\n"
"\n")
string(APPEND content_cpp_public
" {${resource_id}, {${symbol}, ${symbol}_len}},\n")
" {${resource_id}, {${symbol}, ${symbol}_len}},\n")

list(APPEND result ${out_f_cpp})
endwhile()

string(APPEND content_cpp_public
" }\;\n"
" }\;\n"
"\n"
"}\n"
)
Expand Down
1 change: 1 addition & 0 deletions source/frontends/.clang-format
Loading

0 comments on commit 3554f99

Please sign in to comment.