diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-26 20:03:54 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-26 20:03:54 +0000 |
commit | 132283beb1b032e0acd09bdfb45dceadeea0026e (patch) | |
tree | 7f1d0c81e2a83d471e83ea703919e28388b842e1 | |
parent | ac57d47546c011d933c8778bcdc364f86f5855d0 (diff) |
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
-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. |