mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-08 03:37:46 +00:00
Cleanup error message output a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b72c360bb
commit
9b638019ca
@ -61,7 +61,7 @@ static bool LinkTypes(Module *Dest, const Module *Src, string *Err = 0) {
|
||||
if (Entry != RHS) // If it's the same, noop. Otherwise, error.
|
||||
return Error(Err, "Type named '" + Name +
|
||||
"' of different shape in modules.\n Src='" +
|
||||
Entry->getDescription() + "'. Dest='" +
|
||||
Entry->getDescription() + "'.\n Dst='" +
|
||||
RHS->getDescription() + "'");
|
||||
} else { // Type not in dest module. Add it now.
|
||||
// TODO: FIXME WHEN TYPES AREN'T CONST
|
||||
|
@ -61,7 +61,7 @@ static bool LinkTypes(Module *Dest, const Module *Src, string *Err = 0) {
|
||||
if (Entry != RHS) // If it's the same, noop. Otherwise, error.
|
||||
return Error(Err, "Type named '" + Name +
|
||||
"' of different shape in modules.\n Src='" +
|
||||
Entry->getDescription() + "'. Dest='" +
|
||||
Entry->getDescription() + "'.\n Dst='" +
|
||||
RHS->getDescription() + "'");
|
||||
} else { // Type not in dest module. Add it now.
|
||||
// TODO: FIXME WHEN TYPES AREN'T CONST
|
||||
|
@ -61,7 +61,7 @@ static bool LinkTypes(Module *Dest, const Module *Src, string *Err = 0) {
|
||||
if (Entry != RHS) // If it's the same, noop. Otherwise, error.
|
||||
return Error(Err, "Type named '" + Name +
|
||||
"' of different shape in modules.\n Src='" +
|
||||
Entry->getDescription() + "'. Dest='" +
|
||||
Entry->getDescription() + "'.\n Dst='" +
|
||||
RHS->getDescription() + "'");
|
||||
} else { // Type not in dest module. Add it now.
|
||||
// TODO: FIXME WHEN TYPES AREN'T CONST
|
||||
|
Loading…
x
Reference in New Issue
Block a user