fix typo's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Gabor Greif 2008-10-13 10:28:12 +00:00
parent c9f7ef7e7a
commit 63e0669b8e

View File

@ -33,7 +33,7 @@ namespace llvm {
/// Note that Constants are immutable (once created they never change) /// Note that Constants are immutable (once created they never change)
/// and are fully shared by structural equivalence. This means that two /// and are fully shared by structural equivalence. This means that two
/// structurally equivalent constants will always have the same address. /// structurally equivalent constants will always have the same address.
/// Constant's are created on demand as needed and never deleted: thus clients /// Constants are created on demand as needed and never deleted: thus clients
/// don't have to worry about the lifetime of the objects. /// don't have to worry about the lifetime of the objects.
/// @brief LLVM Constant Representation /// @brief LLVM Constant Representation
class Constant : public User { class Constant : public User {
@ -66,7 +66,7 @@ public:
/// relocations which cannot be resolved at compile time. /// relocations which cannot be resolved at compile time.
bool ContainsRelocations() const; bool ContainsRelocations() const;
// Specialize get/setOperand for Constant's as their operands are always // Specialize get/setOperand for Constants as their operands are always
// constants as well. // constants as well.
Constant *getOperand(unsigned i) { Constant *getOperand(unsigned i) {
return static_cast<Constant*>(User::getOperand(i)); return static_cast<Constant*>(User::getOperand(i));