[cfe-commits] r160801 - /cfe/trunk/include/clang/AST/Expr.h

Jordan Rose jordan_rose at apple.com
Thu Jul 26 13:03:54 PDT 2012


Author: jrose
Date: Thu Jul 26 15:03:54 2012
New Revision: 160801

URL: http://llvm.org/viewvc/llvm-project?rev=160801&view=rev
Log:
Add a const version of Expr::IgnoreImplicit. No functionality change.

Modified:
    cfe/trunk/include/clang/AST/Expr.h

Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=160801&r1=160800&r2=160801&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Thu Jul 26 15:03:54 2012
@@ -596,6 +596,10 @@
     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.





More information about the cfe-commits mailing list