blob: 9f0fc43a27ac34324a52c9c16bb3d232e3f7ba1c [file] [log] [blame]
// RUN: %clang_analyze_cc1 -analyzer-checker=core -Wno-objc-root-class \
// RUN: -analyze-function='missing_fn' \
// RUN: -triple x86_64-pc-linux-gnu 2>&1 %s \
// RUN: | FileCheck %s -check-prefix=CHECK-MISSING
//
// CHECK-MISSING: Every top-level function was skipped.
// CHECK-MISSING: Pass the -analyzer-display-progress for tracking which functions are analyzed.
@interface MyClass
- (int)messageWithFoo:(int)foo bar:(int)bar;
@end
@implementation MyClass
- (int)messageWithFoo:(int)foo bar:(int)bar {
return foo + bar;
}
@end