summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-05-18 22:12:41 +0000
committerEric Christopher <echristo@gmail.com>2015-05-18 22:12:41 +0000
commitf1cefd78a055057493374243d0c3ff7f9d9de1d0 (patch)
tree844e5209785d2e1728ad34bfea1b942754886391
parentd6223a24718df3c30b67422c2eb6d0e93af9c4e8 (diff)
downloadbcm5719-llvm-f1cefd78a055057493374243d0c3ff7f9d9de1d0.tar.gz
bcm5719-llvm-f1cefd78a055057493374243d0c3ff7f9d9de1d0.zip
Fix grammar in comments.
llvm-svn: 237622
-rw-r--r--llvm/include/llvm/IR/Constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Constants.h b/llvm/include/llvm/IR/Constants.h
index a16bf1ff092..152d9f5e426 100644
--- a/llvm/include/llvm/IR/Constants.h
+++ b/llvm/include/llvm/IR/Constants.h
@@ -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,
OpenPOWER on IntegriCloud