[llvm] r333036 - [docs] Clarify usage of "vector" in Programmer's Manual.

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 15:58:47 PDT 2018


Author: efriedma
Date: Tue May 22 15:58:47 2018
New Revision: 333036

URL: http://llvm.org/viewvc/llvm-project?rev=333036&view=rev
Log:
[docs] Clarify usage of "vector" in Programmer's Manual.

The explanation is specifically referring to std::vector; this might
not be clear from the context.


Modified:
    llvm/trunk/docs/ProgrammersManual.rst

Modified: llvm/trunk/docs/ProgrammersManual.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.rst?rev=333036&r1=333035&r2=333036&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.rst (original)
+++ llvm/trunk/docs/ProgrammersManual.rst Tue May 22 15:58:47 2018
@@ -1832,7 +1832,7 @@ A sorted 'vector'
 ^^^^^^^^^^^^^^^^^
 
 If you intend to insert a lot of elements, then do a lot of queries, a great
-approach is to use a vector (or other sequential container) with
+approach is to use an std::vector (or other sequential container) with
 std::sort+std::unique to remove duplicates.  This approach works really well if
 your usage pattern has these two distinct phases (insert then query), and can be
 coupled with a good choice of :ref:`sequential container <ds_sequential>`.




More information about the llvm-commits mailing list