diff options
author | Stephen Kelly <steveire@gmail.com> | 2020-01-05 20:27:37 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2020-01-05 20:27:37 +0000 |
commit | 471151238438201f3fe365a7784f1a091328e46c (patch) | |
tree | 815f736a8830645f9c40c7d7d6e46639e5b31bc6 /clang/lib/AST/Expr.cpp | |
parent | 124b918bd34756c16b3f460adf96b4bfe48a5f97 (diff) | |
download | bcm5719-llvm-471151238438201f3fe365a7784f1a091328e46c.tar.gz bcm5719-llvm-471151238438201f3fe365a7784f1a091328e46c.zip |
Fix oversight in AST traversal helper
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |