#ifndef COMPILER_TRANSLATOR_EXTENSIONBEHAVIOR_H_
#define COMPILER_TRANSLATOR_EXTENSIONBEHAVIOR_H_
#include <cstdint>
#include <map>
namespace sh
{
enum class TExtension : uint8_t
{ … };
enum TBehavior : uint8_t
{ … };
const char *GetExtensionNameString(TExtension extension);
TExtension GetExtensionByName(const char *extension);
bool CheckExtensionVersion(TExtension extension, int version);
const char *GetBehaviorString(TBehavior b);
TExtensionBehavior;
bool IsExtensionEnabled(const TExtensionBehavior &extBehavior, TExtension extension);
}
#endif