include system_error directly.

llvm-svn: 210797
This commit is contained in:
Rafael Espindola 2014-06-12 16:53:02 +00:00
parent 033ecd1cc8
commit fd85bb3424
6 changed files with 6 additions and 6 deletions

View File

@ -19,8 +19,8 @@
#include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Refactoring.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/system_error.h"
#include <string> #include <string>
#include <system_error>
#include <vector> #include <vector>
namespace clang { namespace clang {

View File

@ -17,7 +17,7 @@
#define CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H #define CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/system_error.h" #include <system_error>
#include <vector> #include <vector>
/// \brief Class encapsulating the handling of include and exclude paths /// \brief Class encapsulating the handling of include and exclude paths

View File

@ -18,7 +18,7 @@
#include "llvm/Support/FileSystem.h" #include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/Program.h" #include "llvm/Support/Program.h"
#include "llvm/Support/system_error.h" #include <system_error>
using namespace llvm; using namespace llvm;
using namespace llvm::sys; using namespace llvm::sys;

View File

@ -11,8 +11,8 @@
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/system_error.h"
#include <string> #include <string>
#include <system_error>
#include <utility> #include <utility>
#include <vector> #include <vector>

View File

@ -48,7 +48,7 @@
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/Signals.h" #include "llvm/Support/Signals.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;
using namespace clang::ast_matchers; using namespace clang::ast_matchers;

View File

@ -16,7 +16,7 @@
#include "llvm/Support/FileSystem.h" #include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/Regex.h" #include "llvm/Support/Regex.h"
#include "llvm/Support/system_error.h" #include <system_error>
TEST(UniqueHeaderName, testUniqueHeaderName) { TEST(UniqueHeaderName, testUniqueHeaderName) {
using namespace llvm::sys::path; using namespace llvm::sys::path;