]> granicus.if.org Git - clang/commitdiff
[AST] Fix some typos
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 30 Apr 2015 17:15:46 +0000 (17:15 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 30 Apr 2015 17:15:46 +0000 (17:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236238 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/CXXInheritance.h

index 37f6748ace906bc818f432b37e73556a5193f1b1..f7612f21f216995009b92666e0a6dc0dc42c457d 100644 (file)
@@ -333,12 +333,12 @@ public:
 ///   struct D : B, C { };
 /// \endcode
 ///
-/// This data structure contaings a mapping from every virtual
+/// This data structure contains a mapping from every virtual
 /// function *that does not override an existing virtual function* and
 /// in every subobject where that virtual function occurs to the set
 /// of virtual functions that override it. Thus, the same virtual
 /// function \c A::f can actually occur in multiple subobjects of type
-/// \c A due to multiple inheritance, and may be overriden by
+/// \c A due to multiple inheritance, and may be overridden by
 /// different virtual functions in each, as in the following example:
 ///
 /// \code
@@ -354,7 +354,7 @@ public:
 /// \c A::f but in *different* subobjects of type A. This is
 /// represented by numbering the subobjects in which the overridden
 /// and the overriding virtual member functions are located. Subobject
-/// 0 represents the virtua base class subobject of that type, while
+/// 0 represents the virtual base class subobject of that type, while
 /// subobject numbers greater than 0 refer to non-virtual base class
 /// subobjects of that type.
 class CXXFinalOverriderMap