projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93f493
)
[flang] Remove unused function after last commit
author
Jean Perier
<jperier@nvidia.com>
Wed, 28 Aug 2019 12:50:23 +0000
(
05:50
-0700)
committer
Jean Perier
<jperier@nvidia.com>
Wed, 28 Aug 2019 12:50:23 +0000
(
05:50
-0700)
Original-commit: flang-compiler/f18@
029fbf64c2400847a42a4c7cf26c553592f4ee10
Reviewed-on: https://github.com/flang-compiler/f18/pull/689
flang/lib/evaluate/tools.h
patch
|
blob
|
history
diff --git
a/flang/lib/evaluate/tools.h
b/flang/lib/evaluate/tools.h
index
7c4068b
..
7658dc9
100644
(file)
--- a/
flang/lib/evaluate/tools.h
+++ b/
flang/lib/evaluate/tools.h
@@
-747,12
+747,5
@@
template<typename A> const semantics::Symbol *GetLastTarget(const A &x) {
// Resolve any whole ASSOCIATE(B=>A) associations
const semantics::Symbol &ResolveAssociations(const semantics::Symbol &);
-// Increment Integer expression
-template<int KIND>
-Expr<Type<TypeCategory::Integer, KIND>> Increment(
- Expr<Type<TypeCategory::Integer, KIND>> &&expr) {
- using IntT = Type<TypeCategory::Integer, KIND>;
- return Expr<IntT>{Add<IntT>{std::move(expr), Expr<IntT>{1}}};
-}
}
#endif // FORTRAN_EVALUATE_TOOLS_H_