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: http://review.tizen.org/git/?a=commitdiff_plain;h=be243a70e3e76e9cf47354e7ee78c324565cebe9;p=platform%2Fupstream%2Fllvm.git Adding a FIXME to the code, based on a discussion in IRC; NFC. llvm-svn: 223403 --- diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index d945d63..e5eb61c 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/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()) {