Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
e837f99a
Commit
e837f99a
authored
Jul 10, 2015
by
Andrew Woloszyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the single usage of exceptions in all of glslang.
parent
e3933d68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
spirv-remap.cpp
StandAlone/spirv-remap.cpp
+8
-3
No files found.
StandAlone/spirv-remap.cpp
View file @
e837f99a
...
...
@@ -213,10 +213,15 @@ namespace {
verbosity
=
1
;
if
(
a
<
argc
)
{
try
{
verbosity
=
std
::
stoi
(
argv
[
a
]);
char
*
end_ptr
=
0
;
int
verb
=
::
strtol
(
argv
[
a
],
&
end_ptr
,
10
);
// If we have not read to the end of the string or
// the string contained no elements, then we do not want to
// store the value.
if
(
*
end_ptr
==
'\0'
&&
end_ptr
!=
argv
[
a
])
{
verbosity
=
verb
;
++
a
;
}
catch
(
const
std
::
invalid_argument
&
)
{
}
// ok to have no numeric value
}
}
}
else
if
(
arg
==
"--version"
||
arg
==
"-V"
)
{
...
...
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