Fix two typos in comments. No functionality change.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 30 Dec 2013 20:16:30 +0000 (20:16 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 30 Dec 2013 20:16:30 +0000 (20:16 +0000)
llvm-svn: 198243

clang/include/clang/AST/AttrIterator.h

index 8bd8fbe..4ecf98f 100644 (file)
@@ -43,7 +43,7 @@ typedef SmallVector<Attr*, 2> AttrVec;
 typedef SmallVector<const Attr*, 2> ConstAttrVec;
 
 /// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
-/// providing attributes that are of a specifc type.
+/// providing attributes that are of a specific type.
 template <typename SpecificAttr, typename Container = AttrVec>
 class specific_attr_iterator {
   typedef typename Container::const_iterator Iterator;
@@ -53,7 +53,7 @@ class specific_attr_iterator {
   /// specifically requested, we don't necessarily advance this all the
   /// way. Instead, we advance it when an operation is requested; if the
   /// operation is acting on what should be a past-the-end iterator,
-  /// then we offer no guarantees, but this way we do not dererence a
+  /// then we offer no guarantees, but this way we do not dereference a
   /// past-the-end iterator when we move to a past-the-end position.
   mutable Iterator Current;