LTO: Correct some doxygen comments about API availability
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 27 Apr 2015 22:08:01 +0000 (22:08 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 27 Apr 2015 22:08:01 +0000 (22:08 +0000)
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

index 2f3aac7ed878cdf9febca4cd45b118f3c31c5a78..9d0d7263a589b8bcbf73ed1f4d14a50570e86cbe 100644 (file)
@@ -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,