diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-08 23:27:34 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-08 23:27:34 +0000 |
commit | 290eeb0ec2b6b91f3621e05ef541deb257fbea73 (patch) | |
tree | 7e9a15eeab8ead16e12607e0e360a2d7c4b8ca46 /lib/Parse/ParseTentative.cpp | |
parent | db75ad9c47e8ed60f94e3d555098002fabfe1899 (diff) |
Add more parser support for Microsoft extensions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseTentative.cpp')
-rw-r--r-- | lib/Parse/ParseTentative.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Parse/ParseTentative.cpp b/lib/Parse/ParseTentative.cpp index 81696d6a61..f31855b751 100644 --- a/lib/Parse/ParseTentative.cpp +++ b/lib/Parse/ParseTentative.cpp @@ -655,7 +655,10 @@ Parser::TPResult Parser::isCXXDeclarationSpecifier() { case tok::kw___cdecl: case tok::kw___stdcall: case tok::kw___fastcall: - return PP.getLangOptions().Microsoft ? TPResult::True() : TPResult::False(); + case tok::kw___w64: + case tok::kw___ptr64: + case tok::kw___forceinline: + return TPResult::True(); // The ambiguity resides in a simple-type-specifier/typename-specifier // followed by a '('. The '(' could either be the start of: |