diff options
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.h')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkResult.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h index 3a7d241dbd0..cf9bcece99a 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h @@ -50,14 +50,9 @@ struct InstructionBenchmark { std::string Info; static InstructionBenchmark readYamlOrDie(llvm::StringRef Filename); - static std::vector<InstructionBenchmark> + static std::vector<InstructionBenchmark> readYamlsOrDie(llvm::StringRef Filename); - // Read functions. - readYamlsOrDie(llvm::StringRef Filename); - void readYamlFrom(llvm::StringRef InputContent); - - // Write functions, non-const because of YAML traits. - void writeYamlTo(llvm::raw_ostream &S); + // Unfortunately this function is non const because of YAML traits. void writeYamlOrDie(const llvm::StringRef Filename); }; |

