19 lines · plain
1 2// RUN: %clang_analyze_cc1 -analyzer-checker=core -Wno-objc-root-class \3// RUN: -analyze-function='missing_fn' \4// RUN: -triple x86_64-pc-linux-gnu 2>&1 %s \5// RUN: | FileCheck %s -check-prefix=CHECK-MISSING6//7// CHECK-MISSING: Every top-level function was skipped.8// CHECK-MISSING: Pass the -analyzer-display-progress for tracking which functions are analyzed.9 10@interface MyClass11- (int)messageWithFoo:(int)foo bar:(int)bar;12@end13 14@implementation MyClass15- (int)messageWithFoo:(int)foo bar:(int)bar {16 return foo + bar;17}18@end19