From: Adrian Prantl Date: Thu, 2 Mar 2017 18:06:51 +0000 (+0000) Subject: Document that code inlined into a nodebug function also won't get any X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b7c387ad6023424f7bd1e2783ebb4846e9b94ab;p=clang Document that code inlined into a nodebug function also won't get any debug info. Suggested by Paul Robinson in feedback on r296488, thanks! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296776 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index 9a9c82b7d6..e0c1de1282 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -657,7 +657,8 @@ def NoDebugDocs : Documentation { let Content = [{ The ``nodebug`` attribute allows you to suppress debugging information for a function or method, or for a variable that is not a parameter or a non-static -data member. +data member. It will also suppress debug information for any code that is +inlined into a ``nodebug`` function or method. }]; }