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
2d27b694
Commit
2d27b694
authored
May 12, 2022
by
umangyadav
Browse files
fix cppcheck
parent
ddaa22b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pass_manager.cpp
src/pass_manager.cpp
+1
-1
No files found.
src/pass_manager.cpp
View file @
2d27b694
...
@@ -127,9 +127,9 @@ void run_passes(program& prog, const std::vector<pass>& passes, tracer trace)
...
@@ -127,9 +127,9 @@ 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
// 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
// of the dump directory. For file dumps, tracer object internally sets the counter for
// the individual passes' file dumps.
// the individual passes' file dumps.
// cppcheck-suppress stlFindInsert
if
(
module_tracer_map
.
find
(
mod
->
name
())
==
module_tracer_map
.
end
())
if
(
module_tracer_map
.
find
(
mod
->
name
())
==
module_tracer_map
.
end
())
{
{
// cppcheck-suppress stlFindInsert
module_tracer_map
[
mod
->
name
()]
=
module_tracer_map
[
mod
->
name
()]
=
trace
.
fs_enabled
()
?
tracer
{
trace
.
dump_dir
+
"/"
+
mod
->
name
()}
:
trace
;
trace
.
fs_enabled
()
?
tracer
{
trace
.
dump_dir
+
"/"
+
mod
->
name
()}
:
trace
;
}
}
...
...
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