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
dc3bcebd
authored
Oct 08, 2014
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_cpp: removed warnings from function implementation when building with clang
parent
75f78215
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
31 deletions
+31
-31
base_cpp/include/embb/base/internal/function1.h
+2
-2
base_cpp/include/embb/base/internal/function2.h
+4
-4
base_cpp/include/embb/base/internal/function3.h
+6
-6
base_cpp/include/embb/base/internal/function4.h
+8
-8
base_cpp/include/embb/base/internal/function5.h
+10
-10
base_cpp/src/functionN.lua
+1
-1
No files found.
base_cpp/include/embb/base/internal/function1.h
View file @
dc3bcebd
...
...
@@ -334,7 +334,7 @@ template <class C, typename R,
Function
<
R
,
T1
>
Bind
(
C
&
obj
,
R
(
C
::*
func
)(
T1
),
Placeholder
::
Arg_1
p1
)
{
Placeholder
::
Arg_1
)
{
return
Function
<
R
,
T1
>
(
obj
,
func
);
}
...
...
@@ -342,7 +342,7 @@ template <typename R,
typename
T1
>
Function
<
R
,
T1
>
Bind
(
R
(
*
func
)(
T1
),
Placeholder
::
Arg_1
p1
)
{
Placeholder
::
Arg_1
)
{
return
Function
<
R
,
T1
>
(
func
);
}
...
...
base_cpp/include/embb/base/internal/function2.h
View file @
dc3bcebd
...
...
@@ -422,8 +422,8 @@ template <class C, typename R,
Function
<
R
,
T1
,
T2
>
Bind
(
C
&
obj
,
R
(
C
::*
func
)(
T1
,
T2
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
)
{
return
Function
<
R
,
T1
,
T2
>
(
obj
,
func
);
}
...
...
@@ -431,8 +431,8 @@ template <typename R,
typename
T1
,
typename
T2
>
Function
<
R
,
T1
,
T2
>
Bind
(
R
(
*
func
)(
T1
,
T2
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
)
{
return
Function
<
R
,
T1
,
T2
>
(
func
);
}
...
...
base_cpp/include/embb/base/internal/function3.h
View file @
dc3bcebd
...
...
@@ -468,9 +468,9 @@ template <class C, typename R,
Function
<
R
,
T1
,
T2
,
T3
>
Bind
(
C
&
obj
,
R
(
C
::*
func
)(
T1
,
T2
,
T3
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
)
{
return
Function
<
R
,
T1
,
T2
,
T3
>
(
obj
,
func
);
}
...
...
@@ -478,9 +478,9 @@ template <typename R,
typename
T1
,
typename
T2
,
typename
T3
>
Function
<
R
,
T1
,
T2
,
T3
>
Bind
(
R
(
*
func
)(
T1
,
T2
,
T3
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
)
{
return
Function
<
R
,
T1
,
T2
,
T3
>
(
func
);
}
...
...
base_cpp/include/embb/base/internal/function4.h
View file @
dc3bcebd
...
...
@@ -517,10 +517,10 @@ template <class C, typename R,
Function
<
R
,
T1
,
T2
,
T3
,
T4
>
Bind
(
C
&
obj
,
R
(
C
::*
func
)(
T1
,
T2
,
T3
,
T4
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
,
Placeholder
::
Arg_4
p4
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
,
Placeholder
::
Arg_4
)
{
return
Function
<
R
,
T1
,
T2
,
T3
,
T4
>
(
obj
,
func
);
}
...
...
@@ -528,10 +528,10 @@ template <typename R,
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
>
Function
<
R
,
T1
,
T2
,
T3
,
T4
>
Bind
(
R
(
*
func
)(
T1
,
T2
,
T3
,
T4
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
,
Placeholder
::
Arg_4
p4
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
,
Placeholder
::
Arg_4
)
{
return
Function
<
R
,
T1
,
T2
,
T3
,
T4
>
(
func
);
}
...
...
base_cpp/include/embb/base/internal/function5.h
View file @
dc3bcebd
...
...
@@ -567,11 +567,11 @@ template <class C, typename R,
Function
<
R
,
T1
,
T2
,
T3
,
T4
,
T5
>
Bind
(
C
&
obj
,
R
(
C
::*
func
)(
T1
,
T2
,
T3
,
T4
,
T5
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
,
Placeholder
::
Arg_4
p4
,
Placeholder
::
Arg_5
p5
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
,
Placeholder
::
Arg_4
,
Placeholder
::
Arg_5
)
{
return
Function
<
R
,
T1
,
T2
,
T3
,
T4
,
T5
>
(
obj
,
func
);
}
...
...
@@ -579,11 +579,11 @@ template <typename R,
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
,
typename
T5
>
Function
<
R
,
T1
,
T2
,
T3
,
T4
,
T5
>
Bind
(
R
(
*
func
)(
T1
,
T2
,
T3
,
T4
,
T5
),
Placeholder
::
Arg_1
p1
,
Placeholder
::
Arg_2
p2
,
Placeholder
::
Arg_3
p3
,
Placeholder
::
Arg_4
p4
,
Placeholder
::
Arg_5
p5
)
{
Placeholder
::
Arg_1
,
Placeholder
::
Arg_2
,
Placeholder
::
Arg_3
,
Placeholder
::
Arg_4
,
Placeholder
::
Arg_5
)
{
return
Function
<
R
,
T1
,
T2
,
T3
,
T4
,
T5
>
(
func
);
}
...
...
base_cpp/src/functionN.lua
View file @
dc3bcebd
...
...
@@ -497,7 +497,7 @@ function make_functionN(arg_cnt)
local
bound_param_list_c
=
""
for
i
=
1
,
arg_cnt
,
1
do
bound_param_list_c
=
bound_param_list_c
..
",\n Placeholder::Arg_"
..
i
..
" p"
..
i
bound_param_list_c
=
bound_param_list_c
..
",\n Placeholder::Arg_"
..
i
end
file
:
write
(
CR_templ
..
"
\n
"
)
...
...
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