Skip to content

Commit

Permalink
Document GetArgReplacements
Browse files Browse the repository at this point in the history
  • Loading branch information
dwblaikie committed Aug 22, 2024
1 parent 96a8c43 commit 585f14f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/file_test/file_test_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class FileTestBase : public testing::Test {
// Returns default arguments. Only called when a file doesn't set ARGS.
virtual auto GetDefaultArgs() -> llvm::SmallVector<std::string> = 0;

// Returns a map of string replacements to implement `%{key}` -> `value` in
// arguments.
virtual auto GetArgReplacements() -> llvm::StringMap<std::string> {
return {};
}
Expand Down

0 comments on commit 585f14f

Please sign in to comment.