diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:13:33 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:13:33 +0000 |
commit | 55fc873017f10f6f566b182b70f6fc22aefa3464 (patch) | |
tree | bf3ca2cdbb0fb8219a8aa4adb0fafbab4b49a49d /lib/Format | |
parent | d031c6aa0cb70000381b587574ce560ffbc59d00 (diff) |
Sort all of Clang's files under 'lib', and fix up the broken headers
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format')
-rw-r--r-- | lib/Format/Format.cpp | 4 | ||||
-rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 1 | ||||
-rw-r--r-- | lib/Format/UnwrappedLineParser.h | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 4104bd3e6c..6ca70c7fad 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -17,12 +17,10 @@ //===----------------------------------------------------------------------===// #include "clang/Format/Format.h" - +#include "UnwrappedLineParser.h" #include "clang/Basic/SourceManager.h" #include "clang/Lex/Lexer.h" -#include "UnwrappedLineParser.h" - namespace clang { namespace format { diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index 8dc1278e04..d9ff99d3cb 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -17,7 +17,6 @@ //===----------------------------------------------------------------------===// #include "UnwrappedLineParser.h" - #include "llvm/Support/raw_ostream.h" namespace clang { diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h index 1e6899e092..3bde7819d6 100644 --- a/lib/Format/UnwrappedLineParser.h +++ b/lib/Format/UnwrappedLineParser.h @@ -1,4 +1,4 @@ -//===--- UnwrappedLineParser.cpp - Format C++ code ------------------------===// +//===--- UnwrappedLineParser.h - Format C++ code ----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -19,8 +19,8 @@ #ifndef LLVM_CLANG_FORMAT_UNWRAPPED_LINE_PARSER_H #define LLVM_CLANG_FORMAT_UNWRAPPED_LINE_PARSER_H -#include "clang/Basic/SourceManager.h" #include "clang/Basic/IdentifierTable.h" +#include "clang/Basic/SourceManager.h" #include "clang/Lex/Lexer.h" namespace clang { |