Changeset 2247 for trunk/src/gcc/gcc/cp/decl.c
- Timestamp:
- Jul 15, 2005, 6:49:25 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/cp/decl.c
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r2246 r2247 13787 13787 } 13788 13788 13789 #if 1 /* bird: HACK ALERT! HACK ALERT! */ 13790 /* Don't replace attributes with nothing. See the nsSupportWeakReference / friend problem. 13791 Limit any negative sideeffects this hack may have by only caring for a select number of attributes. */ 13792 if ( TYPE_ATTRIBUTES (ref) 13793 && globalize 13794 && ( lookup_attribute ("dllexport", TYPE_ATTRIBUTES (ref)) 13795 || lookup_attribute ("dllimport", TYPE_ATTRIBUTES (ref)) 13796 || lookup_attribute ("system", TYPE_ATTRIBUTES (ref)) 13797 || lookup_attribute ("cdecl", TYPE_ATTRIBUTES (ref)) 13798 || lookup_attribute ("optlink", TYPE_ATTRIBUTES (ref)) 13799 || lookup_attribute ("stdcall", TYPE_ATTRIBUTES (ref)))) 13800 TYPE_ATTRIBUTES (ref) = merge_attributes(TYPE_ATTRIBUTES (ref), attributes); 13801 else 13802 TYPE_ATTRIBUTES (ref) = attributes; 13803 #else 13789 13804 TYPE_ATTRIBUTES (ref) = attributes; 13805 #endif 13790 13806 13791 13807 POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, ref); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.