[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / clang / test / CodeGenObjC / 2010-02-09-DbgSelf.m
blob7696163d44460bae0b5840670620e9d62b300f89
1 // RUN: %clang_cc1 -x objective-c -emit-llvm -debug-info-kind=limited < %s | FileCheck %s
2 // Test to check that "self" argument is assigned a location.
3 // CHECK: #dbg_declare(ptr %self.addr, [[SELF:![0-9]*]], !{{.*}})
4 // CHECK: [[SELF]] = !DILocalVariable(name: "self", arg: 1,
6 @interface Foo 
7 -(void) Bar: (int)x ;
8 @end
11 @implementation Foo
12 -(void) Bar: (int)x 
15 @end