aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-29 02:34:34 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-29 02:34:34 +0000
commitfd20c0ab007a01525d5344e4097e7ae60cb47005 (patch)
tree8bf0e7e0afd3af214054703a4ce4ca470e48993a /lib
parent3ccc7b46547b6ff56a4397e70f99bf17475eda48 (diff)
Fix grammar in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AsmParser/llvmAsmParser.y2
-rw-r--r--lib/VMCore/Type.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index 927b1203d1..b8ac7f2867 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -72,7 +72,7 @@ static struct PerModuleInfo {
std::map<ValID, PATypeHolder> LateResolveTypes;
/// PlaceHolderInfo - When temporary placeholder objects are created, remember
- /// how they were referenced and one which line of the input they came from so
+ /// how they were referenced and on which line of the input they came from so
/// that we can resolve them later and print error messages as appropriate.
std::map<Value*, std::pair<ValID, int> > PlaceHolderInfo;
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 335bc4ee52..a96efad744 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -1246,7 +1246,7 @@ void Type::removeAbstractTypeUser(AbstractTypeUser *U) const {
}
-// refineAbstractTypeTo - This function is used to when it is discovered that
+// refineAbstractTypeTo - This function is used when it is discovered that
// the 'this' abstract type is actually equivalent to the NewType specified.
// This causes all users of 'this' to switch to reference the more concrete type
// NewType and for 'this' to be deleted.