summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/AttrDocs.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 9694e210909..6195960d195 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/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.
}];
}
OpenPOWER on IntegriCloud