[PATCH] D86778: Extract infrastructure to ignore intermediate expressions into `clang/AST/IgnoreExpr.h`
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 09:20:32 PDT 2020
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/AST/IgnoreExpr.h:15
+namespace clang {
+namespace {
+/// Given an expression E and functions Fn_1,...,Fn_n : Expr * -> Expr *,
----------------
Each occurrence of unnamed namespace creates separate entities, so we would have ODR violations in `IgnoreExprNodes`.
================
Comment at: clang/include/clang/AST/IgnoreExpr.h:37
+
+Expr *IgnoreImpCastsSingleStep(Expr *E);
+
----------------
Expand "Imp" to "Implicit"? (Here and one more below.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86778/new/
https://reviews.llvm.org/D86778
More information about the cfe-commits
mailing list