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
fe0a24dd
Commit
fe0a24dd
authored
Dec 29, 2014
by
David Renshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more typos
parent
19b53520
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
node-translator.c++
c++/src/capnp/compiler/node-translator.c++
+2
-2
schema.h
c++/src/capnp/schema.h
+2
-2
No files found.
c++/src/capnp/compiler/node-translator.c++
View file @
fe0a24dd
...
...
@@ -604,12 +604,12 @@ private:
class
NodeTranslator
::
BrandScope
:
public
kj
::
Refcounted
{
// Tracks the brand parameter bindings affecting the current scope. For example, if we are
// interpreting the type expression "Foo(Text).Bar", we would start with the cur
er
nt scopes
// interpreting the type expression "Foo(Text).Bar", we would start with the cur
re
nt scopes
// BrandScope, create a new child BrandScope representing "Foo", add the "(Text)" parameter
// bindings to it, then create a further child scope for "Bar". Thus the BrandScope for Bar
// knows that Foo's parameter list has been bound to "(Text)".
//
// TODO(cleaup): This is too complicated to live here. We should refactor this class and
// TODO(clea
n
up): This is too complicated to live here. We should refactor this class and
// BrandedDecl out into their own file, independent of NodeTranslator.
public
:
...
...
c++/src/capnp/schema.h
View file @
fe0a24dd
...
...
@@ -284,8 +284,8 @@ public:
// value pointer itself can be treated as the root of an unchecked message -- if you know where
// to find it, which is what this method helps you with.
//
// For blobs, returns the offset of the beg
ging of the blob's content within the first segment of
// the struct's schema.
// For blobs, returns the offset of the beg
inning of the blob's content within the first segment
//
of
the struct's schema.
//
// This is primarily useful for code generators. The C++ code generator, for example, embeds
// the entire schema as a raw word array within the generated code. Of course, to implement
...
...
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