clang 20.0.0git
Classes | Namespaces | Macros | Enumerations | Functions
Builtins.h File Reference

Defines enum values for all the target-independent builtin functions. More...

#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include <cstring>
#include "clang/Basic/BuiltinHeaders.def"
#include "clang/Basic/Builtins.inc"

Go to the source code of this file.

Classes

struct  clang::HeaderDesc
 
struct  clang::Builtin::Info
 
class  clang::Builtin::Context
 Holds information about both target-independent and target-specific builtins, allowing easy queries by clients. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::Builtin
 

Macros

#define HEADER(ID, NAME)   ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 

Enumerations

enum  clang::LanguageID : uint16_t {
  clang::GNU_LANG = 0x1 , clang::C_LANG = 0x2 , clang::CXX_LANG = 0x4 , clang::OBJC_LANG = 0x8 ,
  clang::MS_LANG = 0x10 , clang::OMP_LANG = 0x20 , clang::CUDA_LANG = 0x40 , clang::COR_LANG = 0x80 ,
  clang::OCL_GAS = 0x100 , clang::OCL_PIPE = 0x200 , clang::OCL_DSE = 0x400 , clang::ALL_OCL_LANGUAGES = 0x800 ,
  clang::HLSL_LANG = 0x1000 , clang::ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG , clang::ALL_GNU_LANGUAGES = ALL_LANGUAGES | GNU_LANG , clang::ALL_MS_LANGUAGES = ALL_LANGUAGES | MS_LANG
}
 
enum  clang::Builtin::ID { clang::Builtin::NotBuiltin = 0 , clang::Builtin::FirstTSBuiltin }
 
enum  clang::BuiltinTemplateKind : int { clang::BTK__make_integer_seq , clang::BTK__type_pack_element }
 Kinds of BuiltinTemplateDecl. More...
 

Functions

bool clang::Builtin::evaluateRequiredTargetFeatures (llvm::StringRef RequiredFatures, const llvm::StringMap< bool > &TargetFetureMap)
 Returns true if the required target features of a builtin function are enabled.
 

Detailed Description

Defines enum values for all the target-independent builtin functions.

Definition in file Builtins.h.

Macro Definition Documentation

◆ BUILTIN

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 66 of file Builtins.h.

◆ HEADER

#define HEADER (   ID,
  NAME 
)    ID,

Definition at line 53 of file Builtins.h.