Correct the tablegen logic for MutualExclusions attribute checking.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 7 Apr 2021 17:59:54 +0000 (13:59 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 7 Apr 2021 18:04:08 +0000 (14:04 -0400)
commit028092eb613e5553ce0833878e7d36fcaf11fcb2
tree1c0066f552b57d6b04faa4ac1087a173a337c9de
parentffc65824f0ee20e1f8e884811062b92bd6707b11
Correct the tablegen logic for MutualExclusions attribute checking.

Just because an attribute is a statement attribute doesn't mean it's
not also a declaration attribute. In Clang, there are not currently any
DeclOrStmtAttr attributes that require mutual exclusion checking, but
downstream clients discovered this issue.
clang/utils/TableGen/ClangAttrEmitter.cpp