Searched refs:fixits (Results 1 – 25 of 74) sorted by relevance
123
35 assert len(tu.diagnostics[0].fixits) == 136 assert tu.diagnostics[0].fixits[0].range.start.line == 137 assert tu.diagnostics[0].fixits[0].range.start.column == 2638 assert tu.diagnostics[0].fixits[0].range.end.line == 139 assert tu.diagnostics[0].fixits[0].range.end.column == 3040 assert tu.diagnostics[0].fixits[0].value == '.f0 = '49 assert len(tu.diagnostics[0].fixits) == 0
7 // CHECK: tg-fixits.td:[[@LINE-1]]:41: error: group 'name' is referred to anonymously14 // CHECK: tg-fixits.td:[[@LINE-2]]:36: error: group 'name' is referred to anonymously21 // CHECK: tg-fixits.td:[[@LINE-1]]:3: error: group 'name' is referred to anonymously29 // CHECK: tg-fixits.td:[[@LINE-1]]:11: error: group 'name' is referred to anonymously35 // FIXME: For now, we just give up on printing carets/ranges/fixits for39 // CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously
7 // CHECK: tg-fixits.td:[[@LINE-1]]:1: error: group 'name' is referred to anonymously12 // CHECK: tg-fixits.td:[[@LINE-2]]:1: error: group 'name' is referred to anonymously17 // CHECK: tg-fixits.td:[[@LINE-2]]:1: error: group 'name' is referred to anonymously20 // FIXME: For now, we just give up on printing carets/ranges/fixits for24 // CHECK: tg-fixits.td:[[@LINE-1]]:1: error: group 'name' is referred to anonymously
46 self.assertEqual(len(tu.diagnostics[0].fixits), 1)47 self.assertEqual(tu.diagnostics[0].fixits[0].range.start.line, 1)48 self.assertEqual(tu.diagnostics[0].fixits[0].range.start.column, 26)49 self.assertEqual(tu.diagnostics[0].fixits[0].range.end.line, 1)50 self.assertEqual(tu.diagnostics[0].fixits[0].range.end.column, 30)51 self.assertEqual(tu.diagnostics[0].fixits[0].value, '.f0 = ')61 self.assertEqual(len(tu.diagnostics[0].fixits), 0)
1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-…2 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x…3 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-…
2 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-…3 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x…4 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-…
2 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c …3 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x o…
1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c…2 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c…
1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c…
1 // RUN: %clang_cc1 -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits %s 2>&1 | FileChec…
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s …
1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x obj…
8 void fixits() { in fixits() function
6 settings set target.auto-apply-fixits false