aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2012-06-15 21:30:06 +0000
committerJames Dennett <jdennett@google.com>2012-06-15 21:30:06 +0000
commitd3e8eda9a685e95c29ccea52977c0e32a422e563 (patch)
treeb71a6c25a434453f67f8da66f672ba0614209f06
parent7285a06a0655ed93e313305182f67edb73890247 (diff)
Documentation cleanup: delete doc comments from source files where they are
broken duplicates of comments that are in the corresponding header files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158550 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Basic/Diagnostic.cpp6
-rw-r--r--lib/Basic/FileManager.cpp7
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/Basic/Diagnostic.cpp b/lib/Basic/Diagnostic.cpp
index f7d5d87b36..dbcf74529c 100644
--- a/lib/Basic/Diagnostic.cpp
+++ b/lib/Basic/Diagnostic.cpp
@@ -155,12 +155,6 @@ DiagnosticsEngine::GetDiagStatePointForLoc(SourceLocation L) const {
return Pos;
}
-/// \brief This allows the client to specify that certain
-/// warnings are ignored. Notes can never be mapped, errors can only be
-/// mapped to fatal, and WARNINGs and EXTENSIONs can be mapped arbitrarily.
-///
-/// \param The source location that this change of diagnostic state should
-/// take affect. It can be null if we are setting the latest state.
void DiagnosticsEngine::setDiagnosticMapping(diag::kind Diag, diag::Mapping Map,
SourceLocation L) {
assert(Diag < diag::DIAG_UPPER_LIMIT &&
diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp
index 669bf7d4c7..5b9769dbb9 100644
--- a/lib/Basic/FileManager.cpp
+++ b/lib/Basic/FileManager.cpp
@@ -259,10 +259,6 @@ void FileManager::addAncestorsAsVirtualDirs(StringRef Path) {
addAncestorsAsVirtualDirs(DirName);
}
-/// getDirectory - Lookup, cache, and verify the specified directory
-/// (real or virtual). This returns NULL if the directory doesn't
-/// exist.
-///
const DirectoryEntry *FileManager::getDirectory(StringRef DirName,
bool CacheFailure) {
// stat doesn't like trailing separators.
@@ -315,9 +311,6 @@ const DirectoryEntry *FileManager::getDirectory(StringRef DirName,
return &UDE;
}
-/// getFile - Lookup, cache, and verify the specified file (real or
-/// virtual). This returns NULL if the file doesn't exist.
-///
const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
bool CacheFailure) {
++NumFileLookups;