clang API Documentation
#include <string>#include "clang/Basic/Visibility.h"#include "llvm/ADT/IntrusiveRefCntPtr.h"#include "clang/Basic/LangOptions.def"#include "clang/Basic/OpenCLExtensions.def"

Go to the source code of this file.
Classes | |
| class | clang::LangOptions |
| class | clang::FPOptions |
| Floating point control options. More... | |
| class | clang::OpenCLOptions |
| OpenCL volatile options. More... | |
Namespaces | |
| namespace | clang |
Defines | |
| #define | LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits; |
| #define | ENUM_LANGOPT(Name, Type, Bits, Default, Description) |
| #define | LANGOPT(Name, Bits, Default, Description) |
| #define | ENUM_LANGOPT(Name, Type, Bits, Default, Description) unsigned Name : Bits; |
| #define | LANGOPT(Name, Bits, Default, Description) |
| #define | ENUM_LANGOPT(Name, Type, Bits, Default, Description) |
| #define | OPENCLEXT(nm) unsigned nm : 1; |
| #define | OPENCLEXT(nm) nm = 0; |
Enumerations | |
| enum | clang::TranslationUnitKind { clang::TU_Complete, clang::TU_Prefix, clang::TU_Module } |
| Describes the kind of translation unit being processed. More... | |
| #define ENUM_LANGOPT | ( | Name, | |
| Type, | |||
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
Definition at line 65 of file LangOptions.h.
| #define ENUM_LANGOPT | ( | Name, | |
| Type, | |||
| Bits, | |||
| Default, | |||
| Description | |||
| ) | unsigned Name : Bits; |
Definition at line 65 of file LangOptions.h.
| #define ENUM_LANGOPT | ( | Name, | |
| Type, | |||
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
Type get##Name() const { return static_cast<Type>(Name); } \ void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
Definition at line 65 of file LangOptions.h.
| #define LANGOPT | ( | Name, | |
| Bits, | |||
| Default, | |||
| Description | |||
| ) | unsigned Name : Bits; |
Definition at line 64 of file LangOptions.h.
| #define LANGOPT | ( | Name, | |
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
Definition at line 64 of file LangOptions.h.
| #define LANGOPT | ( | Name, | |
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
Definition at line 64 of file LangOptions.h.
| #define OPENCLEXT | ( | nm | ) | unsigned nm : 1; |
Definition at line 93 of file LangOptions.h.
| #define OPENCLEXT | ( | nm | ) | nm = 0; |
Definition at line 93 of file LangOptions.h.