mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 12:32:33 +03:00
Revise all LDC-specific errors/warnings/deprecs and insert backticks
For DMD's new syntax highlighting. I grepped in all .{h,cpp} files only.
This commit is contained in:
parent
58ef63417f
commit
2616261fd2
33 changed files with 224 additions and 219 deletions
|
@ -306,7 +306,7 @@ public:
|
|||
|
||||
// can't emit typeinfo for forward declarations
|
||||
if (sd->sizeok != SIZEOKdone) {
|
||||
sd->error("cannot emit TypeInfo for forward declaration");
|
||||
sd->error("cannot emit `TypeInfo` for forward declaration");
|
||||
fatal();
|
||||
}
|
||||
|
||||
|
@ -351,7 +351,7 @@ public:
|
|||
global.params.targetTriple->getArch() == llvm::Triple::x86_64;
|
||||
const unsigned expectedFields = 12 + (isX86_64 ? 2 : 0);
|
||||
if (Type::typeinfostruct->fields.dim != expectedFields) {
|
||||
error(Loc(), "Unexpected number of object.TypeInfo_Struct fields; "
|
||||
error(Loc(), "Unexpected number of `object.TypeInfo_Struct` fields; "
|
||||
"druntime version does not match compiler");
|
||||
fatal();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue