diff options
| author | John McCall <rjmccall@apple.com> | 2010-01-15 18:56:44 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-01-15 18:56:44 +0000 |
| commit | ebe547414807a4a5e1e02d9cf1471b2962f1bf98 (patch) | |
| tree | 40ff34b2a088ee26da4c929134f317bbd451c2d8 /clang/lib/Sema/Sema.h | |
| parent | 0c2538fee24253469a8fe042a8dcd44fa6e7b104 (diff) | |
| download | bcm5719-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.h | 5 |
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(); } |

