summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 14:02:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 14:02:15 +0000
commitc080917ec2d1b6cb94186875632fec9118b424b6 (patch)
tree831f417b0724dd04cbe075e5e2937c3dde0c4061 /clang/lib/Frontend/FrontendAction.cpp
parent6c97d979dfe45d5dd14a6aa44cbcc31dde0fc752 (diff)
downloadbcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.tar.gz
bcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.zip
Replace llvm::error_code with std::error_code.
llvm-svn: 210780
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
-rw-r--r--clang/lib/Frontend/FrontendAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index b0857490743..ed8b66b2186 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/lib/Frontend/FrontendAction.cpp
@@ -260,7 +260,7 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
if (const DirectoryEntry *PCHDir = FileMgr.getDirectory(PCHInclude)) {
- llvm::error_code EC;
+ std::error_code EC;
SmallString<128> DirNative;
llvm::sys::path::native(PCHDir->getName(), DirNative);
bool Found = false;
OpenPOWER on IntegriCloud