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
97d12d05
Commit
97d12d05
authored
Aug 08, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 733451 - volatile declaration on member functions is not handled as xml attribute
parent
ed8ce3cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
compound.xsd
src/compound.xsd
+6
-6
xmlgen.cpp
src/xmlgen.cpp
+5
-1
No files found.
src/compound.xsd
View file @
97d12d05
...
...
@@ -145,12 +145,12 @@
<xsd:attribute
name=
"id"
type=
"xsd:string"
/>
<xsd:attribute
name=
"prot"
type=
"DoxProtectionKind"
/>
<xsd:attribute
name=
"static"
type=
"DoxBool"
/>
<xsd:attribute
name=
"const"
type=
"DoxBool"
/>
<xsd:attribute
name=
"explicit"
type=
"DoxBool"
/>
<xsd:attribute
name=
"inline"
type=
"DoxBool"
/>
<xsd:attribute
name=
"virt"
type=
"DoxVirtualKind"
/>
<xsd:attribute
name=
"volatile"
type=
"DoxBool"
/>
<xsd:attribute
name=
"mutable"
type=
"DoxBool"
/>
<xsd:attribute
name=
"const"
type=
"DoxBool"
use=
"optional"
/>
<xsd:attribute
name=
"explicit"
type=
"DoxBool"
use=
"optional"
/>
<xsd:attribute
name=
"inline"
type=
"DoxBool"
use=
"optional"
/>
<xsd:attribute
name=
"virt"
type=
"DoxVirtualKind"
use=
"optional"
/>
<xsd:attribute
name=
"volatile"
type=
"DoxBool"
use=
"optional"
/>
<xsd:attribute
name=
"mutable"
type=
"DoxBool"
use=
"optional"
/>
<!-- Qt property -->
<xsd:attribute
name=
"readable"
type=
"DoxBool"
use=
"optional"
/>
<xsd:attribute
name=
"writable"
type=
"DoxBool"
use=
"optional"
/>
...
...
src/xmlgen.cpp
View file @
97d12d05
...
...
@@ -646,6 +646,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t
<<
" required=
\"
yes
\"
"
;
}
if
(
al
&&
al
->
volatileSpecifier
)
{
t
<<
" volatile=
\"
yes
\"
"
;
}
t
<<
" virt=
\"
"
;
switch
(
md
->
virtualness
())
{
...
...
@@ -671,7 +676,6 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
{
t
<<
" initonly=
\"
yes
\"
"
;
}
if
(
md
->
isAttribute
())
{
t
<<
" attribute=
\"
yes
\"
"
;
...
...
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