]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
d: Add missing Declaration bitfield setters/getters
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 18 Mar 2025 17:47:45 +0000 (18:47 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 18 Mar 2025 17:53:11 +0000 (18:53 +0100)
gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd fde0f8c40a.

Reviewed-on: https://github.com/dlang/dmd/pull/21014

gcc/d/dmd/MERGE
gcc/d/dmd/declaration.h
gcc/d/dmd/func.d

index 57973b1811578f8b007fe93199e1369f3571cdfe..1be4da416f45eeb2906f308ccff377fb80d642a3 100644 (file)
@@ -1,4 +1,4 @@
-51be8bb729cfa41ff5af4f5b2a9b7b9902bfdaa1
+fde0f8c40a1b8eb78c3485cb0e940035bfe6fb00
 
 The first line of this file holds the git revision number of the last
 merge done from the dlang/dmd repository.
index c535e4cbb14aac8062ab0ae1e069f4ea7a210889..c7e45526084d787dc5e02e7ee66d764ba59ab1a4 100644 (file)
@@ -128,6 +128,10 @@ public:
     short inuse;                // used to detect cycles
     uint8_t bitFields;
 
+    LINK _linkage() const;
+    LINK _linkage(LINK v);
+    bool noUnderscore() const;
+
     const char *kind() const override;
     uinteger_t size(Loc loc) override final;
 
index cc17be741c30c6098bb144895462a9eb172aaa54..e96c3326b7587e970ab45fa8ca5a6cff36531543 100644 (file)
@@ -1006,12 +1006,12 @@ extern (C++) class FuncDeclaration : Declaration
     /**********************************
      * Generate a FuncDeclaration for a runtime library function.
      */
-    extern (D) static FuncDeclaration genCfunc(Parameters* fparams, Type treturn, const(char)* name, STC stc = STC.none)
+    extern(D) static FuncDeclaration genCfunc(Parameters* fparams, Type treturn, const(char)* name, STC stc = STC.none)
     {
         return genCfunc(fparams, treturn, Identifier.idPool(name[0 .. strlen(name)]), stc);
     }
 
-    extern (D) static FuncDeclaration genCfunc(Parameters* fparams, Type treturn, Identifier id, STC stc = STC.none)
+    extern(D) static FuncDeclaration genCfunc(Parameters* fparams, Type treturn, Identifier id, STC stc = STC.none)
     {
         FuncDeclaration fd;
         TypeFunction tf;