From 6f438eeb95e00cd275fc3160129871a937bc93d9 Mon Sep 17 00:00:00 2001 From: James Dennett <jdennett@google.com> Date: Sun, 24 Nov 2013 01:47:49 +0000 Subject: [PATCH] Fix a typo: "SLocEnty" should read "SLocEntry". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195563 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/SourceManager.h | 2 +- lib/Basic/SourceManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 6aab998bd89..1d686814836 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 9d79551f911..ab113c18942 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); -- GitLab