commit | c57d34bc3566d0ed2dca22b3b74267a10dcef083 | [log] [tgz] |
---|---|---|
author | Sebastian Redl <sebastian.redl@getdesigned.at> | Tue Jul 20 04:20:21 2010 +0000 |
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | Tue Jul 20 04:20:21 2010 +0000 |
tree | a09932c20e137d0b6c0158e587db3c278464dcf7 | |
parent | 08d047666a81bca31c39fb071c2c81cc93854a46 [diff] [blame] |
Update ImplicitCastExpr to be able to represent an XValue. llvm-svn: 108807
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index cff86a4..de7e906 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp
@@ -325,7 +325,7 @@ void StmtProfiler::VisitImplicitCastExpr(ImplicitCastExpr *S) { VisitCastExpr(S); - ID.AddBoolean(S->isLvalueCast()); + ID.AddInteger(S->getCategory()); } void StmtProfiler::VisitExplicitCastExpr(ExplicitCastExpr *S) {