summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseTentative.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-01-06 19:34:12 +0000
committerSteve Naroff <snaroff@apple.com>2009-01-06 19:34:12 +0000
commitf192fabbdc3b2998a263d638a5ea7eaf613778b7 (patch)
treeff94116c86e36b66bb993cf6c2d76a791c666867 /clang/lib/Parse/ParseTentative.cpp
parent016056cfde1e13681e359f99572ccd51dc183438 (diff)
downloadbcm5719-llvm-f192fabbdc3b2998a263d638a5ea7eaf613778b7.tar.gz
bcm5719-llvm-f192fabbdc3b2998a263d638a5ea7eaf613778b7.zip
Another tweak to handle the MS extensions (<rdar://problem/5956221>).
llvm-svn: 61821
Diffstat (limited to 'clang/lib/Parse/ParseTentative.cpp')
-rw-r--r--clang/lib/Parse/ParseTentative.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseTentative.cpp b/clang/lib/Parse/ParseTentative.cpp
index 11df2f45cea..a7c3e389319 100644
--- a/clang/lib/Parse/ParseTentative.cpp
+++ b/clang/lib/Parse/ParseTentative.cpp
@@ -626,6 +626,7 @@ Parser::TPResult Parser::isCXXDeclarationSpecifier() {
return TPResult::True();
// Microsoft
+ case tok::kw___declspec:
case tok::kw___cdecl:
case tok::kw___stdcall:
case tok::kw___fastcall:
OpenPOWER on IntegriCloud