Skip to content
Snippets Groups Projects
Commit 88b9e434 authored by James Dennett's avatar James Dennett
Browse files

Trivial doc fixes: add missing whitespace, and s/overriden/overridden/g.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213502 91177308-0d34-0410-b5e6-96231b3b80d8
parent 441ac421
No related branches found
No related tags found
No related merge requests found
...@@ -566,7 +566,7 @@ class SourceManager : public RefCountedBase<SourceManager> { ...@@ -566,7 +566,7 @@ class SourceManager : public RefCountedBase<SourceManager> {
/// non-null, FileEntry pointers. /// non-null, FileEntry pointers.
llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos; llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos;
/// \brief True if the ContentCache for files that are overriden by other /// \brief True if the ContentCache for files that are overridden by other
/// files, should report the original file name. Defaults to true. /// files, should report the original file name. Defaults to true.
bool OverridenFilesKeepOriginalName; bool OverridenFilesKeepOriginalName;
...@@ -575,7 +575,7 @@ class SourceManager : public RefCountedBase<SourceManager> { ...@@ -575,7 +575,7 @@ class SourceManager : public RefCountedBase<SourceManager> {
bool UserFilesAreVolatile; bool UserFilesAreVolatile;
struct OverriddenFilesInfoTy { struct OverriddenFilesInfoTy {
/// \brief Files that have been overriden with the contents from another /// \brief Files that have been overridden with the contents from another
/// file. /// file.
llvm::DenseMap<const FileEntry *, const FileEntry *> OverriddenFiles; llvm::DenseMap<const FileEntry *, const FileEntry *> OverriddenFiles;
/// \brief Files that were overridden with a memory buffer. /// \brief Files that were overridden with a memory buffer.
...@@ -719,7 +719,8 @@ public: ...@@ -719,7 +719,8 @@ public:
FileManager &getFileManager() const { return FileMgr; } FileManager &getFileManager() const { return FileMgr; }
/// \brief Set true if the SourceManager should report the original file name /// \brief Set true if the SourceManager should report the original file name
/// for contents of files that were overriden by other files.Defaults to true. /// for contents of files that were overridden by other files. Defaults to
/// true.
void setOverridenFilesKeepOriginalName(bool value) { void setOverridenFilesKeepOriginalName(bool value) {
OverridenFilesKeepOriginalName = value; OverridenFilesKeepOriginalName = value;
} }
...@@ -824,7 +825,7 @@ public: ...@@ -824,7 +825,7 @@ public:
/// \brief Override the contents of the given source file by providing an /// \brief Override the contents of the given source file by providing an
/// already-allocated buffer. /// already-allocated buffer.
/// ///
/// \param SourceFile the source file whose contents will be overriden. /// \param SourceFile the source file whose contents will be overridden.
/// ///
/// \param Buffer the memory buffer whose contents will be used as the /// \param Buffer the memory buffer whose contents will be used as the
/// data in the given source file. /// data in the given source file.
...@@ -836,7 +837,7 @@ public: ...@@ -836,7 +837,7 @@ public:
/// \brief Override the given source file with another one. /// \brief Override the given source file with another one.
/// ///
/// \param SourceFile the source file which will be overriden. /// \param SourceFile the source file which will be overridden.
/// ///
/// \param NewFile the file whose contents will be used as the /// \param NewFile the file whose contents will be used as the
/// data instead of the contents of the given source file. /// data instead of the contents of the given source file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment