Author: adrian Date: Thu Mar 2 12:06:51 2017 New Revision: 296776 URL: http://llvm.org/viewvc/llvm-project?rev=296776&view=rev Log: Document that code inlined into a nodebug function also won't get any debug info.
Suggested by Paul Robinson in feedback on r296488, thanks! 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=296776&r1=296775&r2=296776&view=diff ============================================================================== --- cfe/trunk/include/clang/Basic/AttrDocs.td (original) +++ cfe/trunk/include/clang/Basic/AttrDocs.td Thu Mar 2 12:06:51 2017 @@ -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. }]; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits