From 43fd9388d374f29e908e611a686c6137553efa79 Mon Sep 17 00:00:00 2001 From: "Jonathan D. Turner" Date: Wed, 3 Aug 2011 17:36:09 +0000 Subject: [PATCH] Fix a few typos git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136792 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Serialization/ASTReader.h | 4 ++-- lib/Serialization/ASTReader.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h index 2851028dc9..42843e1ac3 100644 --- a/include/clang/Serialization/ASTReader.h +++ b/include/clang/Serialization/ASTReader.h @@ -1250,12 +1250,12 @@ public: Decl *GetDecl(serialization::DeclID ID); virtual Decl *GetExternalDecl(uint32_t ID); - /// \brief Reads a declaration with the given local ID in the give module. + /// \brief Reads a declaration with the given local ID in the given module. Decl *GetLocalDecl(Module &F, uint32_t LocalID) { return GetDecl(getGlobalDeclID(F, LocalID)); } - /// \brief Reads a declaration with the given local ID in the give module. + /// \brief Reads a declaration with the given local ID in the given module. /// /// \returns The requested declaration, casted to the given return type. template diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 14094febe5..291044f08d 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -2937,7 +2937,7 @@ void ASTReader::InitializeContext(ASTContext &Ctx) { if (unsigned Jmp_buf = SpecialTypes[SPECIAL_TYPE_jmp_buf]) { QualType Jmp_bufType = GetType(Jmp_buf); if (Jmp_bufType.isNull()) { - Error("jmp_bug type is NULL"); + Error("jmp_buf type is NULL"); return; } if (const TypedefType *Typedef = Jmp_bufType->getAs()) -- 2.40.0