r209220 - Make the wording for the flatten docs a little clearer.
Peter Collingbourne
peter at pcc.me.uk
Tue May 20 10:30:04 PDT 2014
Author: pcc
Date: Tue May 20 12:30:03 2014
New Revision: 209220
URL: http://llvm.org/viewvc/llvm-project?rev=209220&view=rev
Log:
Make the wording for the flatten docs a little clearer.
Modified:
cfe/trunk/include/clang/Basic/AttrDocs.td
Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=209220&r1=209219&r2=209220&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Tue May 20 12:30:03 2014
@@ -880,8 +880,9 @@ expression is compared to the type tag.
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.
}];
}
More information about the cfe-commits
mailing list