[llvm] r311193 - fix typos in comments; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 13:27:48 PDT 2017


Author: spatel
Date: Fri Aug 18 13:27:47 2017
New Revision: 311193

URL: http://llvm.org/viewvc/llvm-project?rev=311193&view=rev
Log:
fix typos in comments; NFC

Modified:
    llvm/trunk/include/llvm/Analysis/ValueTracking.h

Modified: llvm/trunk/include/llvm/Analysis/ValueTracking.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ValueTracking.h?rev=311193&r1=311192&r2=311193&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ValueTracking.h (original)
+++ llvm/trunk/include/llvm/Analysis/ValueTracking.h Fri Aug 18 13:27:47 2017
@@ -248,8 +248,8 @@ template <typename T> class ArrayRef;
     }
   };
 
-  /// Returns true if the value \p V is a pointer into a ContantDataArray.
-  /// If successful \p Index will point to a ConstantDataArray info object
+  /// Returns true if the value \p V is a pointer into a ConstantDataArray.
+  /// If successful \p Slice will point to a ConstantDataArray info object
   /// with an appropriate offset.
   bool getConstantDataArrayInfo(const Value *V, ConstantDataArraySlice &Slice,
                                 unsigned ElementSize, uint64_t Offset = 0);




More information about the llvm-commits mailing list