]> granicus.if.org Git - clang/commitdiff
Fixes comments.
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 21 Jan 2010 00:08:17 +0000 (00:08 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 21 Jan 2010 00:08:17 +0000 (00:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94053 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 7b0c98c56995572cf588c216b3135e5d839d34ad..9d0958c46e1c1454a60cc2cbcc3c06744b5b4617 100644 (file)
@@ -1143,7 +1143,7 @@ bool Sema::isObjCPointerConversion(QualType FromType, QualType ToType,
     ToPointeeType = ToCPtr->getPointeeType();
   else if (const BlockPointerType *ToBlockPtr = 
             ToType->getAs<BlockPointerType>()) {
-    // Objective C++: We're able to convert from a pointer to an any object
+    // Objective C++: We're able to convert from a pointer to any object
     // to a block pointer type.
     if (FromObjCPtr && FromObjCPtr->isObjCBuiltinType()) {
       ConvertedType = ToType;
@@ -1154,7 +1154,7 @@ bool Sema::isObjCPointerConversion(QualType FromType, QualType ToType,
   else if (FromType->getAs<BlockPointerType>() && 
            ToObjCPtr && ToObjCPtr->isObjCBuiltinType()) {
     // Objective C++: We're able to convert from a block pointer type to a 
-    // pointer to an any object.
+    // pointer to any object.
     ConvertedType = ToType;
     return true;
   }