aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-xray/trie-node.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-xray/trie-node.h')
-rw-r--r--llvm/tools/llvm-xray/trie-node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-xray/trie-node.h b/llvm/tools/llvm-xray/trie-node.h
index 7bff814..b42b029 100644
--- a/llvm/tools/llvm-xray/trie-node.h
+++ b/llvm/tools/llvm-xray/trie-node.h
@@ -21,6 +21,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
+namespace llvm {
/// A type to represent a trie of invocations. It is useful to construct a
/// graph of these nodes from reading an XRay trace, such that each function
/// call can be placed in a larger context.
@@ -87,5 +88,6 @@ mergeTrieNodes(const TrieNode<T> &Left, const TrieNode<T> &Right,
return Node;
}
+} // namespace llvm
#endif // LLVM_TOOLS_LLVM_XRAY_STACK_TRIE_H