[PATCH] D43321: Improve documentation for attribute artificial

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 15:04:27 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC325186: Improve documentation for attribute artificial (authored by erichkeane, committed by ).

Repository:
  rC Clang

https://reviews.llvm.org/D43321

Files:
  include/clang/Basic/AttrDocs.td


Index: include/clang/Basic/AttrDocs.td
===================================================================
--- include/clang/Basic/AttrDocs.td
+++ include/clang/Basic/AttrDocs.td
@@ -3277,9 +3277,9 @@
 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.
   }];
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43321.134328.patch
Type: text/x-patch
Size: 821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180214/c58f7ab7/attachment.bin>


More information about the cfe-commits mailing list