From fd85bb3424d395a0cacbf25443b1d37e97806d2c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jun 2014 16:53:02 +0000 Subject: [PATCH] include system_error directly. llvm-svn: 210797 --- .../include/clang-apply-replacements/Tooling/ApplyReplacements.h | 2 +- clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h | 2 +- clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp | 2 +- clang-tools-extra/clang-tidy/ClangTidyOptions.h | 2 +- clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp | 2 +- clang-tools-extra/unittests/clang-modernize/UniqueHeaderNameTest.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h b/clang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h index 2b77e9e4..af8c525 100644 --- a/clang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h +++ b/clang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h @@ -19,8 +19,8 @@ #include "clang/Tooling/Refactoring.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" -#include "llvm/Support/system_error.h" #include +#include #include namespace clang { diff --git a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h index aa42c65..5811d2c 100644 --- a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h +++ b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h @@ -17,7 +17,7 @@ #define CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H #include "llvm/ADT/StringRef.h" -#include "llvm/Support/system_error.h" +#include #include /// \brief Class encapsulating the handling of include and exclude paths diff --git a/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp b/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp index 5add980..19e2ddf 100644 --- a/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp +++ b/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp @@ -18,7 +18,7 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" -#include "llvm/Support/system_error.h" +#include using namespace llvm; using namespace llvm::sys; diff --git a/clang-tools-extra/clang-tidy/ClangTidyOptions.h b/clang-tools-extra/clang-tidy/ClangTidyOptions.h index 6234642..2354c93 100644 --- a/clang-tools-extra/clang-tidy/ClangTidyOptions.h +++ b/clang-tools-extra/clang-tidy/ClangTidyOptions.h @@ -11,8 +11,8 @@ #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANG_TIDY_OPTIONS_H #include "llvm/ADT/StringRef.h" -#include "llvm/Support/system_error.h" #include +#include #include #include diff --git a/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp b/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp index 768e4fa..3c95ad0 100644 --- a/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp +++ b/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp @@ -48,7 +48,7 @@ #include "llvm/Support/Path.h" #include "llvm/Support/Signals.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/system_error.h" +#include using namespace clang; using namespace clang::ast_matchers; diff --git a/clang-tools-extra/unittests/clang-modernize/UniqueHeaderNameTest.cpp b/clang-tools-extra/unittests/clang-modernize/UniqueHeaderNameTest.cpp index 45e8cce..2d20574 100644 --- a/clang-tools-extra/unittests/clang-modernize/UniqueHeaderNameTest.cpp +++ b/clang-tools-extra/unittests/clang-modernize/UniqueHeaderNameTest.cpp @@ -16,7 +16,7 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include "llvm/Support/Regex.h" -#include "llvm/Support/system_error.h" +#include TEST(UniqueHeaderName, testUniqueHeaderName) { using namespace llvm::sys::path; -- 2.7.4