[llvm] r308065 - [Dominators] Remove an extra semicolon and add a missing include.
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 15:24:15 PDT 2017
Author: kuhar
Date: Fri Jul 14 15:24:15 2017
New Revision: 308065
URL: http://llvm.org/viewvc/llvm-project?rev=308065&view=rev
Log:
[Dominators] Remove an extra semicolon and add a missing include.
Modified:
llvm/trunk/unittests/IR/DominatorTreeTest.cpp
Modified: llvm/trunk/unittests/IR/DominatorTreeTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/DominatorTreeTest.cpp?rev=308065&r1=308064&r2=308065&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/DominatorTreeTest.cpp (original)
+++ llvm/trunk/unittests/IR/DominatorTreeTest.cpp Fri Jul 14 15:24:15 2017
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include <random>
#include "llvm/Analysis/PostDominators.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Constants.h"
@@ -332,7 +333,7 @@ const auto Delete = CFGBuilder::ActionKi
bool CompUpdates(const CFGBuilder::Update &A, const CFGBuilder::Update &B) {
return std::tie(A.Action, A.Edge.From, A.Edge.To) <
std::tie(B.Action, B.Edge.From, B.Edge.To);
-};
+}
} // namespace
TEST(DominatorTree, InsertReachable) {
More information about the llvm-commits
mailing list