Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
ddaa22b3
"...include/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "e76bd7293eb27828cab07c35395d898d7cec8eeb"
Commit
ddaa22b3
authored
May 12, 2022
by
umangyadav
Browse files
cppcheck fix
parent
d7033279
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/pass_manager.cpp
src/pass_manager.cpp
+2
-0
No files found.
src/pass_manager.cpp
View file @
ddaa22b3
...
...
@@ -22,6 +22,7 @@ void validate_pass(module& mod, const pass& p, tracer trace)
{
(
void
)
mod
;
(
void
)
p
;
(
void
)
trace
;
#ifndef NDEBUG
trace
(
"Validate..."
);
auto
invalid
=
mod
.
validate
();
...
...
@@ -126,6 +127,7 @@ void run_passes(program& prog, const std::vector<pass>& passes, tracer trace)
// Set tracer for module passes, if tracer is set to output to file stream then set name
// of the dump directory. For file dumps, tracer object internally sets the counter for
// the individual passes' file dumps.
// cppcheck-suppress stlFindInsert
if
(
module_tracer_map
.
find
(
mod
->
name
())
==
module_tracer_map
.
end
())
{
module_tracer_map
[
mod
->
name
()]
=
...
...
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