diff options
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 14b72874f7f..9cb47cce4b2 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -226,6 +226,9 @@ public: /// extremely uncommon (only 1% of selectors are "overloaded"). llvm::DenseMap<Selector, ObjCMethodList> InstanceMethodPool; llvm::DenseMap<Selector, ObjCMethodList> FactoryMethodPool; + + /// Private Helper predicate to check for 'self'. + bool isSelfExpr(Expr *RExpr); public: Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer); ~Sema() { |