llvm.org GIT mirror llvm / 799df95
Fix spelling mistakes in comments. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335603 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 1 year, 4 months ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
331331 // Print the "right". This distinction is necessary to represent C++ types
332332 // that appear on the RHS of their subtype, such as arrays or functions.
333333 // Since most types don't have such a component, provide a default
334 // implemenation.
334 // implementation.
335335 virtual void printRight(OutputStream &) const {}
336336
337337 virtual StringView getBaseName() const { return StringView(); }
807807 bool hasRHSComponentSlow(OutputStream &) const override { return true; }
808808 bool hasFunctionSlow(OutputStream &) const override { return true; }
809809
810 // Handle C++'s ... quirky decl grammer by using the left & right
810 // Handle C++'s ... quirky decl grammar by using the left & right
811811 // distinction. Consider:
812812 // int (*f(float))(char) {}
813813 // f is a function that takes a float and returns a pointer to a function
11161116 }
11171117 };
11181118
1119 /// A variadic template argument. This node represents an occurance of
1119 /// A variadic template argument. This node represents an occurrence of
11201120 /// JE in some . It isn't itself unexpanded, unless
11211121 /// one of it's Elements is. The parser inserts a ParameterPack into the
11221122 /// TemplateParams table if the this pack belongs to apply to an
21122112 const char *Last;
21132113
21142114 // Name stack, this is used by the parser to hold temporary names that were
2115 // parsed. The parser colapses multiple names into new nodes to construct
2115 // parsed. The parser collapses multiple names into new nodes to construct
21162116 // the AST. Once the parser is finished, names.size() == 1.
21172117 PODSmallVector Names;
21182118