- Timestamp:
- Jul 15, 2005, 6:53:20 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/cp/dump.c
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r2247 r2248 207 207 } 208 208 209 #if 1 /* bird hacking */ 210 static void cp_dump_attributes (dump_info_p di, tree t) 211 { 212 tree attr = NULL; 213 if (DECL_P (t)) 214 attr = DECL_ATTRIBUTES (t); 215 else if (TYPE_P (t)) 216 attr = TYPE_ATTRIBUTES (t); 217 else 218 return; 219 if (lookup_attribute ("optlink", attr)) 220 dump_string (di, "optlink"); 221 if (lookup_attribute ("stdcall", attr)) 222 dump_string (di, "stdcall"); 223 if (lookup_attribute ("cdecl", attr)) 224 dump_string (di, "cdecl"); 225 if (lookup_attribute ("system", attr)) 226 dump_string (di, "system"); 227 if (lookup_attribute ("dllexport", attr)) 228 dump_string (di, "dllexport"); 229 if (lookup_attribute ("dllimport", attr)) 230 dump_string (di, "dllimport"); 231 } 232 #endif /* bird hacking */ 233 209 234 int 210 235 cp_dump_tree (dump_info, t) … … 223 248 dump_string (di, language_to_string (DECL_LANGUAGE (t), 0)); 224 249 } 250 251 #if 1 /* bird hacking */ 252 cp_dump_attributes (di, t); 253 #endif 225 254 226 255 switch (code) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.