[llvm] r237622 - Fix grammar in comments.

Eric Christopher echristo at gmail.com
Mon May 18 15:12:41 PDT 2015


Author: echristo
Date: Mon May 18 17:12:41 2015
New Revision: 237622

URL: http://llvm.org/viewvc/llvm-project?rev=237622&view=rev
Log:
Fix grammar in comments.

Modified:
    llvm/trunk/include/llvm/IR/Constants.h

Modified: llvm/trunk/include/llvm/IR/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Constants.h?rev=237622&r1=237621&r2=237622&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Constants.h (original)
+++ llvm/trunk/include/llvm/IR/Constants.h Mon May 18 17:12:41 2015
@@ -12,7 +12,7 @@
 /// which represent the different flavors of constant values that live in LLVM.
 /// Note that Constants are immutable (once created they never change) and are
 /// fully shared by structural equivalence.  This means that two structurally
-/// equivalent constants will always have the same address.  Constant's are
+/// equivalent constants will always have the same address.  Constants are
 /// created on demand as needed and never deleted: thus clients don't have to
 /// worry about the lifetime of the objects.
 //
@@ -1055,7 +1055,7 @@ public:
                            bool OnlyIfReduced = false);
 
   /// Getelementptr form.  Value* is only accepted for convenience;
-  /// all elements must be Constant's.
+  /// all elements must be Constants.
   ///
   /// \param OnlyIfReducedTy see \a getWithOperands() docs.
   static Constant *getGetElementPtr(Type *Ty, Constant *C,





More information about the llvm-commits mailing list