Home | History | Annotate | Download | only in Lex

Lines Matching refs:PragmaHandler

10 // This file implements the PragmaHandler/PragmaTable interfaces and implements
29 PragmaHandler::~PragmaHandler() {
47 for (llvm::StringMap<PragmaHandler*>::iterator
56 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name,
58 if (PragmaHandler *Handler = Handlers.lookup(Name))
63 void PragmaNamespace::AddPragma(PragmaHandler *Handler) {
66 llvm::StringMapEntry<PragmaHandler *> &Entry =
71 void PragmaNamespace::RemovePragmaHandler(PragmaHandler *Handler) {
85 PragmaHandler *Handler
727 PragmaHandler *Handler) {
735 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) {
758 PragmaHandler *Handler) {
763 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace);
809 struct PragmaOnceHandler : public PragmaHandler {
810 PragmaOnceHandler() : PragmaHandler("once") {}
820 struct PragmaMarkHandler : public PragmaHandler {
821 PragmaMarkHandler() : PragmaHandler("mark") {}
829 struct PragmaPoisonHandler : public PragmaHandler {
830 PragmaPoisonHandler() : PragmaHandler("poison") {}
839 struct PragmaSystemHeaderHandler : public PragmaHandler {
840 PragmaSystemHeaderHandler() : PragmaHandler("system_header") {}
847 struct PragmaDependencyHandler : public PragmaHandler {
848 PragmaDependencyHandler() : PragmaHandler("dependency") {}
855 struct PragmaDebugHandler : public PragmaHandler {
856 PragmaDebugHandler() : PragmaHandler("__debug") {}
935 struct PragmaDiagnosticHandler : public PragmaHandler {
940 PragmaHandler("diagnostic"), Namespace(NS) {}
1007 struct PragmaIncludeAliasHandler : public PragmaHandler {
1008 PragmaIncludeAliasHandler() : PragmaHandler("include_alias") {}
1028 struct PragmaMessageHandler : public PragmaHandler {
1049 : PragmaHandler(PragmaKind(Kind, true)), Kind(Kind), Namespace(Namespace) {}
1102 struct PragmaPushMacroHandler : public PragmaHandler {
1103 PragmaPushMacroHandler() : PragmaHandler("push_macro") {}
1113 struct PragmaPopMacroHandler : public PragmaHandler {
1114 PragmaPopMacroHandler() : PragmaHandler("pop_macro") {}
1124 struct PragmaSTDC_FENV_ACCESSHandler : public PragmaHandler {
1125 PragmaSTDC_FENV_ACCESSHandler() : PragmaHandler("FENV_ACCESS") {}
1137 struct PragmaSTDC_CX_LIMITED_RANGEHandler : public PragmaHandler {
1139 : PragmaHandler("CX_LIMITED_RANGE") {}
1148 struct PragmaSTDC_UnknownHandler : public PragmaHandler {
1159 struct PragmaARCCFCodeAuditedHandler : public PragmaHandler {
1160 PragmaARCCFCodeAuditedHandler() : PragmaHandler("arc_cf_code_audited") {}
1222 struct PragmaRegionHandler : public PragmaHandler {
1223 PragmaRegionHandler(const char *pragma) : PragmaHandler(pragma) { }