Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
e913d55b
Commit
e913d55b
authored
Aug 03, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 733938 - Explicit links using operator()() not generated.
parent
8eca4c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
util.cpp
src/util.cpp
+5
-4
No files found.
src/util.cpp
View file @
e913d55b
...
@@ -1838,7 +1838,7 @@ nextChar:
...
@@ -1838,7 +1838,7 @@ nextChar:
* Returns the position in the string where a function parameter list
* Returns the position in the string where a function parameter list
* begins, or -1 if one is not found.
* begins, or -1 if one is not found.
*/
*/
int
findParameterList
(
const
QString
&
name
)
int
findParameterList
(
const
Q
C
String
&
name
)
{
{
int
pos
=-
1
;
int
pos
=-
1
;
int
templateDepth
=
0
;
int
templateDepth
=
0
;
...
@@ -1875,7 +1875,8 @@ int findParameterList(const QString &name)
...
@@ -1875,7 +1875,8 @@ int findParameterList(const QString &name)
else
else
{
{
int
bp
=
bracePos
>
0
?
name
.
findRev
(
'('
,
bracePos
-
1
)
:
-
1
;
int
bp
=
bracePos
>
0
?
name
.
findRev
(
'('
,
bracePos
-
1
)
:
-
1
;
return
bp
==-
1
?
bracePos
:
bp
;
// bp test is to allow foo(int(&)[10]), but we need to make an exception for operator()
return
bp
==-
1
||
(
bp
>=
8
&&
name
.
mid
(
bp
-
8
,
10
)
==
"operator()"
)
?
bracePos
:
bp
;
}
}
}
}
}
while
(
pos
!=-
1
);
}
while
(
pos
!=-
1
);
...
@@ -5365,10 +5366,10 @@ void createSubDirs(QDir &d)
...
@@ -5365,10 +5366,10 @@ void createSubDirs(QDir &d)
int
l1
,
l2
;
int
l1
,
l2
;
for
(
l1
=
0
;
l1
<
16
;
l1
++
)
for
(
l1
=
0
;
l1
<
16
;
l1
++
)
{
{
d
.
mkdir
(
QString
().
sprintf
(
"d%x"
,
l1
));
d
.
mkdir
(
Q
C
String
().
sprintf
(
"d%x"
,
l1
));
for
(
l2
=
0
;
l2
<
256
;
l2
++
)
for
(
l2
=
0
;
l2
<
256
;
l2
++
)
{
{
d
.
mkdir
(
QString
().
sprintf
(
"d%x/d%02x"
,
l1
,
l2
));
d
.
mkdir
(
Q
C
String
().
sprintf
(
"d%x/d%02x"
,
l1
,
l2
));
}
}
}
}
}
}
...
...
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