[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Analysis / analyzer-display-progress.m
blob24414f659c39ac7c9b4acc914e051968ebb90bc0
1 // RUN: %clang_analyze_cc1 -fblocks -analyzer-display-progress %s 2>&1 | FileCheck %s
3 #include "Inputs/system-header-simulator-objc.h"
5 static void f(void) {}
7 @interface I: NSObject
8 -(void)instanceMethod:(int)arg1 with:(int)arg2;
9 +(void)classMethod;
10 @end
12 @implementation I
13 -(void)instanceMethod:(int)arg1 with:(int)arg2 {}
14 +(void)classMethod {}
15 @end
17 void g(I *i, int x, int y) {
18   [I classMethod];
19   [i instanceMethod: x with: y];
21   void (^block)(void);
22   block = ^{};
23   block();
26 // CHECK: analyzer-display-progress.m f
27 // CHECK: analyzer-display-progress.m -[I instanceMethod:with:]
28 // CHECK: analyzer-display-progress.m +[I classMethod]
29 // CHECK: analyzer-display-progress.m g
30 // CHECK: analyzer-display-progress.m block (line: 22, col: 11)