summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-03-02 18:06:51 +0000
committerAdrian Prantl <aprantl@apple.com>2017-03-02 18:06:51 +0000
commit5db6a947a2b00dce702543d066cfde2c5b823cfa (patch)
treede6695e5333e2f09812327e7b627167835740e50
parent9a02efc3429a1cbfc7a7c7f4db0dedc69811e4f7 (diff)
downloadbcm5719-llvm-5db6a947a2b00dce702543d066cfde2c5b823cfa.tar.gz
bcm5719-llvm-5db6a947a2b00dce702543d066cfde2c5b823cfa.zip
Document that code inlined into a nodebug function also won't get any
debug info. Suggested by Paul Robinson in feedback on r296488, thanks! llvm-svn: 296776
-rw-r--r--clang/include/clang/Basic/AttrDocs.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 9a9c82b7d6d..e0c1de12829 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/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.
}];
}
OpenPOWER on IntegriCloud