[llvm] r235925 - LTO: Correct some doxygen comments about API availability

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Apr 27 15:08:01 PDT 2015


Author: dexonsmith
Date: Mon Apr 27 17:08:01 2015
New Revision: 235925

URL: http://llvm.org/viewvc/llvm-project?rev=235925&view=rev
Log:
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.

Modified:
    llvm/trunk/include/llvm-c/lto.h

Modified: llvm/trunk/include/llvm-c/lto.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/lto.h?rev=235925&r1=235924&r2=235925&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/lto.h (original)
+++ llvm/trunk/include/llvm-c/lto.h Mon Apr 27 17:08:01 2015
@@ -171,7 +171,7 @@ lto_module_create_from_memory(const void
  * 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
  *
  * \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,





More information about the llvm-commits mailing list