From e4310c8273a9f7f0f32fa180b02acf29a29aa18c Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 9 Nov 2009 18:38:53 +0000 Subject: 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 --- clang/lib/Frontend/PCHReaderDecl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp') diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index b9ece21f74c..775ce76c92d 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -442,6 +442,8 @@ Attr *PCHReader::ReadAttributes() { (BlocksAttr::BlocksAttrTypes)Record[Idx++]); break; + SIMPLE_ATTR(CDecl); + case Attr::Cleanup: New = ::new (*Context) CleanupAttr( cast(GetDecl(Record[Idx++]))); -- cgit v1.2.3