]> granicus.if.org Git - clang/commitdiff
Document that code inlined into a nodebug function also won't get any
authorAdrian Prantl <aprantl@apple.com>
Thu, 2 Mar 2017 18:06:51 +0000 (18:06 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 2 Mar 2017 18:06:51 +0000 (18:06 +0000)
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

include/clang/Basic/AttrDocs.td

index 9a9c82b7d6d93798bc0abe0a48a2f2378e47a478..e0c1de12829a5e0fb1372da60473f153feb33702 100644 (file)
@@ -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.
   }];
 }