[llvm-branch-commits] [llvm] 32910f7 - [SmallVector][NFC] Link to ProgrammersManual from SmallVector docs
Scott Linder via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Dec 11 11:41:49 PST 2020
Author: Scott Linder
Date: 2020-12-11T19:34:10Z
New Revision: 32910f780df4f5add290f176459648f2326674f5
URL: https://github.com/llvm/llvm-project/commit/32910f780df4f5add290f176459648f2326674f5
DIFF: https://github.com/llvm/llvm-project/commit/32910f780df4f5add290f176459648f2326674f5.diff
LOG: [SmallVector][NFC] Link to ProgrammersManual from SmallVector docs
Add a "see also" link from the condensed doxygen description of
`SmallVector` to the more complete description in the ProgrammersManual.
Added:
Modified:
llvm/include/llvm/ADT/SmallVector.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index 10b9d4e9c0f1..0a0f09c68060 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/include/llvm/ADT/SmallVector.h
@@ -1021,6 +1021,7 @@ template <typename T> struct CalculateSmallVectorDefaultInlinedElements {
///
/// \warning This does not attempt to be exception safe.
///
+/// \see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h
template <typename T,
unsigned N = CalculateSmallVectorDefaultInlinedElements<T>::value>
class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
More information about the llvm-branch-commits
mailing list