]> granicus.if.org Git - clang/commit
Implement function attribute artificial
authorErich Keane <erich.keane@intel.com>
Wed, 14 Feb 2018 00:14:07 +0000 (00:14 +0000)
committerErich Keane <erich.keane@intel.com>
Wed, 14 Feb 2018 00:14:07 +0000 (00:14 +0000)
commit789b385fd15c27c91e621faf571e2f6ff060208c
treeeb95d895dc32fbc5cc8866a12c9b69a02edeba56
parenta701b12944b80f017e95d5848036de5e29d73293
Implement function attribute artificial

Added support in clang for GCC function attribute 'artificial'. This attribute
is used to control stepping behavior of debugger with respect to inline
functions.

Patch By: Elizabeth Andrews (eandrews)

Differential Revision: https://reviews.llvm.org/D43259

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325081 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/CGDebugInfo.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/artificial.c [new file with mode: 0644]
test/Sema/artificial.c [new file with mode: 0644]