mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 22:50:53 +03: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:
parent
5616753768
commit
0a96aea868
80 changed files with 550 additions and 614 deletions
|
@ -13,22 +13,20 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "llvm/TableGen/Main.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/PathV1.h"
|
||||
#include "llvm/TableGen/Record.h"
|
||||
#if LDC_LLVM_VER < 302
|
||||
#include "llvm/TableGen/TableGenAction.h"
|
||||
#endif
|
||||
#include "llvm/TableGen/Record.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/PathV1.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <map>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
using namespace llvm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue