Skip to content

Commit 5602078

Browse files
Update llvm/include/llvm/ADT/RadixTree.h
Co-authored-by: Kazu Hirata <[email protected]>
1 parent f80e076 commit 5602078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ADT/RadixTree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ namespace llvm {
4949
/// Tree.emplace("grape", 3);
5050
///
5151
/// // Find prefixes
52-
/// for (const auto &pair : Tree.find_prefixes("grapefruit juice")) {
52+
/// for (const auto &[Key, Value] : Tree.find_prefixes("grapefruit juice")) {
5353
/// // pair will be {"grape", 3}
5454
/// // pair will be {"grapefruit", 2}
55-
/// llvm::outs() << pair.first << ": " << pair.second << "\n";
55+
/// llvm::outs() << Key << ": " << Value << "\n";
5656
/// }
5757
///
5858
/// // Iterate over all elements

0 commit comments

Comments
 (0)