comparison include/demangle.h @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
1 /* Defs for interface to demanglers. 1 /* Defs for interface to demanglers.
2 Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2 Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002,
3 2003, 2004, 2005, 2007 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or 5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License 6 modify it under the terms of the GNU Library General Public License
7 as published by the Free Software Foundation; either version 2, or 7 as published by the Free Software Foundation; either version 2, or
8 (at your option) any later version. 8 (at your option) any later version.
375 DEMANGLE_COMPONENT_COMPOUND_NAME, 375 DEMANGLE_COMPONENT_COMPOUND_NAME,
376 /* A name formed by a single character. */ 376 /* A name formed by a single character. */
377 DEMANGLE_COMPONENT_CHARACTER, 377 DEMANGLE_COMPONENT_CHARACTER,
378 /* A decltype type. */ 378 /* A decltype type. */
379 DEMANGLE_COMPONENT_DECLTYPE, 379 DEMANGLE_COMPONENT_DECLTYPE,
380 /* Global constructors keyed to name. */
381 DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS,
382 /* Global destructors keyed to name. */
383 DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS,
384 /* A lambda closure type. */
385 DEMANGLE_COMPONENT_LAMBDA,
386 /* A default argument scope. */
387 DEMANGLE_COMPONENT_DEFAULT_ARG,
388 /* An unnamed type. */
389 DEMANGLE_COMPONENT_UNNAMED_TYPE,
380 /* A pack expansion. */ 390 /* A pack expansion. */
381 DEMANGLE_COMPONENT_PACK_EXPANSION 391 DEMANGLE_COMPONENT_PACK_EXPANSION
382 }; 392 };
383 393
384 /* Types which are only used internally. */ 394 /* Types which are only used internally. */
487 /* Left (or only) subtree. */ 497 /* Left (or only) subtree. */
488 struct demangle_component *left; 498 struct demangle_component *left;
489 /* Right subtree. */ 499 /* Right subtree. */
490 struct demangle_component *right; 500 struct demangle_component *right;
491 } s_binary; 501 } s_binary;
502
503 struct
504 {
505 /* subtree, same place as d_left. */
506 struct demangle_component *sub;
507 /* integer. */
508 int num;
509 } s_unary_num;
492 510
493 } u; 511 } u;
494 }; 512 };
495 513
496 /* People building mangled trees are expected to allocate instances of 514 /* People building mangled trees are expected to allocate instances of