diff options
| author | Erich Keane <erich.keane@intel.com> | 2018-02-14 23:00:31 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2018-02-14 23:00:31 +0000 |
| commit | 0e88dbe3e68050620666c60ca6a39b491aad2739 (patch) | |
| tree | 929817aab7148f10b08c28c7abb88de2b0721d0b | |
| parent | c484ee0a9c1cc892b82984b1769b8fcdc8bf1a78 (diff) | |
| download | bcm5719-llvm-0e88dbe3e68050620666c60ca6a39b491aad2739.tar.gz bcm5719-llvm-0e88dbe3e68050620666c60ca6a39b491aad2739.zip | |
Improve documentation for attribute artificial
This patch is related to https://reviews.llvm.org/rC325081
The patch improves documentation for the attribute and removes reference to GCC
documentation.
Patch By: Elizabeth Andrews (eandrews)
Differential Revision: https://reviews.llvm.org/D43321
llvm-svn: 325186
| -rw-r--r-- | clang/include/clang/Basic/AttrDocs.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 881c9b6dafb..cc7c6ff1898 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -3277,9 +3277,9 @@ or `msvc documentation <https://docs.microsoft.com/pl-pl/cpp/cpp/selectany>`_. def ArtificialDocs : Documentation { let Category = DocCatFunction; let Content = [{ -The ``artificial`` attribute is used with inline functions to treat the inline -function as a unit while debugging. For more information see GCC_ documentation. - -.. _GCC: https://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/Function-Attributes.html +The ``artificial`` attribute can be applied to an inline function. If such a +function is inlined, the attribute indicates that debuggers should associate +the resulting instructions with the call site, rather than with the +corresponding line within the inlined callee. }]; } |

