diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 13:32:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 13:32:11 +0000 |
commit | 15c5784d3ce42afcd5b641532912d3b05d97d36b (patch) | |
tree | cbf024d55db787349c2e3bce8637a14c71f3b16c /clang-tools-extra/clang-modernize | |
parent | 559dd851b627576d85525cd3ad42488b7df83f1b (diff) | |
download | bcm5719-llvm-15c5784d3ce42afcd5b641532912d3b05d97d36b.tar.gz bcm5719-llvm-15c5784d3ce42afcd5b641532912d3b05d97d36b.zip |
Replace llvm::error_code with std::error_code.
llvm-svn: 210776
Diffstat (limited to 'clang-tools-extra/clang-modernize')
-rw-r--r-- | clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h index 16629e644d1..aa42c658708 100644 --- a/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h +++ b/clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h @@ -29,16 +29,16 @@ public: /// /// Returns error_code::success() on successful parse of the strings or /// an error_code indicating the encountered error. - llvm::error_code readListFromString(llvm::StringRef IncludeString, - llvm::StringRef ExcludeString); + std::error_code readListFromString(llvm::StringRef IncludeString, + llvm::StringRef ExcludeString); /// \brief Read and parse the lists of paths from \a IncludeListFile /// and \a ExcludeListFile. Each file should contain one path per line. /// /// Returns error_code::success() on successful read and parse of both files /// or an error_code indicating the encountered error. - llvm::error_code readListFromFile(llvm::StringRef IncludeListFile, - llvm::StringRef ExcludeListFile); + std::error_code readListFromFile(llvm::StringRef IncludeListFile, + llvm::StringRef ExcludeListFile); /// \brief Determine if the given path is in the list of include paths but /// not in the list of exclude paths. |