mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-13 10:54:10 +02:00
Sort includes according to style guidelines:
1. Main include corresponding to .cpp file, if any. 2. DMD and LDC includes. 3. LLVM includes. 4. System includes. Also updated a few include guards to match the default format.
This commit is contained in:
@@ -7,26 +7,23 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "expression.h"
|
||||
#include "declaration.h"
|
||||
#include "statement.h"
|
||||
#include "template.h"
|
||||
#include "gen/dvalue.h"
|
||||
#include "gen/irstate.h"
|
||||
#include "gen/llvm.h"
|
||||
#include "gen/llvmhelpers.h"
|
||||
#include "gen/logger.h"
|
||||
#include "gen/tollvm.h"
|
||||
#if LDC_LLVM_VER >= 303
|
||||
#include "llvm/IR/InlineAsm.h"
|
||||
#else
|
||||
#include "llvm/InlineAsm.h"
|
||||
#endif
|
||||
|
||||
#include "expression.h"
|
||||
#include "statement.h"
|
||||
#include "declaration.h"
|
||||
#include "template.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "gen/logger.h"
|
||||
#include "gen/irstate.h"
|
||||
#include "gen/llvmhelpers.h"
|
||||
#include "gen/tollvm.h"
|
||||
#include "gen/dvalue.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void Statement::toNakedIR(IRState *p)
|
||||
|
||||
Reference in New Issue
Block a user