Imported Upstream version 6.10.0.49

Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-01-16 16:38:04 +00:00
parent d94e79959b
commit 468663ddbb
48518 changed files with 2789335 additions and 61176 deletions

View File

@@ -0,0 +1,17 @@
#ifndef COMMON_H
#define COMMON_H
extern void ext(int (&)[5]);
void func(int t) {
int ints[5];
for (unsigned i = 0; i < 5; ++i) {
ints[i] = t;
}
int *i = 0;
ext(ints);
}
#endif // COMMON_H

View File

@@ -0,0 +1,11 @@
There are conflicting changes to $(path)/common.h:
The following changes conflict:
Replace 8:8-8:33 with "auto & i : ints"
Replace 8:8-8:33 with "int & elem : ints"
The following changes conflict:
Replace 9:5-9:11 with "elem"
Replace 9:5-9:11 with "i"
The following changes conflict:
Remove 12:3-12:14
Insert at 12:12 (int*)
Replace 12:12-12:12 with "nullptr"

View File

@@ -0,0 +1,21 @@
---
MainSourceFile: source1.cpp
Diagnostics:
- DiagnosticName: test-conflict
Message: Fix
FilePath: $(path)/common.h
FileOffset: 106
Replacements:
- FilePath: $(path)/common.h
Offset: 106
Length: 26
ReplacementText: 'auto & i : ints'
- FilePath: $(path)/common.h
Offset: 140
Length: 7
ReplacementText: i
- FilePath: $(path)/common.h
Offset: 160
Length: 12
ReplacementText: ''
...

View File

@@ -0,0 +1,21 @@
---
MainSourceFile: source2.cpp
Diagnostics:
- DiagnosticName: test-conflict
Message: Fix
FilePath: $(path)/common.h
FileOffset: 106
Replacements:
- FilePath: $(path)/common.h
Offset: 106
Length: 26
ReplacementText: 'int & elem : ints'
- FilePath: $(path)/common.h
Offset: 140
Length: 7
ReplacementText: elem
- FilePath: $(path)/common.h
Offset: 169
Length: 1
ReplacementText: nullptr
...

View File

@@ -0,0 +1,13 @@
---
MainSourceFile: source1.cpp
Diagnostics:
- DiagnosticName: test-conflict
Message: Fix
FilePath: $(path)/common.h
FileOffset: 169
Replacements:
- FilePath: $(path)/common.h
Offset: 169
Length: 0
ReplacementText: "(int*)"
...