[clang] Add no_builtin attribute
authorGuillaume Chatelet <gchatelet@google.com>
Wed, 25 Sep 2019 09:31:28 +0000 (11:31 +0200)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 29 Oct 2019 14:50:29 +0000 (15:50 +0100)
commit98f3151a7dded8838fafcb5f46e6c8358def96b8
tree4d84a94d401496ceb6ee111dc91dfe6256ebea7d
parent3011c7eb31c58526066841e84e7f0a6b9b733b57
[clang] Add no_builtin attribute

Summary:
This is a follow up on https://reviews.llvm.org/D61634
This patch is simpler and only adds the no_builtin attribute.

Reviewers: tejohnson, courbet, theraven, t.p.northover, jdoerfert

Subscribers: mgrang, cfe-commits

Tags: #clang

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

This is a re-submit after it got reverted in https://reviews.llvm.org/rGbd8791610948 since the breakage doesn't seem to come from this patch.
clang/include/clang/AST/Decl.h
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGCall.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/no-builtin.cpp [new file with mode: 0644]
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/no-builtin.cpp [new file with mode: 0644]