14#ifndef LLVM_CLANG_BASIC_HEADERINCLUDEFORMATKIND_H
15#define LLVM_CLANG_BASIC_HEADERINCLUDEFORMATKIND_H
16#include "llvm/ADT/StringSwitch.h"
17#include "llvm/Support/ErrorHandling.h"
31 return llvm::StringSwitch<HeaderIncludeFormatKind>(Str)
39 std::pair<bool, HeaderIncludeFilteringKind>
P =
40 llvm::StringSwitch<std::pair<bool, HeaderIncludeFilteringKind>>(Str)
51 llvm_unreachable(
"unexpected format kind");
57 llvm_unreachable(
"Unknown HeaderIncludeFormatKind enum");
66 return "only-direct-system";
68 llvm_unreachable(
"Unknown HeaderIncludeFilteringKind enum");
enum clang::sema::@1653::IndirectLocalPathEntry::EntryKind Kind
The JSON file list parser is used to communicate input to InstallAPI.
const char * headerIncludeFormatKindToString(HeaderIncludeFormatKind K)
const char * headerIncludeFilteringKindToString(HeaderIncludeFilteringKind K)
HeaderIncludeFilteringKind
Whether header information is filtered or not.
@ HIFIL_Only_Direct_System
HeaderIncludeFormatKind stringToHeaderIncludeFormatKind(const char *Str)
bool stringToHeaderIncludeFiltering(const char *Str, HeaderIncludeFilteringKind &Kind)
HeaderIncludeFormatKind
The format in which header information is emitted.