From 132283beb1b032e0acd09bdfb45dceadeea0026e Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 26 Jul 2012 20:03:54 +0000 Subject: [PATCH] Add a const version of Expr::IgnoreImplicit. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160801 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Expr.h | 4 ++++ 1 file changed, 4 insertions(+) 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(Stmt::IgnoreImplicit()); } + const Expr *IgnoreImplicit() const LLVM_READONLY { + return const_cast(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. -- 2.50.1