Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions flang/include/flang/Evaluate/traverse.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@ class Traverse {
template <typename T> Result operator()(const Designator<T> &x) const {
return visitor_(x.u);
}
template <typename T> Result operator()(const Variable<T> &x) const {
return visitor_(x.u);
}
Result operator()(const DescriptorInquiry &x) const {
return visitor_(x.base());
}
Expand Down
1 change: 0 additions & 1 deletion flang/include/flang/Evaluate/variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ using SymbolVector = std::vector<SymbolRef>;

// Forward declarations
struct DataRef;
template <typename T> struct Variable;

// Reference a base object in memory. This can be a Fortran symbol,
// static data (e.g., CHARACTER literal), or compiler-created temporary.
Expand Down
5 changes: 0 additions & 5 deletions flang/include/flang/Semantics/dump-expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ class DumpEvaluateExpr {
Show(x.u);
Outdent();
}
template <typename T> void Show(const evaluate::Variable<T> &x) {
Indent("variable");
Show(x.u);
Outdent();
}
void Show(const evaluate::DescriptorInquiry &x);
void Show(const evaluate::SpecificIntrinsic &);
void Show(const evaluate::ProcedureDesignator &x);
Expand Down
4 changes: 0 additions & 4 deletions flang/lib/Lower/IterationSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ class ArrayBaseFinder {
RT find(const Fortran::evaluate::Designator<T> &x) {
return find(x.u);
}
template <typename T>
RT find(const Fortran::evaluate::Variable<T> &x) {
return find(x.u);
}
RT find(const Fortran::evaluate::DescriptorInquiry &) { return {}; }
RT find(const Fortran::evaluate::SpecificIntrinsic &) { return {}; }
RT find(const Fortran::evaluate::ProcedureDesignator &x) { return {}; }
Expand Down