diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-26 14:06:23 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-26 14:06:23 +0000 |
commit | cfe2f9d4d2d65417a9b28e439901b7a3f6de4dc0 (patch) | |
tree | 66ae77a60eab6fb95b50e5fe6ad64444f18aa062 /llvm/lib/Demangle/ItaniumDemangle.cpp | |
parent | 63ee0e73e44e80d4e6d388de734cdb5106c8a6de (diff) | |
download | llvm-cfe2f9d4d2d65417a9b28e439901b7a3f6de4dc0.zip llvm-cfe2f9d4d2d65417a9b28e439901b7a3f6de4dc0.tar.gz llvm-cfe2f9d4d2d65417a9b28e439901b7a3f6de4dc0.tar.bz2 |
Fix spelling mistakes in comments. NFCI.
llvm-svn: 335603
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r-- | llvm/lib/Demangle/ItaniumDemangle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp index f08252b..8dd182f 100644 --- a/llvm/lib/Demangle/ItaniumDemangle.cpp +++ b/llvm/lib/Demangle/ItaniumDemangle.cpp @@ -332,7 +332,7 @@ public: // Print the "right". This distinction is necessary to represent C++ types // that appear on the RHS of their subtype, such as arrays or functions. // Since most types don't have such a component, provide a default - // implemenation. + // implementation. virtual void printRight(OutputStream &) const {} virtual StringView getBaseName() const { return StringView(); } @@ -808,7 +808,7 @@ public: bool hasRHSComponentSlow(OutputStream &) const override { return true; } bool hasFunctionSlow(OutputStream &) const override { return true; } - // Handle C++'s ... quirky decl grammer by using the left & right + // Handle C++'s ... quirky decl grammar by using the left & right // distinction. Consider: // int (*f(float))(char) {} // f is a function that takes a float and returns a pointer to a function @@ -1117,7 +1117,7 @@ public: } }; -/// A variadic template argument. This node represents an occurance of +/// A variadic template argument. This node represents an occurrence of /// J<something>E in some <template-args>. It isn't itself unexpanded, unless /// one of it's Elements is. The parser inserts a ParameterPack into the /// TemplateParams table if the <template-args> this pack belongs to apply to an @@ -2113,7 +2113,7 @@ struct Db { const char *Last; // Name stack, this is used by the parser to hold temporary names that were - // parsed. The parser colapses multiple names into new nodes to construct + // parsed. The parser collapses multiple names into new nodes to construct // the AST. Once the parser is finished, names.size() == 1. PODSmallVector<Node *, 32> Names; |