summaryrefslogtreecommitdiff
path: root/unittests/ADT/TestGraph.h
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-08-31 16:48:13 +0000
committerTim Shen <timshen91@gmail.com>2016-08-31 16:48:13 +0000
commitb62ba77b89638d71946fa361ee4fa6bd48946948 (patch)
tree72988606c62de8314ede1ceef4013c7a1dede02d /unittests/ADT/TestGraph.h
parent33f98b3b901efd4ec17d31dc1203fb0edcaeff56 (diff)
s/static inline/static/ for headers I have changed in r279475. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/TestGraph.h')
-rw-r--r--unittests/ADT/TestGraph.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/unittests/ADT/TestGraph.h b/unittests/ADT/TestGraph.h
index 91d7333d72f..1c495d24bc0 100644
--- a/unittests/ADT/TestGraph.h
+++ b/unittests/ADT/TestGraph.h
@@ -237,13 +237,11 @@ struct GraphTraits<Graph<N> > {
typedef typename Graph<N>::NodeType *NodeRef;
typedef typename Graph<N>::ChildIterator ChildIteratorType;
- static inline NodeRef getEntryNode(const Graph<N> &G) {
- return G.AccessNode(0);
- }
- static inline ChildIteratorType child_begin(NodeRef Node) {
+ static NodeRef getEntryNode(const Graph<N> &G) { return G.AccessNode(0); }
+ static ChildIteratorType child_begin(NodeRef Node) {
return Graph<N>::child_begin(Node);
}
- static inline ChildIteratorType child_end(NodeRef Node) {
+ static ChildIteratorType child_end(NodeRef Node) {
return Graph<N>::child_end(Node);
}
};