From ca90717aadf79d9b83d3a95d214ec6d117de841c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 20 May 2014 17:30:03 +0000 Subject: [PATCH] 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 --- include/clang/Basic/AttrDocs.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. }]; } -- 2.50.1