]> granicus.if.org Git - llvm/commitdiff
[NFC] Fix typo in comment.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 6 Apr 2019 22:05:24 +0000 (22:05 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 6 Apr 2019 22:05:24 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357849 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/BreadthFirstIterator.h

index cc6c8600e1063af394b5934045b77d79936cee9d..e97d76680db8ddb135f582799fe3eb1b1efc5a64 100644 (file)
@@ -124,7 +124,7 @@ public:
 
   const NodeRef &operator*() const { return VisitQueue.front()->first; }
 
-  // This is a nonstandard operator-> that dereferenfces the pointer an extra
+  // This is a nonstandard operator-> that dereferences the pointer an extra
   // time so that you can actually call methods on the node, because the
   // contained type is a pointer.
   NodeRef operator->() const { return **this; }