From e9e340e75ee0addeeb305561f51dc1da54ba8d01 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Mon, 27 Apr 2015 22:08:01 +0000 Subject: [PATCH] LTO: Correct some doxygen comments about API availability These look like copy/paste errors, and shouldn't have the "prior to" qualifier. Each API was introduced at the given values of `LTO_API_VERSION`. The "prior to" in other doxygen comments is because I couldn't easily differentiate between versions 1 and 2 when I added these comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235925 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/lto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 2f3aac7ed87..9d0d7263a58 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -171,7 +171,7 @@ lto_module_create_from_memory(const void* mem, size_t length); * Loads an object file from memory with an extra path argument. * Returns NULL on error (check lto_get_error_message() for details). * - * \since prior to LTO_API_VERSION=9 + * \since LTO_API_VERSION=9 */ extern lto_module_t lto_module_create_from_memory_with_path(const void* mem, size_t length, @@ -401,7 +401,7 @@ lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); * * \c cg and \c mod must both be in the same context. * - * \since prior to LTO_API_VERSION=13 + * \since LTO_API_VERSION=13 */ extern void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); @@ -552,7 +552,7 @@ lto_initialize_disassembler(void); * Sets if we should run internalize pass during optimization and code * generation. * - * \since prior to LTO_API_VERSION=14 + * \since LTO_API_VERSION=14 */ extern void lto_codegen_set_should_internalize(lto_code_gen_t cg, -- 2.34.1