Fix grammar in a comment.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 29 May 2006 02:34:34 +0000 (02:34 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 29 May 2006 02:34:34 +0000 (02:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28534 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/llvmAsmParser.y
lib/VMCore/Type.cpp

index 927b1203d1b802cb0389f034c7add32d80e1ac8b..b8ac7f2867a9a4d1274448e331c66f8d839bae2e 100644 (file)
@@ -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;
 
index 335bc4ee525df95ce52e04c9d9a092cb9ed37b5f..a96efad744530119fdd61c859b591dbe5e98fd10 100644 (file)
@@ -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.