diff options
author | Keith Seitz <keiths@redhat.com> | 2017-02-17 13:50:40 -0800 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2017-02-21 13:33:46 -0800 |
commit | b34c45412cdc3b13c2d8b0aa0ab78e3574ba5bbc (patch) | |
tree | 3a9a23943616657be7bae0406688055c05aa8f36 /gdb/compile/compile-cplus-support.c | |
parent | 882b3a06fd27ecbbe562d137a0eac62034f00651 (diff) | |
download | binutils-gdb-users/keiths/c++compile-submit.tar.gz |
Compile C++ feature.users/keiths/c++compile-submit
Diffstat (limited to 'gdb/compile/compile-cplus-support.c')
-rw-r--r-- | gdb/compile/compile-cplus-support.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gdb/compile/compile-cplus-support.c b/gdb/compile/compile-cplus-support.c new file mode 100644 index 00000000000..063476da6d9 --- /dev/null +++ b/gdb/compile/compile-cplus-support.c @@ -0,0 +1,33 @@ +/* C language support for compilation. + + Copyright (C) 2015, 2016 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include "gcc-cp-interface.h" + +void +gcc_cplus_enter_scope (void *datum, struct gcc_cp_context *gcc_context) +{ + /* FIXME: enter the scope in which the user expression is supposed + to be parsed. -lxo */ +} + +void +gcc_cplus_leave_scope (void *datum, struct gcc_cp_context *gcc_context) +{ + /* FIXME: leave the scopes entered by gcc_cplus_enter_scope. -lxo */ +} |