[clang-tools-extra] r210797 - include system_error directly.

Rafael Espindola rafael.espindola at gmail.com
Thu Jun 12 09:53:02 PDT 2014


Author: rafael
Date: Thu Jun 12 11:53:02 2014
New Revision: 210797

URL: http://llvm.org/viewvc/llvm-project?rev=210797&view=rev
Log:
include system_error directly.

Modified:
    clang-tools-extra/trunk/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h
    clang-tools-extra/trunk/clang-modernize/Core/IncludeExcludeInfo.h
    clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp
    clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h
    clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp
    clang-tools-extra/trunk/unittests/clang-modernize/UniqueHeaderNameTest.cpp

Modified: clang-tools-extra/trunk/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h (original)
+++ clang-tools-extra/trunk/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h Thu Jun 12 11:53:02 2014
@@ -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 <string>
+#include <system_error>
 #include <vector>
 
 namespace clang {

Modified: clang-tools-extra/trunk/clang-modernize/Core/IncludeExcludeInfo.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-modernize/Core/IncludeExcludeInfo.h?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-modernize/Core/IncludeExcludeInfo.h (original)
+++ clang-tools-extra/trunk/clang-modernize/Core/IncludeExcludeInfo.h Thu Jun 12 11:53:02 2014
@@ -17,7 +17,7 @@
 #define CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H
 
 #include "llvm/ADT/StringRef.h"
-#include "llvm/Support/system_error.h"
+#include <system_error>
 #include <vector>
 
 /// \brief Class encapsulating the handling of include and exclude paths

Modified: clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp (original)
+++ clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp Thu Jun 12 11:53:02 2014
@@ -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 <system_error>
 
 using namespace llvm;
 using namespace llvm::sys;

Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.h Thu Jun 12 11:53:02 2014
@@ -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 <string>
+#include <system_error>
 #include <utility>
 #include <vector>
 

Modified: clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp (original)
+++ clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp Thu Jun 12 11:53:02 2014
@@ -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 <system_error>
 
 using namespace clang;
 using namespace clang::ast_matchers;

Modified: clang-tools-extra/trunk/unittests/clang-modernize/UniqueHeaderNameTest.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-modernize/UniqueHeaderNameTest.cpp?rev=210797&r1=210796&r2=210797&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-modernize/UniqueHeaderNameTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-modernize/UniqueHeaderNameTest.cpp Thu Jun 12 11:53:02 2014
@@ -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 <system_error>
 
 TEST(UniqueHeaderName, testUniqueHeaderName) {
   using namespace llvm::sys::path;





More information about the cfe-commits mailing list