]> granicus.if.org Git - clang/commit
Adjust Attr representation so that changes to documentation don't affect
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Aug 2018 01:01:07 +0000 (01:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Aug 2018 01:01:07 +0000 (01:01 +0000)
commitb9ef8cb5d0a5501643befcdcf6bef0a3dfa9e205
treed8fb0f098feba733bd7d75db99a501185a629749
parent8d011e6b9a65a36129dbae17b056dc2215669d8d
Adjust Attr representation so that changes to documentation don't affect
how we parse source code.

Instead of implicitly opting all undocumented attributes out of '#pragma
clang attribute' support, explicitly opt them all out and remove the
documentation check from TableGen.

(No new attributes should be added without documentation, so this has
little chance of backsliding. We already support the pragma on one
undocumented attribute, so we don't even want to enforce our old
"rule".)

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341009 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
utils/TableGen/ClangAttrEmitter.cpp