summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-23 19:51:43 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-23 19:51:43 +0000
commit3f21c159dc274006423602745a3ed8c9db24c6d0 (patch)
tree40cb66276f894a233b66c3fbe0a5120cdda5b113 /clang/lib/Sema/Sema.h
parent75e6a40d6d18c9694ace40b97b41102c78d966fd (diff)
downloadbcm5719-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.h3
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,
OpenPOWER on IntegriCloud