Include system_error directly.

llvm-svn: 210802
This commit is contained in:
Rafael Espindola 2014-06-12 17:19:42 +00:00
parent 54427ccef3
commit 8a8e554adc
15 changed files with 15 additions and 16 deletions

View File

@ -17,7 +17,7 @@
#include "clang/Frontend/FrontendAction.h" #include "clang/Frontend/FrontendAction.h"
#include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Refactoring.h"
#include "llvm/Support/system_error.h" #include <system_error>
namespace clang { namespace clang {

View File

@ -25,10 +25,10 @@
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <map> #include <map>
#include <set> #include <set>
#include <string> #include <string>
#include <system_error>
using namespace clang; using namespace clang;

View File

@ -30,9 +30,8 @@
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/Program.h" #include "llvm/Support/Program.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <cstdlib> // ::getenv #include <cstdlib> // ::getenv
#include <system_error>
using namespace clang::driver; using namespace clang::driver;
using namespace clang::driver::toolchains; using namespace clang::driver::toolchains;

View File

@ -44,8 +44,8 @@
#include "llvm/Support/Signals.h" #include "llvm/Support/Signals.h"
#include "llvm/Support/Timer.h" #include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <system_error>
#include <time.h> #include <time.h>
using namespace clang; using namespace clang;

View File

@ -33,10 +33,10 @@
#include "llvm/Support/Host.h" #include "llvm/Support/Host.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/Process.h" #include "llvm/Support/Process.h"
#include "llvm/Support/system_error.h"
#include <atomic> #include <atomic>
#include <memory> #include <memory>
#include <sys/stat.h> #include <sys/stat.h>
#include <system_error>
using namespace clang; using namespace clang;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -30,7 +30,7 @@
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Timer.h" #include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h" #include <system_error>
using namespace clang; using namespace clang;
namespace { namespace {

View File

@ -24,8 +24,8 @@
#include "llvm/Support/FileSystem.h" #include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <memory> #include <memory>
#include <system_error>
using namespace clang; using namespace clang;

View File

@ -25,8 +25,8 @@
#include "llvm/Support/EndianStream.h" #include "llvm/Support/EndianStream.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/OnDiskHashTable.h" #include "llvm/Support/OnDiskHashTable.h"
#include "llvm/Support/system_error.h"
#include <memory> #include <memory>
#include <system_error>
using namespace clang; using namespace clang;
#define DISK_TOKEN_SIZE (1+1+2+4+4) #define DISK_TOKEN_SIZE (1+1+2+4+4)

View File

@ -52,10 +52,10 @@
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/SaveAndRestore.h" #include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <algorithm> #include <algorithm>
#include <cstdio> #include <cstdio>
#include <iterator> #include <iterator>
#include <system_error>
using namespace clang; using namespace clang;
using namespace clang::serialization; using namespace clang::serialization;

View File

@ -18,7 +18,7 @@
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h" #include <system_error>
#ifndef NDEBUG #ifndef NDEBUG
#include "llvm/Support/GraphWriter.h" #include "llvm/Support/GraphWriter.h"

View File

@ -27,8 +27,8 @@
#include "llvm/Option/Arg.h" #include "llvm/Option/Arg.h"
#include "llvm/Support/Host.h" #include "llvm/Support/Host.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/system_error.h"
#include <sstream> #include <sstream>
#include <system_error>
namespace clang { namespace clang {
namespace tooling { namespace tooling {

View File

@ -17,7 +17,7 @@
#include "clang/Tooling/Tooling.h" #include "clang/Tooling/Tooling.h"
#include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallString.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/system_error.h" #include <system_error>
namespace clang { namespace clang {
namespace tooling { namespace tooling {

View File

@ -16,7 +16,7 @@
#include "llvm/Support/FileSystem.h" #include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Signals.h" #include "llvm/Support/Signals.h"
#include "llvm/Support/system_error.h" #include <system_error>
using namespace clang; using namespace clang;
using namespace arcmt; using namespace arcmt;

View File

@ -53,8 +53,8 @@
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/Timer.h" #include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <memory> #include <memory>
#include <system_error>
using namespace clang; using namespace clang;
using namespace clang::driver; using namespace clang::driver;
using namespace llvm; using namespace llvm;

View File

@ -45,8 +45,8 @@
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/Timer.h" #include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
#include <memory> #include <memory>
#include <system_error>
using namespace clang; using namespace clang;
using namespace clang::driver; using namespace clang::driver;
using namespace llvm::opt; using namespace llvm::opt;