2020-01-28 10:18:45 +08:00
|
|
|
//===-- tools/f18/stub-evaluate.cpp ---------------------------------------===//
|
2019-03-16 01:50:15 +08:00
|
|
|
//
|
2019-12-21 04:52:07 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2019-03-16 01:50:15 +08:00
|
|
|
//
|
2020-01-11 04:12:03 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2019-03-16 01:50:15 +08:00
|
|
|
|
2019-12-18 02:53:20 +08:00
|
|
|
// The parse tree has slots in which pointers to the results of semantic
|
|
|
|
// analysis may be placed. When using the parser without the semantics
|
|
|
|
// libraries, as here, we need to stub out the dependences on the external
|
2020-07-10 02:08:41 +08:00
|
|
|
// deleters, which will never actually be called.
|
2019-03-16 01:50:15 +08:00
|
|
|
|
|
|
|
namespace Fortran::evaluate {
|
|
|
|
struct GenericExprWrapper {
|
2020-07-10 02:08:41 +08:00
|
|
|
static void Deleter(GenericExprWrapper *);
|
2019-03-16 01:50:15 +08:00
|
|
|
};
|
2020-07-10 02:08:41 +08:00
|
|
|
void GenericExprWrapper::Deleter(GenericExprWrapper *) {}
|
2019-11-23 08:04:56 +08:00
|
|
|
struct GenericAssignmentWrapper {
|
2020-07-10 02:08:41 +08:00
|
|
|
static void Deleter(GenericAssignmentWrapper *);
|
2019-11-23 08:04:56 +08:00
|
|
|
};
|
2020-07-10 02:08:41 +08:00
|
|
|
void GenericAssignmentWrapper::Deleter(GenericAssignmentWrapper *) {}
|
2019-12-18 02:53:20 +08:00
|
|
|
struct ProcedureRef {
|
2020-07-10 02:08:41 +08:00
|
|
|
static void Deleter(ProcedureRef *);
|
2019-12-18 02:53:20 +08:00
|
|
|
};
|
2020-07-10 02:08:41 +08:00
|
|
|
void ProcedureRef::Deleter(ProcedureRef *) {}
|
2020-03-29 12:00:16 +08:00
|
|
|
} // namespace Fortran::evaluate
|