Skip to content
Snippets Groups Projects
Commit a1f8f9e0 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

[CommonOptionsParser] Return source paths as const ref.

This saves a superfluous copy and makes managing the lifetime of the
returned strings a bit easier.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271262 91177308-0d34-0410-b5e6-96231b3b80d8
parent 37145f10
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ public:
}
/// Returns a list of source file paths to process.
std::vector<std::string> getSourcePathList() {
const std::vector<std::string> &getSourcePathList() const {
return SourcePathList;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment