mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
bd0642fede
and does the Sema on their body after the entire class/category @implementation is seen. This change allows messaging of forward private methods, as well as, access to synthesized ivars of properties with foward synthesize declarations; among others. In effect, this patch removes several restrictions placed on objective-c due to in-place semantics processing of methods. This is part of // rdar://8843851. llvm-svn: 138865
10 lines
563 B
Objective-C
10 lines
563 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
- (NSDictionary*) _executeScript:(NSString *)source { // expected-error 2 {{expected a type}} \
|
|
// expected-error {{missing context for method declaration}}
|
|
Exit: [nilArgs release];
|
|
}
|
|
- (NSDictionary *) _setupKernelStandardMode:(NSString *)source { // expected-error 2 {{expected a type}} \
|
|
// expected-error {{missing context for method declaration}}
|
|
Exit: if(_ciKernel && !success ) {
|