Mercurial > hg > CbC > CbC_llvm
view clang/test/Analysis/analyzer-display-progress.m @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: %clang_analyze_cc1 -fblocks -analyzer-display-progress %s 2>&1 | FileCheck %s #include "Inputs/system-header-simulator-objc.h" static void f() {} @interface I: NSObject -(void)instanceMethod:(int)arg1 with:(int)arg2; +(void)classMethod; @end @implementation I -(void)instanceMethod:(int)arg1 with:(int)arg2 {} +(void)classMethod {} @end void g(I *i, int x, int y) { [I classMethod]; [i instanceMethod: x with: y]; void (^block)(void); block = ^{}; block(); } // CHECK: analyzer-display-progress.m f // CHECK: analyzer-display-progress.m -[I instanceMethod:with:] // CHECK: analyzer-display-progress.m +[I classMethod] // CHECK: analyzer-display-progress.m g // CHECK: analyzer-display-progress.m block (line: 22, col: 11)