summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-12-30 20:16:30 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-12-30 20:16:30 +0000
commit00b9b695c44f599dade1c0fe6d70c9e1e604fdd7 (patch)
tree9cc459415508b8add60e1bd936cea5bdd5b24a9e
parent258ab6abc9a71ba6a717597ef5a9ab1b7bcc9db9 (diff)
downloadbcm5719-llvm-00b9b695c44f599dade1c0fe6d70c9e1e604fdd7.tar.gz
bcm5719-llvm-00b9b695c44f599dade1c0fe6d70c9e1e604fdd7.zip
Fix two typos in comments. No functionality change.
llvm-svn: 198243
-rw-r--r--clang/include/clang/AST/AttrIterator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/AttrIterator.h b/clang/include/clang/AST/AttrIterator.h
index 8bd8fbec895..4ecf98fe0b3 100644
--- a/clang/include/clang/AST/AttrIterator.h
+++ b/clang/include/clang/AST/AttrIterator.h
@@ -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;
OpenPOWER on IntegriCloud