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
02c70ad1
Unverified
Commit
02c70ad1
authored
Apr 22, 2020
by
Phillip Stephens
Committed by
GitHub
Apr 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TPpToken: Fix compiling on clang-10 (#2189)
parent
c9b28b9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PpContext.h
glslang/MachineIndependent/preprocessor/PpContext.h
+2
-2
No files found.
glslang/MachineIndependent/preprocessor/PpContext.h
View file @
02c70ad1
...
@@ -105,13 +105,13 @@ public:
...
@@ -105,13 +105,13 @@ public:
}
}
// Used for comparing macro definitions, so checks what is relevant for that.
// Used for comparing macro definitions, so checks what is relevant for that.
bool
operator
==
(
const
TPpToken
&
right
)
bool
operator
==
(
const
TPpToken
&
right
)
const
{
{
return
space
==
right
.
space
&&
return
space
==
right
.
space
&&
ival
==
right
.
ival
&&
dval
==
right
.
dval
&&
i64val
==
right
.
i64val
&&
ival
==
right
.
ival
&&
dval
==
right
.
dval
&&
i64val
==
right
.
i64val
&&
strncmp
(
name
,
right
.
name
,
MaxTokenLength
)
==
0
;
strncmp
(
name
,
right
.
name
,
MaxTokenLength
)
==
0
;
}
}
bool
operator
!=
(
const
TPpToken
&
right
)
{
return
!
operator
==
(
right
);
}
bool
operator
!=
(
const
TPpToken
&
right
)
const
{
return
!
operator
==
(
right
);
}
TSourceLoc
loc
;
TSourceLoc
loc
;
// True if a space (for white space or a removed comment) should also be
// True if a space (for white space or a removed comment) should also be
...
...
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