[clang] 8279ea1 - Fix Wdocumentation unknown parameter warnings. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 28 08:47:34 PDT 2020
Author: Simon Pilgrim
Date: 2020-10-28T15:47:17Z
New Revision: 8279ea1a2ae5f59bce1a0db675c82a8849ab9f58
URL: https://github.com/llvm/llvm-project/commit/8279ea1a2ae5f59bce1a0db675c82a8849ab9f58
DIFF: https://github.com/llvm/llvm-project/commit/8279ea1a2ae5f59bce1a0db675c82a8849ab9f58.diff
LOG: Fix Wdocumentation unknown parameter warnings. NFCI.
This seems to due to a bad merge by rG156e8b37024a
Added:
Modified:
clang/include/clang/Basic/SourceManager.h
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/SourceManager.h b/clang/include/clang/Basic/SourceManager.h
index d8f17b3facdc..b231644330ed 100644
--- a/clang/include/clang/Basic/SourceManager.h
+++ b/clang/include/clang/Basic/SourceManager.h
@@ -228,9 +228,6 @@ class alignas(8) ContentCache {
llvm::MemoryBuffer::BufferKind getMemoryBufferKind() const;
/// Return the buffer, only if it has been loaded.
- /// specified FileID, returning None if it's not yet loaded.
- ///
- /// \param FID The file ID whose contents will be returned.
llvm::Optional<llvm::MemoryBufferRef> getBufferIfLoaded() const {
if (Buffer)
return Buffer->getMemBufferRef();
More information about the cfe-commits
mailing list