From 471151238438201f3fe365a7784f1a091328e46c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 5 Jan 2020 20:27:37 +0000 Subject: Fix oversight in AST traversal helper --- clang/lib/AST/Expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/AST/Expr.cpp') diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 5c9ceac854c..73ddbc62482 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -3026,7 +3026,7 @@ Expr *Expr::IgnoreUnlessSpelledInSource() { Expr *LastE = nullptr; while (E != LastE) { LastE = E; - E = E->IgnoreImplicit(); + E = E->IgnoreParenImpCasts(); auto SR = E->getSourceRange(); -- cgit v1.2.3