summaryrefslogtreecommitdiff
path: root/lib/Parse/ParseTentative.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-05-06 14:34:29 +0000
committerNico Weber <nicolasweber@gmx.de>2016-05-06 14:34:29 +0000
commit75762ded3bb25b2b3ffcdd94efca1fd25c39582d (patch)
tree7ca42c6d9276c86f6d0dc6f667c3298db42dc208 /lib/Parse/ParseTentative.cpp
parent192704bac18fabb499b22ac47883120d27ebc332 (diff)
downloadclang-75762ded3bb25b2b3ffcdd94efca1fd25c39582d.tar.gz
Revert r268727, it caused PR27666.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseTentative.cpp')
-rw-r--r--lib/Parse/ParseTentative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseTentative.cpp b/lib/Parse/ParseTentative.cpp
index c74720b444..747d0a982c 100644
--- a/lib/Parse/ParseTentative.cpp
+++ b/lib/Parse/ParseTentative.cpp
@@ -833,7 +833,7 @@ Parser::TPResult Parser::TryParseDeclarator(bool mayBeAbstract,
// '(' abstract-declarator ')'
if (Tok.isOneOf(tok::kw___attribute, tok::kw___declspec, tok::kw___cdecl,
tok::kw___stdcall, tok::kw___fastcall, tok::kw___thiscall,
- tok::kw___vectorcall))
+ tok::kw___vectorcall, tok::kw___unaligned))
return TPResult::True; // attributes indicate declaration
TPResult TPR = TryParseDeclarator(mayBeAbstract, mayHaveIdentifier);
if (TPR != TPResult::Ambiguous)