aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2009-08-10 23:49:36 +0000
committerNate Begeman <natebegeman@mac.com>2009-08-10 23:49:36 +0000
commit2ef13e5abef0570a9f567b4671367275c05d4d34 (patch)
tree97d379ec78c017e34f14647a35d14e4dceff209e /lib/Frontend/PrintParserCallbacks.cpp
parentbd0fb30fa2a039439d1a30a83ea896801394d780 (diff)
Take 2 on AltiVec-style vector initializers.
Fixes PR4704 problems Addresses Eli's patch feedback re: ugly cast code Updates all postfix operators to remove ParenListExprs. While this is awful, no better solution (say, in the parser) is obvious to me. Better solutions welcome. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PrintParserCallbacks.cpp')
-rw-r--r--lib/Frontend/PrintParserCallbacks.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Frontend/PrintParserCallbacks.cpp b/lib/Frontend/PrintParserCallbacks.cpp
index c933a2f320..2101a85f41 100644
--- a/lib/Frontend/PrintParserCallbacks.cpp
+++ b/lib/Frontend/PrintParserCallbacks.cpp
@@ -574,8 +574,9 @@ namespace {
Out << __FUNCTION__ << "\n";
return ExprEmpty();
}
- virtual OwningExprResult ActOnCastExpr(SourceLocation LParenLoc, TypeTy *Ty,
- SourceLocation RParenLoc,ExprArg Op){
+ virtual OwningExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc,
+ TypeTy *Ty, SourceLocation RParenLoc,
+ ExprArg Op) {
Out << __FUNCTION__ << "\n";
return ExprEmpty();
}