r195563 - Fix a typo: "SLocEnty" should read "SLocEntry".

James Dennett jdennett at google.com
Sat Nov 23 17:47:49 PST 2013


Author: jdennett
Date: Sat Nov 23 19:47:49 2013
New Revision: 195563

URL: http://llvm.org/viewvc/llvm-project?rev=195563&view=rev
Log:
Fix a typo: "SLocEnty" should read "SLocEntry".

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

Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=195563&r1=195562&r2=195563&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Sat Nov 23 19:47:49 2013
@@ -1332,7 +1332,7 @@ public:
     return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc));
   }
 
-  /// \brief The size of the SLocEnty that \p FID represents.
+  /// \brief The size of the SLocEntry that \p FID represents.
   unsigned getFileIDSize(FileID FID) const;
 
   /// \brief Given a specific FileID, returns true if \p Loc is inside that

Modified: cfe/trunk/lib/Basic/SourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceManager.cpp?rev=195563&r1=195562&r2=195563&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/SourceManager.cpp (original)
+++ cfe/trunk/lib/Basic/SourceManager.cpp Sat Nov 23 19:47:49 2013
@@ -1583,7 +1583,7 @@ bool SourceManager::isInMainFile(SourceL
   return FI.getIncludeLoc().isInvalid();
 }
 
-/// \brief The size of the SLocEnty that \arg FID represents.
+/// \brief The size of the SLocEntry that \p FID represents.
 unsigned SourceManager::getFileIDSize(FileID FID) const {
   bool Invalid = false;
   const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid);





More information about the cfe-commits mailing list