]> granicus.if.org Git - clang/commitdiff
Re-sort #include lines using the llvm/utils/sort_includes.py script.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jan 2013 10:28:36 +0000 (10:28 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jan 2013 10:28:36 +0000 (10:28 +0000)
Removes a duplicate #include as well as cleaning up some sort order
regressions since I last ran the script over Clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171364 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/MultiplexConsumer.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGOpenCLRuntime.cpp
lib/Format/Format.cpp
lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
tools/libclang/CIndexCodeCompletion.cpp
tools/libclang/CXComment.cpp
tools/libclang/Indexing.cpp

index 80f3e37258b95ab491598b341e0f9d90cb02ad3b..6ea7547c71401bfc9835337bd7af053ff3476be7 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef CLANG_FRONTEND_MULTIPLEXCONSUMER_H
 #define CLANG_FRONTEND_MULTIPLEXCONSUMER_H
 
-#include "clang/Basic/LLVM.h"
 #include "clang/Basic/LLVM.h"
 #include "clang/Sema/SemaConsumer.h"
 #include "llvm/ADT/OwningPtr.h"
index 4568a2c1c96b276cd55c0f61ca1deffc26b51aa2..f9d3a178d9c6a48bf7ca6430080ba843225f81f5 100644 (file)
@@ -22,7 +22,6 @@
 #include "llvm/MC/SubtargetFeature.h"
 #include "llvm/Module.h"
 #include "llvm/PassManager.h"
-#include "llvm/TargetTransformInfo.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/FormattedStream.h"
 #include "llvm/Support/PrettyStackTrace.h"
@@ -32,6 +31,7 @@
 #include "llvm/Target/TargetLibraryInfo.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetOptions.h"
+#include "llvm/TargetTransformInfo.h"
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Transforms/IPO/PassManagerBuilder.h"
 #include "llvm/Transforms/Instrumentation.h"
index 6052c51e22c21488faa2d5d2a44ed32211bfe243..c6d74decb26c1d85fb1dc6998d84c0aca34b4d59 100644 (file)
@@ -15,8 +15,8 @@
 
 #include "CGOpenCLRuntime.h"
 #include "CodeGenFunction.h"
-#include "llvm/GlobalValue.h"
 #include "llvm/DerivedTypes.h"
+#include "llvm/GlobalValue.h"
 #include <assert.h>
 
 using namespace clang;
index b304e2bf3d70efe4f8668a970a1a33f6948f280a..49913aee2e492c96b14a3b257443acbd9157ef3b 100644 (file)
 
 #include "clang/Format/Format.h"
 #include "UnwrappedLineParser.h"
-#include "clang/Basic/SourceManager.h"
 #include "clang/Basic/OperatorPrecedence.h"
+#include "clang/Basic/SourceManager.h"
 #include "clang/Lex/Lexer.h"
-
 #include <string>
 
 namespace clang {
index 28266728a1891dac5926b725ee5b02c883a96dca..326b624d5e79c8539f36320348c2d60bc0bac10c 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
-#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/Version.h"
 #include "clang/Lex/Preprocessor.h"
 #include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
+#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/Casting.h"
index 07aa5b074ae04f21f34b7ab53ecc26dce6364d1d..c2c5256d9ce1e06d512c20d365e97b36724b0509 100644 (file)
@@ -37,9 +37,9 @@
 #include "clang/StaticAnalyzer/Frontend/CheckerRegistration.h"
 #include "llvm/ADT/DepthFirstIterator.h"
 #include "llvm/ADT/OwningPtr.h"
+#include "llvm/ADT/PostOrderIterator.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/Statistic.h"
-#include "llvm/ADT/PostOrderIterator.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Program.h"
 #include "llvm/Support/Timer.h"
index c1ee6097c9c21d2f8f02f4c761b5d688f2f1c8c6..df3ed9044c128a97c735ae7a39f369e2ecfd1964 100644 (file)
@@ -16,7 +16,6 @@
 #include "CIndexDiagnostic.h"
 #include "CXCursor.h"
 #include "CXString.h"
-#include "CXString.h"
 #include "CXTranslationUnit.h"
 #include "clang/AST/Decl.h"
 #include "clang/AST/DeclObjC.h"
index 754f79612bf0976a5c70de830b30498d13be861a..d831885e276becea24e67027362983b9fe86ee91 100644 (file)
 #include "clang/AST/CommentVisitor.h"
 #include "clang/AST/Decl.h"
 #include "clang/AST/PrettyPrinter.h"
+#include "clang/Format/Format.h"
+#include "clang/Lex/Lexer.h"
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
-#include "clang/Format/Format.h"
-#include "clang/Lex/Lexer.h"
 #include <climits>
 
 using namespace clang;
index df6f7be9faed59f9bbebaa5f55c42d7d735f73e3..e3c24700366312e2fbf1e5d46a3d2ba231788a2c 100644 (file)
 #include "clang/Frontend/CompilerInvocation.h"
 #include "clang/Frontend/FrontendAction.h"
 #include "clang/Frontend/Utils.h"
+#include "clang/Lex/HeaderSearch.h"
 #include "clang/Lex/PPCallbacks.h"
-#include "clang/Lex/Preprocessor.h"
 #include "clang/Lex/PPConditionalDirectiveRecord.h"
-#include "clang/Lex/HeaderSearch.h"
+#include "clang/Lex/Preprocessor.h"
 #include "clang/Sema/SemaConsumer.h"
 #include "llvm/Support/CrashRecoveryContext.h"
 #include "llvm/Support/MemoryBuffer.h"