Mercurial > hg > CbC > CbC_gcc
comparison gcc/cp/repo.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Code to maintain a C++ template repository. | 1 /* Code to maintain a C++ template repository. |
2 Copyright (C) 1995-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1995-2018 Free Software Foundation, Inc. |
3 Contributed by Jason Merrill (jason@cygnus.com) | 3 Contributed by Jason Merrill (jason@cygnus.com) |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
328 return 2; | 328 return 2; |
329 | 329 |
330 /* For constructors and destructors, the repository contains | 330 /* For constructors and destructors, the repository contains |
331 information about the clones -- not the original function -- | 331 information about the clones -- not the original function -- |
332 because only the clones are emitted in the object file. */ | 332 because only the clones are emitted in the object file. */ |
333 if (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (decl) | 333 if (DECL_MAYBE_IN_CHARGE_CDTOR_P (decl)) |
334 || DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (decl)) | |
335 { | 334 { |
336 int emit_p = 0; | 335 int emit_p = 0; |
337 tree clone; | 336 tree clone; |
338 /* There is no early exit from this loop because we want to | 337 /* There is no early exit from this loop because we want to |
339 ensure that all of the clones are marked as available in this | 338 ensure that all of the clones are marked as available in this |