summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-01-15 18:56:44 +0000
committerJohn McCall <rjmccall@apple.com>2010-01-15 18:56:44 +0000
commitebe547414807a4a5e1e02d9cf1471b2962f1bf98 (patch)
tree40ff34b2a088ee26da4c929134f317bbd451c2d8 /clang/lib/Sema/Sema.h
parent0c2538fee24253469a8fe042a8dcd44fa6e7b104 (diff)
downloadbcm5719-llvm-ebe547414807a4a5e1e02d9cf1471b2962f1bf98.tar.gz
bcm5719-llvm-ebe547414807a4a5e1e02d9cf1471b2962f1bf98.zip
Don't lose type source information when rebuilding C-style cast expressions.
Also we don't need to recheck for altivec initializers, I think. llvm-svn: 93529
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index fab72929993..e86da5d48fc 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1651,6 +1651,11 @@ public:
virtual OwningExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc,
TypeTy *Ty, SourceLocation RParenLoc,
ExprArg Op);
+ OwningExprResult BuildCStyleCastExpr(SourceLocation LParenLoc,
+ TypeSourceInfo *Ty,
+ SourceLocation RParenLoc,
+ ExprArg Op);
+
virtual bool TypeIsVectorType(TypeTy *Ty) {
return GetTypeFromParser(Ty)->isVectorType();
}
OpenPOWER on IntegriCloud