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
44251539
Commit
44251539
authored
Jan 13, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non-functional: Fix round of compiler warnings.
parent
c142c889
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
revision.h
glslang/Include/revision.h
+1
-1
Scan.cpp
glslang/MachineIndependent/Scan.cpp
+1
-1
Pp.cpp
glslang/MachineIndependent/preprocessor/Pp.cpp
+1
-1
ShaderLang.h
glslang/Public/ShaderLang.h
+6
-6
No files found.
glslang/Include/revision.h
View file @
44251539
...
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.176
6
"
#define GLSLANG_REVISION "Overload400-PrecQual.176
9
"
#define GLSLANG_DATE "13-Jan-2017"
glslang/MachineIndependent/Scan.cpp
View file @
44251539
...
...
@@ -721,7 +721,7 @@ int TScanContext::tokenize(TPpContext* pp, TParserToken& token)
default
:
char
buf
[
2
];
buf
[
0
]
=
token
;
buf
[
0
]
=
(
char
)
token
;
buf
[
1
]
=
0
;
parseContext
.
error
(
loc
,
"unexpected token"
,
buf
,
""
);
break
;
...
...
glslang/MachineIndependent/preprocessor/Pp.cpp
View file @
44251539
...
...
@@ -968,7 +968,7 @@ int TPpContext::scanHeaderName(TPpToken* ppToken, char delimit)
// found a character to expand the name with
if
(
len
<
MaxTokenLength
)
ppToken
->
name
[
len
++
]
=
ch
;
ppToken
->
name
[
len
++
]
=
(
char
)
ch
;
else
tooLong
=
true
;
}
while
(
true
);
...
...
glslang/Public/ShaderLang.h
View file @
44251539
...
...
@@ -374,16 +374,16 @@ public:
// the C++ specification.
// For the "system" or <>-style includes; search the "system" paths.
virtual
IncludeResult
*
includeSystem
(
const
char
*
headerName
,
const
char
*
includerName
,
size_t
inclusionDepth
)
{
return
nullptr
;
}
virtual
IncludeResult
*
includeSystem
(
const
char
*
/*headerName*/
,
const
char
*
/*includerName*/
,
size_t
/*inclusionDepth*/
)
{
return
nullptr
;
}
// For the "local"-only aspect of a "" include. Should not search in the
// "system" paths, because on returning a failure, the parser will
// call includeSystem() to look in the "system" locations.
virtual
IncludeResult
*
includeLocal
(
const
char
*
headerName
,
const
char
*
includerName
,
size_t
inclusionDepth
)
{
return
nullptr
;
}
virtual
IncludeResult
*
includeLocal
(
const
char
*
/*headerName*/
,
const
char
*
/*includerName*/
,
size_t
/*inclusionDepth*/
)
{
return
nullptr
;
}
// Signals that the parser will no longer use the contents of the
// specified IncludeResult.
...
...
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