From: David Blaikie Date: Fri, 23 Sep 2011 05:57:42 +0000 (+0000) Subject: More missing header inclusions from llvm_unreachable migration. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=548f6c8e8010b181cb151df92f0a989363cb993e;p=clang More missing header inclusions from llvm_unreachable migration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140369 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Action.cpp b/lib/Driver/Action.cpp index 65faa4ecee..a7feed12db 100644 --- a/lib/Driver/Action.cpp +++ b/lib/Driver/Action.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "clang/Driver/Action.h" +#include "llvm/Support/ErrorHandling.h" #include using namespace clang::driver; diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index d82c93a885..b7d8f68e69 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -32,6 +32,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringSet.h" #include "llvm/ADT/OwningPtr.h" +#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/FileSystem.h" diff --git a/lib/Driver/OptTable.cpp b/lib/Driver/OptTable.cpp index 81e2022c0f..4f5390b6e2 100644 --- a/lib/Driver/OptTable.cpp +++ b/lib/Driver/OptTable.cpp @@ -12,6 +12,7 @@ #include "clang/Driver/ArgList.h" #include "clang/Driver/Option.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/ErrorHandling.h" #include #include using namespace clang::driver; diff --git a/lib/Driver/Option.cpp b/lib/Driver/Option.cpp index f1ef7ab175..cd93dd832b 100644 --- a/lib/Driver/Option.cpp +++ b/lib/Driver/Option.cpp @@ -12,6 +12,7 @@ #include "clang/Driver/Arg.h" #include "clang/Driver/ArgList.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/ErrorHandling.h" #include #include using namespace clang::driver; diff --git a/lib/Driver/Phases.cpp b/lib/Driver/Phases.cpp index d7f6ab9447..c465e1d279 100644 --- a/lib/Driver/Phases.cpp +++ b/lib/Driver/Phases.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "clang/Driver/Phases.h" +#include "llvm/Support/ErrorHandling.h" #include diff --git a/lib/Frontend/TextDiagnosticBuffer.cpp b/lib/Frontend/TextDiagnosticBuffer.cpp index c03ac54411..f540fcab97 100644 --- a/lib/Frontend/TextDiagnosticBuffer.cpp +++ b/lib/Frontend/TextDiagnosticBuffer.cpp @@ -13,6 +13,7 @@ #include "clang/Frontend/TextDiagnosticBuffer.h" #include "llvm/ADT/SmallString.h" +#include "llvm/Support/ErrorHandling.h" using namespace clang; /// HandleDiagnostic - Store the errors, warnings, and notes that are diff --git a/lib/Frontend/TextDiagnosticPrinter.cpp b/lib/Frontend/TextDiagnosticPrinter.cpp index 762a7c528c..17e63b9ab9 100644 --- a/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/lib/Frontend/TextDiagnosticPrinter.cpp @@ -18,6 +18,7 @@ #include "clang/Lex/Lexer.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/ErrorHandling.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringExtras.h" #include