]> granicus.if.org Git - clang/commitdiff
Make the wording for the flatten docs a little clearer.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 20 May 2014 17:30:03 +0000 (17:30 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 20 May 2014 17:30:03 +0000 (17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209220 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index 9694e210909e6dd20a969fc5a5c5d1675a558d57..6195960d195e46385cb46ece96d1b32e7649df11 100644 (file)
@@ -880,8 +880,9 @@ expression is compared to the type tag.  There are two supported flags:
 def FlattenDocs : Documentation {
   let Category = DocCatFunction;
   let Content = [{
-The ``flatten`` attribute causes calls within the attributed function to be
-inlined if possible.
+The ``flatten`` attribute causes calls within the attributed function to
+be inlined unless it is impossible to do so, for example if the body of the
+callee is unavailable or if the callee has the ``noinline`` attribute.
   }];
 }