diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-12-21 21:22:20 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-12-21 21:22:20 +0000 |
| commit | eea9ca7e398d8f3e4f06f607f243e35ee21022b4 (patch) | |
| tree | 8df1eae36ccda124cb2e15887ad9653f4ede298e /clang/lib | |
| parent | 09ef8425e999852de8dd0ecedd9a18cfb5e53cf6 (diff) | |
| download | bcm5719-llvm-eea9ca7e398d8f3e4f06f607f243e35ee21022b4.tar.gz bcm5719-llvm-eea9ca7e398d8f3e4f06f607f243e35ee21022b4.zip | |
Remove unnecessary checks.
llvm-svn: 170924
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 23a6037bbb1..1b0c5e9d04a 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/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); |

