DebugInfo: Attribute aggregate expressions to the source location of the expression
Just as r225956 did for scalar expressions (CGExprScalar::Visit), do the same for aggregate expressions. llvm-svn: 226388
This commit is contained in:
@@ -98,6 +98,11 @@ public:
|
||||
// Visitor Methods
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
void Visit(Expr *E) {
|
||||
ApplyDebugLocation DL(CGF, E->getLocStart());
|
||||
StmtVisitor<AggExprEmitter>::Visit(E);
|
||||
}
|
||||
|
||||
void VisitStmt(Stmt *S) {
|
||||
CGF.ErrorUnsupported(S, "aggregate expression");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user