]> granicus.if.org Git - clang/commit
Add IgnoreParenImpCasts() to Expr, which is basically like IgnoreParenCasts
authorJohn McCall <rjmccall@apple.com>
Wed, 5 May 2010 22:59:52 +0000 (22:59 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 5 May 2010 22:59:52 +0000 (22:59 +0000)
commit2fc46bf1a9bc31d50f82de37c70ea257d3cded27
treee8696507d3384d78c25b96ffa4f1486da16f8581
parent7e21ffb97e1da7ee5470865859c5b4bfbe0b91a3
Add IgnoreParenImpCasts() to Expr, which is basically like IgnoreParenCasts
except it only skips implicit casts.

Also fix ObjCImplicitGetterSetterRefExpr's child_begin to skip the base expression
if it's actually a type reference (which you get with static property references).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103132 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/Expr.cpp