Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8974b053
authored
Jul 08, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed cpplint warnings, added option to allow checking of *.c files again
parent
656ccf58
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
algorithms_cpp/include/embb/algorithms/internal/quick_sort-inl.h
+1
-1
base_cpp/include/embb/base/internal/mutex-inl.h
+1
-1
base_cpp/test/log_test.cc
+4
-5
mtapi_plugins_c/mtapi_opencl_c/src/embb_mtapi_opencl_runtimelinker.c
+1
-0
scripts/run_cpplint.sh
+1
-1
No files found.
algorithms_cpp/include/embb/algorithms/internal/quick_sort-inl.h
View file @
8974b053
...
...
@@ -29,7 +29,7 @@
#include <cassert>
#include <iterator>
#include <
algorithm
>
#include <
utility
>
#include <functional>
#include <embb/base/exceptions.h>
...
...
base_cpp/include/embb/base/internal/mutex-inl.h
View file @
8974b053
...
...
@@ -28,7 +28,7 @@
#define EMBB_BASE_INTERNAL_MUTEX_INL_H_
#include <cassert>
#include <
algorithm
>
#include <
utility
>
namespace
embb
{
namespace
base
{
...
...
base_cpp/test/log_test.cc
View file @
8974b053
...
...
@@ -38,18 +38,17 @@ LogTest::LogTest() {
CreateUnit
(
"Test all"
).
Add
(
&
LogTest
::
Test
,
this
);
}
static
std
::
string
logged_message
;
static
void
test_log_function
(
void
*
context
,
char
const
*
msg
)
{
EMBB_UNUSED
(
context
);
logged_message
=
msg
;
std
::
string
*
logged_message
=
reinterpret_cast
<
std
::
string
*>
(
context
);
*
logged_message
=
msg
;
}
void
LogTest
::
Test
()
{
using
embb
::
base
::
Log
;
char
const
*
test_msg
=
"hello"
;
std
::
string
logged_message
;
Log
::
SetLogFunction
(
0
,
test_log_function
);
Log
::
SetLogFunction
(
&
logged_message
,
test_log_function
);
Log
::
SetLogLevel
(
EMBB_LOG_LEVEL_TRACE
);
logged_message
=
"none"
;
...
...
mtapi_plugins_c/mtapi_opencl_c/src/embb_mtapi_opencl_runtimelinker.c
View file @
8974b053
...
...
@@ -26,6 +26,7 @@
#include <CL/opencl.h>
#include <embb/base/c/internal/config.h>
#include <embb_mtapi_opencl_runtimelinker.h>
//////////////////////////////////////////////////////////////////////////
// function pointer wrappers to hide runtime linking
...
...
scripts/run_cpplint.sh
View file @
8974b053
...
...
@@ -120,7 +120,7 @@ do
current_rules+
=
",-runtime/threadsafe_fn"
# These tests are allowed to use the thread unsafe rand()
fi
done
python
${
c
}
--filter
=
$current_rules
--root
=
"
$project
/include"
--output
=
vs7
$file
python
${
c
}
--
extensions
=
c,cc,h
--
filter
=
$current_rules
--root
=
"
$project
/include"
--output
=
vs7
$file
if
[[
!
$?
-eq
0
]]
;
then
retval
=
$((
retval+1
))
fi
...
...
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