We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80e076 commit 5602078Copy full SHA for 5602078
llvm/include/llvm/ADT/RadixTree.h
@@ -49,10 +49,10 @@ namespace llvm {
49
/// Tree.emplace("grape", 3);
50
///
51
/// // Find prefixes
52
-/// for (const auto &pair : Tree.find_prefixes("grapefruit juice")) {
+/// for (const auto &[Key, Value] : Tree.find_prefixes("grapefruit juice")) {
53
/// // pair will be {"grape", 3}
54
/// // pair will be {"grapefruit", 2}
55
-/// llvm::outs() << pair.first << ": " << pair.second << "\n";
+/// llvm::outs() << Key << ": " << Value << "\n";
56
/// }
57
58
/// // Iterate over all elements
0 commit comments