summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2013-11-24 01:47:49 +0000
committerJames Dennett <jdennett@google.com>2013-11-24 01:47:49 +0000
commitaa61cbbe8beaaac3a5c69a772a8e08f63092a43c (patch)
tree37b3265fb8b2b6cab682dcc752ef159b518420ad /clang
parent20be263c378b58ef6359be5b584a751da77cfc8e (diff)
downloadbcm5719-llvm-aa61cbbe8beaaac3a5c69a772a8e08f63092a43c.tar.gz
bcm5719-llvm-aa61cbbe8beaaac3a5c69a772a8e08f63092a43c.zip
Fix a typo: "SLocEnty" should read "SLocEntry".
llvm-svn: 195563
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/SourceManager.h2
-rw-r--r--clang/lib/Basic/SourceManager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/SourceManager.h b/clang/include/clang/Basic/SourceManager.h
index 6aab998bd89..1d686814836 100644
--- a/clang/include/clang/Basic/SourceManager.h
+++ b/clang/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/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index 9d79551f911..ab113c18942 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud