Skip to content

Commit 106a15a

Browse files
authored
Merge pull request #70 from ggtakec/update/cppcheck
Changed the cppcheck std version options, etc
2 parents 3f75cfe + b073f2f commit 106a15a

File tree

6 files changed

+33
-27
lines changed

6 files changed

+33
-27
lines changed

.github/workflows/nodejs_addon_helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ PRNSUCCESS "Start to check options and environments"
13701370
# Default command parameters for each phase
13711371
#
13721372
CPPCHECK_TARGET="."
1373-
CPPCHECK_BASE_OPT="--quiet --error-exitcode=1 --inline-suppr -j 8 --std=c++14 --xml --enable=warning,style,information,missingInclude"
1373+
CPPCHECK_BASE_OPT="--quiet --error-exitcode=1 --inline-suppr -j 8 --std=c++17 --xml --enable=warning,style,information,missingInclude"
13741374
CPPCHECK_ENABLE_VALUES="warning style information missingInclude"
13751375
CPPCHECK_IGNORE_VALUES="unmatchedSuppression missingIncludeSystem normalCheckLevelMaxBranches"
13761376
CPPCHECK_BUILD_DIR="/tmp/cppcheck"

.github/workflows/nodejstypevars.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ fi
433433
# Each value has a default value for NodeJS processing.
434434
#
435435
# CPPCHECK_TARGET "."
436-
# CPPCHECK_BASE_OPT "--quiet --error-exitcode=1 --inline-suppr -j 4 --std=c++03 --xml"
436+
# CPPCHECK_BASE_OPT "--quiet --error-exitcode=1 --inline-suppr -j 4 --std=c++17 --xml"
437437
# CPPCHECK_ENABLE_VALUES "warning style information missingInclude"
438438
# CPPCHECK_IGNORE_VALUES "unmatchedSuppression missingIncludeSystem normalCheckLevelMaxBranches"
439439
# CPPCHECK_BUILD_DIR "/tmp/cppcheck"

buildutils/make_node_prebuild_variables.sh

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/bin/sh
22
#
3-
# K2HASH
3+
# Utility helper tools for Github Actions by AntPickax
44
#
5-
# Copyright 2015 Yahoo Japan Corporation.
5+
# Copyright 2025 Yahoo Japan Corporation.
66
#
7-
# K2HASH is key-valuew store base libraries.
8-
# K2HASH is made for the purpose of the construction of
9-
# original KVS system and the offer of the library.
10-
# The characteristic is this KVS library which Key can
11-
# layer. And can support multi-processing and multi-thread,
12-
# and is provided safely as available KVS.
7+
# AntPickax provides utility tools for supporting nodejs addon.
138
#
9+
# These tools retrieve the necessary information from the
10+
# repository and appropriately set the setting values of
11+
# configure, Makefile, spec,etc file and so on.
12+
# These tools were recreated to reduce the number of fixes and
13+
# reduce the workload of developers when there is a change in
14+
# the project configuration.
15+
#
1416
# For the full copyright and license information, please view
1517
# the license file that was distributed with this source code.
1618
#

buildutils/node_prebuild.sh

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/bin/sh
22
#
3-
# K2HASH
3+
# Utility helper tools for Github Actions by AntPickax
44
#
5-
# Copyright 2015 Yahoo Japan Corporation.
5+
# Copyright 2025 Yahoo Japan Corporation.
66
#
7-
# K2HASH is key-valuew store base libraries.
8-
# K2HASH is made for the purpose of the construction of
9-
# original KVS system and the offer of the library.
10-
# The characteristic is this KVS library which Key can
11-
# layer. And can support multi-processing and multi-thread,
12-
# and is provided safely as available KVS.
7+
# AntPickax provides utility tools for supporting nodejs addon.
138
#
9+
# These tools retrieve the necessary information from the
10+
# repository and appropriately set the setting values of
11+
# configure, Makefile, spec,etc file and so on.
12+
# These tools were recreated to reduce the number of fixes and
13+
# reduce the workload of developers when there is a change in
14+
# the project configuration.
15+
#
1416
# For the full copyright and license information, please view
1517
# the license file that was distributed with this source code.
1618
#

buildutils/node_prebuild_install.sh

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/bin/sh
22
#
3-
# K2HASH
3+
# Utility helper tools for Github Actions by AntPickax
44
#
5-
# Copyright 2015 Yahoo Japan Corporation.
5+
# Copyright 2025 Yahoo Japan Corporation.
66
#
7-
# K2HASH is key-valuew store base libraries.
8-
# K2HASH is made for the purpose of the construction of
9-
# original KVS system and the offer of the library.
10-
# The characteristic is this KVS library which Key can
11-
# layer. And can support multi-processing and multi-thread,
12-
# and is provided safely as available KVS.
7+
# AntPickax provides utility tools for supporting nodejs addon.
138
#
9+
# These tools retrieve the necessary information from the
10+
# repository and appropriately set the setting values of
11+
# configure, Makefile, spec,etc file and so on.
12+
# These tools were recreated to reduce the number of fixes and
13+
# reduce the workload of developers when there is a change in
14+
# the project configuration.
15+
#
1416
# For the full copyright and license information, please view
1517
# the license file that was distributed with this source code.
1618
#

src/k2hash.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Napi::Value CreateObject(const Napi::CallbackInfo& info)
3838
Napi::Object InitAll(Napi::Env env, Napi::Object exports)
3939
{
4040
// Class registration (creating a constructor)
41-
K2hNode::Init(env, exports); // この中で constructor を作って Persistent に保存している想定
41+
K2hNode::Init(env, exports);
4242

4343
// Create a factory function that returns module.exports
4444
Napi::Function createFn = Napi::Function::New(env, CreateObject, "k2hash");

0 commit comments

Comments
 (0)