Introduce ObjCMessageExpr::getReceiverRange() to get the source range of the receiver.
[clang.git] / test / CodeGenObjC / category-class.m
blob22d197380f325068b521038730ffcfc4a6fb8d95
1 // RUN: %clang_cc1 -triple i386-apple-darwin9  -emit-llvm -o - %s | FileCheck %s
2 // PR7431
4 // CHECK: module asm "\09.lazy_reference .objc_class_name_A"
5 // CHECK: module asm "\09.objc_category_name_A_foo=0"
6 // CHECK: module asm "\09.globl .objc_category_name_A_foo"
8 @interface A
9 @end
10 @interface A(foo)
11 - (void)foo_myStuff;
12 @end
13 @implementation A(foo)
14 - (void)foo_myStuff {
16 @end