Declare internal helper functions in option_processor-internal.
It's better for testing, while keeping it clear that these functions should not be used outside of option_processor.cc.
RELNOTES: None.
PiperOrigin-RevId: 193947022
diff --git a/src/main/cpp/option_processor-internal.h b/src/main/cpp/option_processor-internal.h
index 301d2be..8ebfb64 100644
--- a/src/main/cpp/option_processor-internal.h
+++ b/src/main/cpp/option_processor-internal.h
@@ -17,6 +17,8 @@
#include <algorithm>
+#include "src/main/cpp/rc_file.h"
+#include "src/main/cpp/util/exit_code.h"
#include "src/main/cpp/util/file.h"
namespace blaze {
@@ -28,6 +30,11 @@
std::vector<std::string> DedupeBlazercPaths(
const std::vector<std::string>& paths);
+std::string FindRcAlongsideBinary(const std::string& cwd,
+ const std::string& path_to_binary);
+
+blaze_exit_code::ExitCode ParseErrorToExitCode(RcFile::ParseError parse_error);
+
} // namespace internal
} // namespace blaze