DebugInfo: Attribute complex expressions to the source location of the expression
Just as r225956 did for scalar expressions (CGExprScalar::Visit), do the same for complex expressions. llvm-svn: 226390
This commit is contained in:
@@ -95,6 +95,7 @@ public:
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
ComplexPairTy Visit(Expr *E) {
|
||||
ApplyDebugLocation DL(CGF, E->getLocStart());
|
||||
return StmtVisitor<ComplexExprEmitter, ComplexPairTy>::Visit(E);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user