[cfe-commits] r136792 - in /cfe/trunk: include/clang/Serialization/ASTReader.h lib/Serialization/ASTReader.cpp

Jonathan D. Turner jonathan.d.turner at gmail.com
Wed Aug 3 10:36:09 PDT 2011


Author: jonturner
Date: Wed Aug  3 12:36:09 2011
New Revision: 136792

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


Modified:
    cfe/trunk/include/clang/Serialization/ASTReader.h
    cfe/trunk/lib/Serialization/ASTReader.cpp

Modified: cfe/trunk/include/clang/Serialization/ASTReader.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/ASTReader.h?rev=136792&r1=136791&r2=136792&view=diff
==============================================================================
--- cfe/trunk/include/clang/Serialization/ASTReader.h (original)
+++ cfe/trunk/include/clang/Serialization/ASTReader.h Wed Aug  3 12:36:09 2011
@@ -1250,12 +1250,12 @@
   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>

Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=136792&r1=136791&r2=136792&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed Aug  3 12:36:09 2011
@@ -2937,7 +2937,7 @@
   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>())





More information about the cfe-commits mailing list