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
56deb9cc
Commit
56deb9cc
authored
Jan 18, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:doxygen/doxygen
parents
31505eb3
76833018
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
14 deletions
+20
-14
sqlite3gen.cpp
src/sqlite3gen.cpp
+18
-12
util.cpp
src/util.cpp
+2
-2
No files found.
src/sqlite3gen.cpp
View file @
56deb9cc
...
@@ -708,9 +708,9 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -708,9 +708,9 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
if
(
id_bfile
==
-
1
)
if
(
id_bfile
==
-
1
)
{
{
sqlite3_clear_bindings
(
i_s_memberdef
);
sqlite3_clear_bindings
(
i_s_memberdef
);
return
;
}
}
else
{
bindIntParameter
(
i_s_memberdef
,
":id_ibfile"
,
id_bfile
);
bindIntParameter
(
i_s_memberdef
,
":id_ibfile"
,
id_bfile
);
bindIntParameter
(
i_s_memberdef
,
":bline"
,
md
->
getStartBodyLine
());
bindIntParameter
(
i_s_memberdef
,
":bline"
,
md
->
getStartBodyLine
());
...
@@ -719,12 +719,13 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -719,12 +719,13 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
}
}
}
}
}
}
}
if
(
-
1
==
step
(
db
,
i_s_memberdef
))
if
(
-
1
==
step
(
db
,
i_s_memberdef
))
{
{
sqlite3_clear_bindings
(
i_s_memberdef
);
sqlite3_clear_bindings
(
i_s_memberdef
);
}
}
/*int id_src =*/
sqlite3_last_insert_rowid
(
db
);
sqlite3_last_insert_rowid
(
db
);
// + source references
// + source references
// The cross-references in initializers only work when both the src and dst
// The cross-references in initializers only work when both the src and dst
...
@@ -825,8 +826,9 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
...
@@ -825,8 +826,9 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindIntParameter
(
i_s_compounddef
,
":line"
,
cd
->
getDefLine
());
bindIntParameter
(
i_s_compounddef
,
":line"
,
cd
->
getDefLine
());
bindIntParameter
(
i_s_compounddef
,
":column"
,
cd
->
getDefColumn
());
bindIntParameter
(
i_s_compounddef
,
":column"
,
cd
->
getDefColumn
());
if
(
-
1
==
step
(
db
,
i_s_compounddef
))
if
(
-
1
==
step
(
db
,
i_s_compounddef
))
{
return
;
sqlite3_clear_bindings
(
i_s_compounddef
);
}
// + list of direct super classes
// + list of direct super classes
if
(
cd
->
baseClasses
())
if
(
cd
->
baseClasses
())
...
@@ -848,10 +850,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
...
@@ -848,10 +850,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindTextParameter
(
i_s_basecompoundref
,
":base"
,
bcd
->
classDef
->
displayName
());
bindTextParameter
(
i_s_basecompoundref
,
":base"
,
bcd
->
classDef
->
displayName
());
}
}
bindTextParameter
(
i_s_basecompoundref
,
":derived"
,
cd
->
displayName
());
bindTextParameter
(
i_s_basecompoundref
,
":derived"
,
cd
->
displayName
());
if
(
-
1
==
step
(
db
,
i_s_basecompoundref
))
if
(
-
1
==
step
(
db
,
i_s_basecompoundref
))
{
sqlite3_clear_bindings
(
i_s_basecompoundref
);
continue
;
continue
;
}
}
}
}
}
// + list of direct sub classes
// + list of direct sub classes
if
(
cd
->
subClasses
())
if
(
cd
->
subClasses
())
...
@@ -865,10 +869,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
...
@@ -865,10 +869,12 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindTextParameter
(
i_s_derivedcompoundref
,
":refid"
,
bcd
->
classDef
->
getOutputFileBase
());
bindTextParameter
(
i_s_derivedcompoundref
,
":refid"
,
bcd
->
classDef
->
getOutputFileBase
());
bindIntParameter
(
i_s_derivedcompoundref
,
":prot"
,
bcd
->
prot
);
bindIntParameter
(
i_s_derivedcompoundref
,
":prot"
,
bcd
->
prot
);
bindIntParameter
(
i_s_derivedcompoundref
,
":virt"
,
bcd
->
virt
);
bindIntParameter
(
i_s_derivedcompoundref
,
":virt"
,
bcd
->
virt
);
if
(
-
1
==
step
(
db
,
i_s_derivedcompoundref
))
if
(
-
1
==
step
(
db
,
i_s_derivedcompoundref
))
{
sqlite3_reset
(
i_s_derivedcompoundref
);
continue
;
continue
;
}
}
}
}
}
// + include file
// + include file
IncludeInfo
*
ii
=
cd
->
includeInfo
();
IncludeInfo
*
ii
=
cd
->
includeInfo
();
...
@@ -888,7 +894,7 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
...
@@ -888,7 +894,7 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
bindIntParameter
(
i_s_includes
,
":id_src"
,
id_file
);
bindIntParameter
(
i_s_includes
,
":id_src"
,
id_file
);
bindTextParameter
(
i_s_includes
,
":dst"
,
nm
);
bindTextParameter
(
i_s_includes
,
":dst"
,
nm
);
if
(
-
1
==
step
(
db
,
i_s_includes
))
if
(
-
1
==
step
(
db
,
i_s_includes
))
return
;
sqlite3_clear_bindings
(
i_s_basecompoundref
)
;
}
}
}
}
}
}
...
...
src/util.cpp
View file @
56deb9cc
...
@@ -5765,7 +5765,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
...
@@ -5765,7 +5765,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
entityMap
.
insert
(
"delta"
,
"
\xCE\xB4
"
);
entityMap
.
insert
(
"delta"
,
"
\xCE\xB4
"
);
entityMap
.
insert
(
"epsilon"
,
"
\xCE\xB5
"
);
entityMap
.
insert
(
"epsilon"
,
"
\xCE\xB5
"
);
entityMap
.
insert
(
"zeta"
,
"
\xCE\xB6
"
);
entityMap
.
insert
(
"zeta"
,
"
\xCE\xB6
"
);
entityMap
.
insert
(
"eta"
,
"
\xCE\xB
8
"
);
entityMap
.
insert
(
"eta"
,
"
\xCE\xB
7
"
);
entityMap
.
insert
(
"theta"
,
"
\xCE\xB8
"
);
entityMap
.
insert
(
"theta"
,
"
\xCE\xB8
"
);
entityMap
.
insert
(
"iota"
,
"
\xCE\xB9
"
);
entityMap
.
insert
(
"iota"
,
"
\xCE\xB9
"
);
entityMap
.
insert
(
"kappa"
,
"
\xCE\xBA
"
);
entityMap
.
insert
(
"kappa"
,
"
\xCE\xBA
"
);
...
@@ -5786,7 +5786,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
...
@@ -5786,7 +5786,7 @@ QCString convertCharEntitiesToUTF8(const QCString &s)
entityMap
.
insert
(
"sect"
,
"
\xC2\xA7
"
);
entityMap
.
insert
(
"sect"
,
"
\xC2\xA7
"
);
entityMap
.
insert
(
"deg"
,
"
\xC2\xB0
"
);
entityMap
.
insert
(
"deg"
,
"
\xC2\xB0
"
);
entityMap
.
insert
(
"prime"
,
"
\xE2\x80\xB2
"
);
entityMap
.
insert
(
"prime"
,
"
\xE2\x80\xB2
"
);
entityMap
.
insert
(
"Prime"
,
"
\xE2\x80\xB
2
"
);
entityMap
.
insert
(
"Prime"
,
"
\xE2\x80\xB
3
"
);
entityMap
.
insert
(
"infin"
,
"
\xE2\x88\x9E
"
);
entityMap
.
insert
(
"infin"
,
"
\xE2\x88\x9E
"
);
entityMap
.
insert
(
"empty"
,
"
\xE2\x88\x85
"
);
entityMap
.
insert
(
"empty"
,
"
\xE2\x88\x85
"
);
entityMap
.
insert
(
"plusmn"
,
"
\xC2\xB1
"
);
entityMap
.
insert
(
"plusmn"
,
"
\xC2\xB1
"
);
...
...
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