From: Peter Collingbourne Date: Tue, 20 May 2014 17:30:03 +0000 (+0000) Subject: Make the wording for the flatten docs a little clearer. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca90717aadf79d9b83d3a95d214ec6d117de841c;p=clang Make the wording for the flatten docs a little clearer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209220 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index 9694e21090..6195960d19 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -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. }]; }