[llvm-commits] [llvm] r79744 - /llvm/trunk/lib/MC/MCAssembler.cpp

Chris Lattner sabre at nondot.org
Sat Aug 22 17:38:46 PDT 2009


On Aug 22, 2009, at 5:27 PM, Daniel Dunbar wrote:

> On Sat, Aug 22, 2009 at 12:19 PM, Chris Lattner<sabre at nondot.org>  
> wrote:
>> Author: lattner
>> Date: Sat Aug 22 14:19:12 2009
>> New Revision: 79744
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=79744&view=rev
>> Log:
>> tweak #includes
>
> Why? This goes against the coding style, as I understand it.

How?  Support/adt should go at the end, redundant #includes get zapped.

-Chris

>
> - Daniel
>
>> Modified:
>>    llvm/trunk/lib/MC/MCAssembler.cpp
>>
>> Modified: llvm/trunk/lib/MC/MCAssembler.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAssembler.cpp?rev=79744&r1=79743&r2=79744&view=diff
>>
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> --- llvm/trunk/lib/MC/MCAssembler.cpp (original)
>> +++ llvm/trunk/lib/MC/MCAssembler.cpp Sat Aug 22 14:19:12 2009
>> @@ -8,17 +8,14 @@
>>  // 
>> = 
>> = 
>> = 
>> ----------------------------------------------------------------------= 
>> ==//
>>
>>  #include "llvm/MC/MCAssembler.h"
>> -
>> +#include "llvm/MC/MCSectionMachO.h"
>> +#include "llvm/Target/TargetMachOWriterInfo.h"
>>  #include "llvm/ADT/DenseMap.h"
>>  #include "llvm/ADT/SmallString.h"
>>  #include "llvm/ADT/StringMap.h"
>>  #include "llvm/ADT/Twine.h"
>> -#include "llvm/MC/MCSectionMachO.h"
>> -#include "llvm/Support/DataTypes.h"
>>  #include "llvm/Support/ErrorHandling.h"
>>  #include "llvm/Support/raw_ostream.h"
>> -#include "llvm/Target/TargetMachOWriterInfo.h"
>> -
>>  using namespace llvm;
>>
>>  class MachObjectWriter;
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list