Add support for cdecl attribute. (As far as I know, it doesn't affect CodeGen
unless we start implementing command-line switches which override the default calling convention, so the effect is mostly to silence unknown attribute warnings.) llvm-svn: 86571
This commit is contained in:
@@ -442,6 +442,8 @@ Attr *PCHReader::ReadAttributes() {
|
||||
(BlocksAttr::BlocksAttrTypes)Record[Idx++]);
|
||||
break;
|
||||
|
||||
SIMPLE_ATTR(CDecl);
|
||||
|
||||
case Attr::Cleanup:
|
||||
New = ::new (*Context) CleanupAttr(
|
||||
cast<FunctionDecl>(GetDecl(Record[Idx++])));
|
||||
|
||||
Reference in New Issue
Block a user