[llvm] r251326 - Move the canonical header to the top of its matching cpp file as per coding convention
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 11:40:56 PDT 2015
Author: dblaikie
Date: Mon Oct 26 13:40:56 2015
New Revision: 251326
URL: http://llvm.org/viewvc/llvm-project?rev=251326&view=rev
Log:
Move the canonical header to the top of its matching cpp file as per coding convention
This ensures that the header will be verified to be standalone (and
avoid mistakes like the one fixed in r251178)
Modified:
llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp?rev=251326&r1=251325&r2=251326&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp Mon Oct 26 13:40:56 2015
@@ -13,12 +13,13 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Transforms/Utils/LoopVersioning.h"
+
#include "llvm/Analysis/LoopAccessAnalysis.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Cloning.h"
-#include "llvm/Transforms/Utils/LoopVersioning.h"
using namespace llvm;
More information about the llvm-commits
mailing list