[llvm] r357849 - [NFC] Fix typo in comment.

Nick Lewycky via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 6 15:05:25 PDT 2019


Author: nicholas
Date: Sat Apr  6 15:05:24 2019
New Revision: 357849

URL: http://llvm.org/viewvc/llvm-project?rev=357849&view=rev
Log:
[NFC] Fix typo in comment.

Modified:
    llvm/trunk/include/llvm/ADT/BreadthFirstIterator.h

Modified: llvm/trunk/include/llvm/ADT/BreadthFirstIterator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/BreadthFirstIterator.h?rev=357849&r1=357848&r2=357849&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/BreadthFirstIterator.h (original)
+++ llvm/trunk/include/llvm/ADT/BreadthFirstIterator.h Sat Apr  6 15:05:24 2019
@@ -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; }




More information about the llvm-commits mailing list