r211025 - Fix typos

Alp Toker alp at nuanti.com
Mon Jun 16 07:23:44 PDT 2014


Author: alp
Date: Mon Jun 16 09:23:44 2014
New Revision: 211025

URL: http://llvm.org/viewvc/llvm-project?rev=211025&view=rev
Log:
Fix typos

Modified:
    cfe/trunk/include/clang/Basic/SourceManager.h
    cfe/trunk/lib/CodeGen/CGExprCXX.cpp

Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=211025&r1=211024&r2=211025&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Mon Jun 16 09:23:44 2014
@@ -1287,7 +1287,7 @@ public:
   /// an expansion location, not at the spelling location.
   ///
   /// \returns The presumed location of the specified SourceLocation. If the
-  /// presumed location cannot be calculate (e.g., because \p Loc is invalid
+  /// presumed location cannot be calculated (e.g., because \p Loc is invalid
   /// or the file containing \p Loc has changed on disk), returns an invalid
   /// presumed location.
   PresumedLoc getPresumedLoc(SourceLocation Loc,

Modified: cfe/trunk/lib/CodeGen/CGExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprCXX.cpp?rev=211025&r1=211024&r2=211025&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprCXX.cpp Mon Jun 16 09:23:44 2014
@@ -1913,7 +1913,7 @@ MSDynamicCastBuilder::MSDynamicCastBuild
   SrcTy = IsPtrCast ? SrcTy->castAs<PointerType>()->getPointeeType() : SrcTy;
   SrcDecl = SrcTy->getAsCXXRecordDecl();
   // If we don't need a base adjustment, we don't need a SrcDecl so clear it
-  // here.  Later we use the existance of the SrcDecl to determine the need for
+  // here.  Later we use the existence of the SrcDecl to determine the need for
   // a base adjustment.
   if (CGF.getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr())
     SrcDecl = nullptr;





More information about the cfe-commits mailing list