]> granicus.if.org Git - clang/commitdiff
Fix a few typos
authorJonathan D. Turner <jonathan.d.turner@gmail.com>
Wed, 3 Aug 2011 17:36:09 +0000 (17:36 +0000)
committerJonathan D. Turner <jonathan.d.turner@gmail.com>
Wed, 3 Aug 2011 17:36:09 +0000 (17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136792 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Serialization/ASTReader.h
lib/Serialization/ASTReader.cpp

index 2851028dc9b358490fe0f1e721eec0f7d1863db8..42843e1ac337d258aea3006cfe1a5da7229ebbaf 100644 (file)
@@ -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<typename T>
index 14094febe50f43b2a0363a9ee1efc437f7826eaa..291044f08db43d63a5e391f3fd35d730c39c8d9d 100644 (file)
@@ -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<TypedefType>())