summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-modernize
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 22:01:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 22:01:48 +0000
commit002840cf66d535a1627a226ed08c74281f2e21be (patch)
tree675b868ceff88c0ef47a26a4d1ae72316fd31662 /clang-tools-extra/clang-modernize
parentadccf860ac03c34c0726ea1df0ce1b3d6b4d9571 (diff)
downloadbcm5719-llvm-002840cf66d535a1627a226ed08c74281f2e21be.tar.gz
bcm5719-llvm-002840cf66d535a1627a226ed08c74281f2e21be.zip
Quick build fix.
llvm-svn: 210838
Diffstat (limited to 'clang-tools-extra/clang-modernize')
-rw-r--r--clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp1
-rw-r--r--clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp
index 3d08a0b6838..2e4f1c21a57 100644
--- a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp
+++ b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp
@@ -21,6 +21,7 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
+using std::error_code;
/// A string type to represent paths.
typedef SmallString<64> PathString;
diff --git a/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp b/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp
index 19e2ddf748f..6af01b811bd 100644
--- a/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp
+++ b/clang-tools-extra/clang-modernize/Core/ReplacementHandling.cpp
@@ -23,6 +23,7 @@
using namespace llvm;
using namespace llvm::sys;
using namespace clang::tooling;
+using std::error_code;
bool ReplacementHandling::findClangApplyReplacements(const char *Argv0) {
CARPath = FindProgramByName("clang-apply-replacements");
OpenPOWER on IntegriCloud