Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
30ef5d35
Commit
30ef5d35
authored
Apr 02, 2016
by
Harris Hancock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add template/typename disambiguators
parent
f47f0dad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
node-translator.c++
c++/src/capnp/compiler/node-translator.c++
+1
-1
node-translator.h
c++/src/capnp/compiler/node-translator.h
+1
-1
parser.c++
c++/src/capnp/compiler/parser.c++
+1
-1
common.h
c++/src/kj/parse/common.h
+1
-1
No files found.
c++/src/capnp/compiler/node-translator.c++
View file @
30ef5d35
...
...
@@ -2271,7 +2271,7 @@ template <typename InitBrandFunc>
uint64_t
NodeTranslator
::
compileParamList
(
kj
::
StringPtr
methodName
,
uint16_t
ordinal
,
bool
isResults
,
Declaration
::
ParamList
::
Reader
paramList
,
List
<
Declaration
::
BrandParameter
>::
Reader
implicitParams
,
typename
List
<
Declaration
::
BrandParameter
>::
Reader
implicitParams
,
InitBrandFunc
&&
initBrand
)
{
switch
(
paramList
.
which
())
{
case
Declaration
:
:
ParamList
::
NAMED_LIST
:
{
...
...
c++/src/capnp/compiler/node-translator.h
View file @
30ef5d35
...
...
@@ -230,7 +230,7 @@ private:
template
<
typename
InitBrandFunc
>
uint64_t
compileParamList
(
kj
::
StringPtr
methodName
,
uint16_t
ordinal
,
bool
isResults
,
Declaration
::
ParamList
::
Reader
paramList
,
List
<
Declaration
::
BrandParameter
>::
Reader
implicitParams
,
typename
List
<
Declaration
::
BrandParameter
>::
Reader
implicitParams
,
InitBrandFunc
&&
initBrand
);
// Compile a param (or result) list and return the type ID of the struct type.
...
...
c++/src/capnp/compiler/parser.c++
View file @
30ef5d35
...
...
@@ -408,7 +408,7 @@ static Declaration::Builder initMemberDecl(
}
template
<
typename
BuilderType
>
void
initLocation
(
kj
::
parse
::
Span
<
List
<
Token
>::
Reader
::
Iterator
>
location
,
void
initLocation
(
kj
::
parse
::
Span
<
typename
List
<
Token
>::
Reader
::
Iterator
>
location
,
BuilderType
builder
)
{
if
(
location
.
begin
()
<
location
.
end
())
{
builder
.
setStartByte
(
location
.
begin
()
->
getStartByte
());
...
...
c++/src/kj/parse/common.h
View file @
30ef5d35
...
...
@@ -160,7 +160,7 @@ private:
template
<
typename
Input
,
typename
Output
>
template
<
typename
ParserImpl
>
constexpr
ParserRef
<
Input
,
Output
>::
WrapperImpl
<
ParserImpl
>
constexpr
typename
ParserRef
<
Input
,
Output
>::
template
WrapperImpl
<
ParserImpl
>
ParserRef
<
Input
,
Output
>::
WrapperImplInstance
<
ParserImpl
>::
instance
;
template
<
typename
Input
,
typename
ParserImpl
>
...
...
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