diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-16 14:23:44 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-16 14:23:44 +0000 |
commit | d450c7c91bf124a38f0c860f3085ea7bd631bd2b (patch) | |
tree | ba2397b9e763041f0ef037e4ba4724bba309eead | |
parent | 0860a908c0094e3d9d780edba99de486daa77963 (diff) |
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211025 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/SourceManager.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/CGExprCXX.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index bea4890ca4..585d13855e 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -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, diff --git a/lib/CodeGen/CGExprCXX.cpp b/lib/CodeGen/CGExprCXX.cpp index 268f4aabfd..394ba1d8f7 100644 --- a/lib/CodeGen/CGExprCXX.cpp +++ b/lib/CodeGen/CGExprCXX.cpp @@ -1913,7 +1913,7 @@ MSDynamicCastBuilder::MSDynamicCastBuilder(CodeGenFunction &CGF, 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; |