diff options
Diffstat (limited to 'clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.h')
-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. |