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 | 77c28aaa5c335bc7be1832031ddac5871fa16be0 (patch) | |
| tree | f353931a970014822d00bb99301dcc8c57303e0e | |
| parent | 5920a1bdd1292007d19290c4de48b0a01fa78359 (diff) | |
| download | bcm5719-llvm-77c28aaa5c335bc7be1832031ddac5871fa16be0.tar.gz bcm5719-llvm-77c28aaa5c335bc7be1832031ddac5871fa16be0.zip | |
Add a const version of Expr::IgnoreImplicit. No functionality change.
llvm-svn: 160801
| -rw-r--r-- | clang/include/clang/AST/Expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index d9cf0ad162e..bb66e710aeb 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/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. |

