summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-04-24 16:57:13 +0000
committerAnders Carlsson <andersca@mac.com>2010-04-24 16:57:13 +0000
commit0c509eeac7353a27bd5812136cc454b4e34c2ff1 (patch)
tree328b840483cc253a45d408af45aa103013978c9b /clang/lib/Sema/Sema.h
parent32f21a63ea687bd70bc493e4ffe125d8ace3eba2 (diff)
downloadbcm5719-llvm-0c509eeac7353a27bd5812136cc454b4e34c2ff1.tar.gz
bcm5719-llvm-0c509eeac7353a27bd5812136cc454b4e34c2ff1.zip
CastExpr should not hold a pointer to the base path. More cleanup.
llvm-svn: 102249
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 862de98e1b6..48b12b5712f 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -3959,8 +3959,9 @@ public:
/// cast. If there is already an implicit cast, merge into the existing one.
/// If isLvalue, the result of the cast is an lvalue.
void ImpCastExprToType(Expr *&Expr, QualType Type, CastExpr::CastKind Kind,
- CXXBaseSpecifierArray *BasePath = 0,
- bool isLvalue = false);
+ bool isLvalue = false,
+ CXXBaseSpecifierArray BasePath =
+ CXXBaseSpecifierArray());
// UsualUnaryConversions - promotes integers (C99 6.3.1.1p2) and converts
// functions and arrays to their respective pointers (C99 6.3.2.1).
OpenPOWER on IntegriCloud