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
367095b1
Commit
367095b1
authored
Jan 09, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #87 from groleo/sqlite-postpone-invalid-refs
sqlite3: tweaks for performance
parents
f57d018b
f76ec80d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sqlite3gen.cpp
src/sqlite3gen.cpp
+2
-3
No files found.
src/sqlite3gen.cpp
View file @
367095b1
...
...
@@ -310,7 +310,8 @@ static void insertMemberReference(sqlite3 *db, MemberDef *src, MemberDef *dst, c
{
sscanf
(
floc
,
"%[^:]:%d:%d"
,
file
,
&
line
,
&
column
);
}
insertMemberReference
(
db
,
src
->
anchor
().
data
(),
dst
->
anchor
().
data
(),
file
,
line
,
column
);
#warning Disabled until the xref key can be stored as file:line:column
//insertMemberReference(db,src->anchor().data(),dst->anchor().data(),file,line,column);
}
}
...
...
@@ -476,7 +477,6 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
// + template arguments
// (templateArguments(), definitionTemplateParameterLists())
// - call graph
msg
(
"=====%s
\n
"
,
md
->
name
().
data
());
// enum values are written as part of the enum
if
(
md
->
memberType
()
==
MemberType_EnumValue
)
return
;
...
...
@@ -764,7 +764,6 @@ static void generateSqlite3Section(sqlite3*db,
int
count
=
0
;
for
(
mli
.
toFirst
();(
md
=
mli
.
current
());
++
mli
)
{
msg
(
"I:%s
\n
"
,
md
->
name
().
data
());
// namespace members are also inserted in the file scope, but
// to prevent this duplication in the XML output, we filter those here.
if
(
d
->
definitionType
()
!=
Definition
::
TypeFile
||
md
->
getNamespaceDef
()
==
0
)
...
...
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