Revert "Revert "[Clang][Attribute] Introduce maybe_undef attribute for function argum...
authorskc7 <Krishna.Sankisa@amd.com>
Tue, 19 Jul 2022 09:53:31 +0000 (09:53 +0000)
committerskc7 <Krishna.Sankisa@amd.com>
Fri, 29 Jul 2022 19:07:07 +0000 (19:07 +0000)
commit09c41211231578765cdb296bda3b4c7f3c22b4ba
tree71e3e91174b7bd4e7cb4dac5cc9a23d091cd6c12
parentce6d40f5c23923a807388c58b82b4c343eced0ce
Revert "Revert "[Clang][Attribute] Introduce maybe_undef attribute for function arguments which accepts undef values""

This reverts commit 4e1fe96.

Reverting this commit and fix the tests that caused failures due to
a35c64c.
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/CGCall.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/attr-maybeundef-template.cpp [new file with mode: 0644]
clang/test/CodeGen/attr-maybeundef.c [new file with mode: 0644]
clang/test/CodeGenHIP/maybe_undef-attr-verify.hip [new file with mode: 0644]
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/attr-maybeundef.c [new file with mode: 0644]