#pragma once // // This file is distributed under the MIT License. See LICENSE.md for details. // #include #include #include std::string getCurrentExecutableFullPath(); std::string getCurrentRoot(); class PathList { public: PathList(const std::vector &Paths) : SearchPaths(Paths) {} std::optional findFile(llvm::StringRef FileName) const; private: std::vector SearchPaths; };