forked from OSchip/llvm-project
[flang] Remove some scaffolding code that I just inadvertently committed, sorry.
Original-commit: flang-compiler/f18@df4dc2ff94
This commit is contained in:
parent
6f94e8472d
commit
93db9dd00d
|
@ -7,7 +7,6 @@
|
|||
#include <memory>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
#include <iostream> // 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);
|
||||
|
|
Loading…
Reference in New Issue