aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2019-02-17 18:50:51 +0000
committerBruno Ricci <riccibrun@gmail.com>2019-02-17 18:50:51 +0000
commit46148f2053c011cd0f25319200019aa2fe8db621 (patch)
treecf846cb973b6e2ab3216d1833ce45315acfa5f13 /clang/lib/Frontend/CompilerInvocation.cpp
parent0a9cb239a6c91a709a98c96bbf60b6c006d5a07b (diff)
downloadllvm-46148f2053c011cd0f25319200019aa2fe8db621.zip
llvm-46148f2053c011cd0f25319200019aa2fe8db621.tar.gz
llvm-46148f2053c011cd0f25319200019aa2fe8db621.tar.bz2
Recommit "[AST] Factor out the logic of the various Expr::Ignore*"
(Originally commited in r354215 and reverted in r354216 because of a missed failing clang-tidy test (fix in r354228)) Now that the implementation of all of the Expr::Ignore* is in Expr.cpp we can try to remove some duplication. Do this by separating the logic of the Expr::Ignore* from the iterative loop. This is NFC, except for one change: IgnoreParenImpCasts now skips, among other things, everything that IgnoreImpCasts skips. This means FullExpr are now skipped by IgnoreParenImpCasts. This was likely an oversight when FullExpr was added to the nodes skipped by IgnoreImpCasts. Differential Revision: https://reviews.llvm.org/D57267 Reviewed By: aaron.ballman (with comments from void and rnk) llvm-svn: 354232
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions