c++: Reject UDLs in certain contexts [PR105300]
[official-gcc.git] / libcc1 / findcomp.hh
bloba1805db3bdcfc499cf504eec91657b79d4f5814d
1 /* Find the correct compiler.
2 Copyright (C) 2014-2023 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef CC1_PLUGIN_FINDCOMP_HH
21 #define CC1_PLUGIN_FINDCOMP_HH
23 extern bool find_compiler (const regex_t &regexp, std::string *result);
25 #endif // CC1_PLUGIN_FINDCOMP_HH