view clang/test/FixIt/fixit-objc-message-comma-separator.m @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: not %clang_cc1 -triple x86_64-apple-darwin10  -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
// rdar://11376372

@class NSObject;

@interface TestObj {
}
-(void)aMethodWithArg1:(NSObject*)arg1 arg2:(NSObject*)arg2;
@end

int main(int argc, char *argv[])
{
    TestObj *obj;
    [obj aMethodWithArg1:@"Arg 1 Good", arg2:@"Arg 2 Good"]; 
}

// CHECK: {14:39-14:40}:""