Skip to content

Commit

Permalink
[flang][driver] Remove unused code (nfc)
Browse files Browse the repository at this point in the history
  • Loading branch information
banach-space committed Feb 16, 2021
1 parent 21debea commit df22133
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions flang/include/flang/Frontend/FrontendOptions.h
Expand Up @@ -56,26 +56,6 @@ Fortran::parser::AnalyzedObjectsAsFortran getBasicAsFortran();
/// \return True if the file extension should be processed as free form
bool isFreeFormSuffix(llvm::StringRef suffix);

inline const char *GetActionKindName(const ActionKind ak) {
switch (ak) {
case InputOutputTest:
return "InputOutputTest";
case PrintPreprocessedInput:
return "PrintPreprocessedInput";
case ParseSyntaxOnly:
return "ParseSyntaxOnly";
default:
return "<unknown ActionKind>";
// TODO:
// case RunPreprocessor:
// case ParserSyntaxOnly:
// case EmitLLVM:
// case EmitLLVMOnly:
// case EmitCodeGenOnly:
// (...)
}
}

enum class Language : uint8_t {
Unknown,

Expand Down

0 comments on commit df22133

Please sign in to comment.