diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-23 19:51:43 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-23 19:51:43 +0000 |
commit | 3f21c159dc274006423602745a3ed8c9db24c6d0 (patch) | |
tree | 40cb66276f894a233b66c3fbe0a5120cdda5b113 /clang/lib/Sema/Sema.h | |
parent | 75e6a40d6d18c9694ace40b97b41102c78d966fd (diff) | |
download | bcm5719-llvm-3f21c159dc274006423602745a3ed8c9db24c6d0.tar.gz bcm5719-llvm-3f21c159dc274006423602745a3ed8c9db24c6d0.zip |
Fix a recent regression probably caused by addition of altivec-style
type-casts in the parser.
llvm-svn: 89691
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index cff346b9dfc..9e20771b826 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1536,6 +1536,9 @@ public: virtual OwningExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc, TypeTy *Ty, SourceLocation RParenLoc, ExprArg Op); + virtual bool TypeIsVectorType(TypeTy *Ty) { + return GetTypeFromParser(Ty)->isVectorType(); + } OwningExprResult MaybeConvertParenListExprToParenExpr(Scope *S, ExprArg ME); OwningExprResult ActOnCastOfParenListExpr(Scope *S, SourceLocation LParenLoc, |