From 93db9dd00d3d74d1a23cc579337b01d01afdd2fe Mon Sep 17 00:00:00 2001 From: peter klausler Date: Tue, 30 Jan 2018 15:30:56 -0800 Subject: [PATCH] [flang] Remove some scaffolding code that I just inadvertently committed, sorry. Original-commit: flang-compiler/f18@df4dc2ff9481c04ddc35e3650d03c4efe39e9c39 --- flang/preprocessor.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/flang/preprocessor.cc b/flang/preprocessor.cc index c01a83be5973..c7dd47a1827c 100644 --- a/flang/preprocessor.cc +++ b/flang/preprocessor.cc @@ -7,7 +7,6 @@ #include #include #include -#include // TODO pmk rm namespace Fortran { @@ -243,12 +242,7 @@ bool Preprocessor::MacroReplacement(const TokenSequence &input, for (; count-- > 0; ++at) { actual.push_back(input.GetText(at), input.GetBytes(at)); } - TokenSequence arg; - if (true /*pmk?*/ || !MacroReplacement(actual, &arg)) { - args.emplace_back(std::move(actual)); - } else { - args.emplace_back(std::move(arg)); - } + args.emplace_back(std::move(actual)); } TokenSequence repl{def.Apply(args)}; def.set_isDisabled(true);