]> granicus.if.org Git - clang/commitdiff
Documentation cleanup: delete doc comments from source files where they are
authorJames Dennett <jdennett@google.com>
Fri, 15 Jun 2012 21:30:06 +0000 (21:30 +0000)
committerJames Dennett <jdennett@google.com>
Fri, 15 Jun 2012 21:30:06 +0000 (21:30 +0000)
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

lib/Basic/Diagnostic.cpp
lib/Basic/FileManager.cpp

index f7d5d87b367edddcab16597e8e1009d747ce0e34..dbcf74529cad8541e3ef52878a2e16a8c6d314d8 100644 (file)
@@ -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 &&
index 669bf7d4c78679e85b8c19e7922a6cd856112c24..5b9769dbb95a4337b6450a01bee86fe5807a2088 100644 (file)
@@ -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;