From: Aaron Ballman Date: Thu, 4 Dec 2014 22:45:31 +0000 (+0000) Subject: Adding a FIXME to the code, based on a discussion in IRC; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93102416e537d3098452b7295bf934d7dc59ca65;p=clang Adding a FIXME to the code, based on a discussion in IRC; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223403 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index d945d633e1..e5eb61c1eb 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -4755,6 +4755,10 @@ void Sema::ProcessDeclAttributeList(Scope *S, Decl *D, return; } + // FIXME: We should be able to handle this in TableGen as well. It would be + // good to have a way to specify "these attributes must appear as a group", + // for these. Additionally, it would be good to have a way to specify "these + // attribute must never appear as a group" for attributes like cold and hot. if (!D->hasAttr()) { // These attributes cannot be applied to a non-kernel function. if (Attr *A = D->getAttr()) {