From 9cab1c9281e7477f66b8217077baef41c1df5558 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Fri, 21 Dec 2012 21:22:20 +0000 Subject: [PATCH] Remove unnecessary checks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170924 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Parse/ParseDecl.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 23a6037bbb..1b0c5e9d04 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -4566,13 +4566,10 @@ void Parser::ParseParenDeclarator(Declarator &D) { // present even if the attribute list was empty. RequiresArg = true; } + // Eat any Microsoft extensions. - if (Tok.is(tok::kw___cdecl) || Tok.is(tok::kw___stdcall) || - Tok.is(tok::kw___thiscall) || Tok.is(tok::kw___fastcall) || - Tok.is(tok::kw___w64) || Tok.is(tok::kw___ptr64) || - Tok.is(tok::kw___ptr32) || Tok.is(tok::kw___unaligned)) { - ParseMicrosoftTypeAttributes(attrs); - } + ParseMicrosoftTypeAttributes(attrs); + // Eat any Borland extensions. if (Tok.is(tok::kw___pascal)) ParseBorlandTypeAttributes(attrs); -- 2.50.1