11#include "llvm/ADT/StringSwitch.h"
16 return llvm::StringSwitch<InputKind>(Extension)
28 .Cases(
"cpp",
"CPP",
"c++",
"cxx",
"hpp",
"hxx",
Language::CXX)
static InputKind getInputKindForExtension(StringRef Extension)
getInputKindForExtension - Return the appropriate input kind for a file extension.
The JSON file list parser is used to communicate input to InstallAPI.
@ C
Languages that the frontend can parse and compile.
@ CIR
LLVM IR & CIR: we accept these so that we can run the optimizer on them, and compile them to assembly...
@ Asm
Assembly: we accept this only so that we can preprocess it.