1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

[Docs] Fix LLVM_YAML_IS_DOCUMENT_LIST_VECTOR

The docs incorrectly said to repeat std::vector inside
LLVM_YAML_IS_DOCUMENT_LIST_VECTOR.

llvm-svn: 337695
This commit is contained in:
Jonas Devlieghere 2018-07-23 14:17:43 +00:00
parent f980fa1767
commit 52f3fce00c

View File

@ -1020,7 +1020,7 @@ object. For example:
// Reading multiple documents in one file // Reading multiple documents in one file
using llvm::yaml::Input; using llvm::yaml::Input;
LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(std::vector<MyDocType>) LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(MyDocType)
Input yin(mb.getBuffer()); Input yin(mb.getBuffer());