[PATCH] D28778: Use a test fixture for LoopInfoTest.

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 11:57:33 PST 2017


sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: unittests/Analysis/LoopInfoTest.cpp:21
+static void runWithLoopInfo(Module &M, StringRef FuncName,
+                function_ref<void(Function &F, LoopInfo &LI)> Test) {
+  auto *F = M.getFunction(FuncName);
----------------
Please clang-format.


https://reviews.llvm.org/D28778





More information about the llvm-commits mailing list