From 1b7c387ad6023424f7bd1e2783ebb4846e9b94ab Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl@apple.com>
Date: Thu, 2 Mar 2017 18:06:51 +0000
Subject: [PATCH] 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
---
 include/clang/Basic/AttrDocs.td | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td
index 9a9c82b7d6d..e0c1de12829 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.
   }];
 }
 
-- 
GitLab