diff options
Diffstat (limited to 'llvm/unittests/ADT/SCCIteratorTest.cpp')
| -rw-r--r-- | llvm/unittests/ADT/SCCIteratorTest.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/SCCIteratorTest.cpp b/llvm/unittests/ADT/SCCIteratorTest.cpp index 4835095..5f08829 100644 --- a/llvm/unittests/ADT/SCCIteratorTest.cpp +++ b/llvm/unittests/ADT/SCCIteratorTest.cpp @@ -21,7 +21,7 @@ TEST(SCCIteratorTest, AllSmallGraphs) {    // create graphs for which every node has a self-edge.  #define NUM_NODES 4  #define NUM_GRAPHS (NUM_NODES * (NUM_NODES - 1)) -  typedef Graph<NUM_NODES> GT; +  using GT = Graph<NUM_NODES>;    /// Enumerate all graphs using NUM_GRAPHS bits.    static_assert(NUM_GRAPHS < sizeof(unsigned) * CHAR_BIT, "Too many graphs!");  | 
