Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
preprocessor
Commits
97868cbd
Commit
97868cbd
authored
Jul 18, 2018
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Remove unneeded enum keyword
parent
04b6690d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SymbolTable.cc
+1
-1
1 addition, 1 deletion
src/SymbolTable.cc
src/SymbolTable.hh
+1
-1
1 addition, 1 deletion
src/SymbolTable.hh
with
2 additions
and
2 deletions
src/SymbolTable.cc
+
1
−
1
View file @
97868cbd
...
@@ -192,7 +192,7 @@ SymbolTable::getID(SymbolType type, int tsid) const noexcept(false)
...
@@ -192,7 +192,7 @@ SymbolTable::getID(SymbolType type, int tsid) const noexcept(false)
}
}
map
<
string
,
map
<
int
,
string
>>
map
<
string
,
map
<
int
,
string
>>
SymbolTable
::
getPartitionsForType
(
enum
SymbolType
st
)
const
noexcept
(
false
)
SymbolTable
::
getPartitionsForType
(
SymbolType
st
)
const
noexcept
(
false
)
{
{
map
<
string
,
map
<
int
,
string
>>
partitions
;
map
<
string
,
map
<
int
,
string
>>
partitions
;
for
(
const
auto
&
it
:
partition_value_map
)
for
(
const
auto
&
it
:
partition_value_map
)
...
...
This diff is collapsed.
Click to expand it.
src/SymbolTable.hh
+
1
−
1
View file @
97868cbd
...
@@ -320,7 +320,7 @@ public:
...
@@ -320,7 +320,7 @@ public:
//! Returns true if the partition name is the first encountered for the type of variable represented by id
//! Returns true if the partition name is the first encountered for the type of variable represented by id
bool
isFirstOfPartitionForType
(
int
id
)
const
noexcept
(
false
);
bool
isFirstOfPartitionForType
(
int
id
)
const
noexcept
(
false
);
//! Returns a list of partitions and symbols that belong to that partition
//! Returns a list of partitions and symbols that belong to that partition
map
<
string
,
map
<
int
,
string
>>
getPartitionsForType
(
enum
SymbolType
st
)
const
noexcept
(
false
);
map
<
string
,
map
<
int
,
string
>>
getPartitionsForType
(
SymbolType
st
)
const
noexcept
(
false
);
//! Get type (by ID)
//! Get type (by ID)
inline
SymbolType
getType
(
int
id
)
const
noexcept
(
false
);
inline
SymbolType
getType
(
int
id
)
const
noexcept
(
false
);
//! Get type (by name)
//! Get type (by name)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment