r296776 - Document that code inlined into a nodebug function also won't get any

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 2 10:06:51 PST 2017


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.
   }];
 }
 




More information about the cfe-commits mailing list