mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01: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:
14
gen/arrays.h
14
gen/arrays.h
@@ -11,12 +11,18 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVMC_GEN_ARRAYS_H
|
||||
#define LLVMC_GEN_ARRAYS_H
|
||||
#ifndef LDC_GEN_ARRAYS_H
|
||||
#define LDC_GEN_ARRAYS_H
|
||||
|
||||
#include "lexer.h"
|
||||
#include "gen/llvm.h"
|
||||
|
||||
struct ArrayInitializer;
|
||||
|
||||
struct DSliceValue;
|
||||
struct DValue;
|
||||
struct Expression;
|
||||
struct Loc;
|
||||
struct Type;
|
||||
|
||||
llvm::StructType* DtoArrayType(Type* arrayTy);
|
||||
llvm::StructType* DtoArrayType(LLType* elemTy);
|
||||
@@ -69,4 +75,4 @@ DValue* DtoCastArray(Loc& loc, DValue* val, Type* to);
|
||||
// generates an array bounds check
|
||||
void DtoArrayBoundsCheck(Loc& loc, DValue* arr, DValue* index, DValue* lowerBound = 0);
|
||||
|
||||
#endif // LLVMC_GEN_ARRAYS_H
|
||||
#endif // LDC_GEN_ARRAYS_H
|
||||
|
||||
Reference in New Issue
Block a user