[PATCH] D14933: Add the allocsize attribute to LLVM

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 17:38:53 PDT 2016


joker.eph added inline comments.

================
Comment at: docs/LangRef.rst:1253
@@ -1252,1 +1252,3 @@
     parentheses.
+``allocsize(<EltSizeParam>[, <NumEltsParam>])``
+    This attribute indicates that the annotated function will always return at
----------------
I was trying to express the default value with the "= 1", but I'm fine without.


http://reviews.llvm.org/D14933





More information about the llvm-commits mailing list