From: James Dennett Date: Fri, 15 Jun 2012 21:30:06 +0000 (+0000) Subject: Documentation cleanup: delete doc comments from source files where they are X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3e8eda9a685e95c29ccea52977c0e32a422e563;p=clang 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 --- 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;