diff options
-rw-r--r-- | include/clang/AST/Expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index d9cf0ad162..bb66e710ae 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -596,6 +596,10 @@ public: return cast<Expr>(Stmt::IgnoreImplicit()); } + const Expr *IgnoreImplicit() const LLVM_READONLY { + return const_cast<Expr*>(this)->IgnoreImplicit(); + } + /// IgnoreParens - Ignore parentheses. If this Expr is a ParenExpr, return /// its subexpression. If that subexpression is also a ParenExpr, /// then this method recursively returns its subexpression, and so forth. |