summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2020-07-02 19:38:46 +0100
committerBruno Ricci <riccibrun@gmail.com>2020-07-02 19:40:09 +0100
commitfcf4d5e4499a391dff42ea1a096f146db44147b6 (patch)
tree8fd0fc6cf32201187d0797e3f29ce491d4262b09 /clang/lib/CodeGen/CGExprComplex.cpp
parent670dbad473270a2bd46fc611bd48472685403ed6 (diff)
Revert "[clang][NFC] Store a pointer to the ASTContext in ASTDumper and TextNodeDumper"
This reverts commit aa7fd905e4e1bc510448431da9310e8cf5197523. I missed some dump() functions.
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprComplex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp
index a49817898ae3..13a571352137 100644
--- a/clang/lib/CodeGen/CGExprComplex.cpp
+++ b/clang/lib/CodeGen/CGExprComplex.cpp
@@ -98,7 +98,7 @@ public:
}
ComplexPairTy VisitStmt(Stmt *S) {
- S->dump(llvm::errs(), CGF.getContext());
+ S->dump(CGF.getContext().getSourceManager());
llvm_unreachable("Stmt can't have complex result type!");
}
ComplexPairTy VisitExpr(Expr *S);