1 // RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify
2 // expected-no-diagnostics
7 - (NSString *)stringByAppendingString:(NSString *)aString;
9 extern void NSLog (NSString *format, ...);
10 extern void NSLogv(NSString *format, va_list args);
12 void TestLog (NSString *format, ...);
13 void TestLog (NSString *format, ...) {
16 NSString *string = @"AAA: ";
18 NSLogv([string stringByAppendingString:format], ap);