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
bd78705c
Commit
bd78705c
authored
May 29, 2017
by
Harris Hancock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo and formatting in comments
parent
c4629e37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
capnpc-c++.c++
c++/src/capnp/compiler/capnpc-c++.c++
+4
-4
No files found.
c++/src/capnp/compiler/capnpc-c++.c++
View file @
bd78705c
...
@@ -494,7 +494,7 @@ private:
...
@@ -494,7 +494,7 @@ private:
case
schema
:
:
Type
::
AnyPointer
::
Unconstrained
::
LIST
:
case
schema
:
:
Type
::
AnyPointer
::
Unconstrained
::
LIST
:
return
CppTypeName
::
makePrimitive
(
" ::capnp::AnyList"
);
return
CppTypeName
::
makePrimitive
(
" ::capnp::AnyList"
);
case
schema
:
:
Type
::
AnyPointer
::
Unconstrained
::
CAPABILITY
:
case
schema
:
:
Type
::
AnyPointer
::
Unconstrained
::
CAPABILITY
:
hasInterfaces
=
true
;
// Probably need to #inc
ul
de <capnp/capability.h>.
hasInterfaces
=
true
;
// Probably need to #inc
lu
de <capnp/capability.h>.
return
CppTypeName
::
makePrimitive
(
" ::capnp::Capability"
);
return
CppTypeName
::
makePrimitive
(
" ::capnp::Capability"
);
}
}
KJ_UNREACHABLE
;
KJ_UNREACHABLE
;
...
@@ -684,9 +684,9 @@ private:
...
@@ -684,9 +684,9 @@ private:
// TODO(msvc): `dependencyCount` is the number of individual dependency definitions in
// TODO(msvc): `dependencyCount` is the number of individual dependency definitions in
// `dependencies`. It's a hack to allow makeGenericDefinitions to hard-code the size of the
// `dependencies`. It's a hack to allow makeGenericDefinitions to hard-code the size of the
// `_capnpPrivate::brandDependencies` array into the definition of
// `_capnpPrivate::brandDependencies` array into the definition of
//
`_capnpPrivate::specificBrand::dependencyCount`. This is necessary because MSVC cannot deduce
//
`_capnpPrivate::specificBrand::dependencyCount`. This is necessary because MSVC cannot
//
the size of `brandDependencies` if it is nested under a class template. It's probably thi
s
//
deduce the size of `brandDependencies` if it is nested under a class template. It'
s
// demoralizingly deferred bug:
//
probably this
demoralizingly deferred bug:
// https://connect.microsoft.com/VisualStudio/feedback/details/759407/can-not-get-size-of-static-array-defined-in-class-template
// https://connect.microsoft.com/VisualStudio/feedback/details/759407/can-not-get-size-of-static-array-defined-in-class-template
};
};
...
...
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