[llvm] r210578 - Reorder includes to be sorted.

Justin Bogner mail at justinbogner.com
Wed Jun 25 11:48:22 PDT 2014


Eric Christopher <echristo at gmail.com> writes:
> --- llvm/trunk/lib/CodeGen/Analysis.cpp (original)
> +++ llvm/trunk/lib/CodeGen/Analysis.cpp Tue Jun 10 15:39:35 2014
> @@ -11,8 +11,8 @@
>  //
>  //===----------------------------------------------------------------------===//
>  
> -#include "llvm/CodeGen/Analysis.h"
>  #include "llvm/Analysis/ValueTracking.h"
> +#include "llvm/CodeGen/Analysis.h"
>  #include "llvm/CodeGen/MachineFunction.h"
>  #include "llvm/IR/DataLayout.h"
>  #include "llvm/IR/DerivedTypes.h"

In this case, CodeGen/Analysis.h is the "main module header" or "API
header", so it really did belong first.



More information about the llvm-commits mailing list