OSDN Git Service

[docs] Slight reword for precision.
authorSean Silva <silvas@purdue.edu>
Fri, 22 Mar 2013 23:52:38 +0000 (23:52 +0000)
committerSean Silva <silvas@purdue.edu>
Fri, 22 Mar 2013 23:52:38 +0000 (23:52 +0000)
The new wording cannot be construed as suggesting the use of
SmallVectorImpl<T> as e.g. a class member (just because the class
happens to be in an interface).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177778 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.rst

index eed12e9..87b8020 100644 (file)
@@ -628,7 +628,7 @@ SmallVector also provides a nice portable and efficient replacement for
 
 .. note::
 
-   Prefer to use ``SmallVectorImpl<T>`` in interfaces.
+   Prefer to use ``SmallVectorImpl<T>`` as a parameter type.
 
    In APIs that don't care about the "small size" (most?), prefer to use
    the ``SmallVectorImpl<T>`` class, which is basically just the "vector