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
7cfaadf9
"...targets/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "7604ecf5b9cd04f9df4219d6f1ef998951ed7449"
Commit
7cfaadf9
authored
Apr 16, 2019
by
Khalique
Browse files
remove variable from enclose_name
parent
934e1448
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/program.cpp
src/program.cpp
+1
-2
No files found.
src/program.cpp
View file @
7cfaadf9
...
...
@@ -531,8 +531,7 @@ void program::debug_print(const std::vector<instruction_ref>& inss) const
static
std
::
string
enclose_name
(
const
std
::
string
&
name
)
{
std
::
string
new_name
=
name
;
return
'"'
+
replace_string
(
new_name
,
"
\"
"
,
"
\\\"
"
)
+
'"'
;
return
'"'
+
replace_string
(
name
,
"
\"
"
,
"
\\\"
"
)
+
'"'
;
}
void
program
::
print_graph
(
std
::
ostream
&
os
)
const
...
...
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