diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
| commit | 9986295b4f4702e5e02102cb257ae71fceedffec (patch) | |
| tree | d2c566c85a6ef92e698ec19be71888839dc3645a /lib/Tooling/Refactoring.cpp | |
| parent | 43a42fb5cd0c1eb7a5f3ac97b9d5e77c10bd8c22 (diff) | |
| download | clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.gz clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.bz2 clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.xz | |
Replace llvm::error_code with std::error_code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/Refactoring.cpp')
| -rw-r--r-- | lib/Tooling/Refactoring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tooling/Refactoring.cpp b/lib/Tooling/Refactoring.cpp index 4b4056b8c0..c96b8c92a9 100644 --- a/lib/Tooling/Refactoring.cpp +++ b/lib/Tooling/Refactoring.cpp @@ -110,7 +110,7 @@ void Replacement::setFromSourceLocation(const SourceManager &Sources, // Make FilePath absolute so replacements can be applied correctly when // relative paths for files are used. llvm::SmallString<256> FilePath(Entry->getName()); - llvm::error_code EC = llvm::sys::fs::make_absolute(FilePath); + std::error_code EC = llvm::sys::fs::make_absolute(FilePath); this->FilePath = EC ? FilePath.c_str() : Entry->getName(); } else { this->FilePath = InvalidLocation; |
