mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 13:40:11 +03:00
Trim whitespace
This commit is contained in:
parent
8f1803391c
commit
5df19d9231
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ struct ObjcSelector
|
|||
char firstChar = id[0];
|
||||
if (firstChar >= 'a' && firstChar <= 'z')
|
||||
firstChar = cast(char)(firstChar - 'a' + 'A');
|
||||
|
||||
|
||||
buf.writeByte(firstChar);
|
||||
buf.writestring(id[1..$]);
|
||||
return cast(const(char)[])buf.extractSlice(false);
|
||||
|
@ -593,7 +593,7 @@ extern(C++) private final class Supported : Objc
|
|||
|
||||
return 0;
|
||||
});
|
||||
|
||||
|
||||
// No selector declared, generate one.
|
||||
if (fd._linkage == LINK.objc && !fd.objc.selector)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue