From: James Dennett Date: Sun, 24 Nov 2013 01:47:49 +0000 (+0000) Subject: Fix a typo: "SLocEnty" should read "SLocEntry". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f438eeb95e00cd275fc3160129871a937bc93d9;p=clang Fix a typo: "SLocEnty" should read "SLocEntry". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195563 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 6aab998bd8..1d68681483 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -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 diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index 9d79551f91..ab113c1894 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -1583,7 +1583,7 @@ bool SourceManager::isInMainFile(SourceLocation Loc) const { 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);