1 // RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core,debug.ExprInspection %s -verify
3 void clang_analyzer_hashDump(int);
13 __attribute__((objc_root_class))
14 @interface NSObject <NSObject>
15 - (void)method:(int)arg param:(int)arg2;
18 @implementation NSObject
25 - (void)method:(int)arg param:(int)arg2 {
26 clang_analyzer_hashDump(5); // expected-warning {{debug.ExprInspection$NSObject::method:param:$27$clang_analyzer_hashDump(5);$Category}}
31 void testBlocks(void) {
34 clang_analyzer_hashDump(x); // expected-warning {{debug.ExprInspection$$29$clang_analyzer_hashDump(x);$Category}}