Lines Matching refs:PragmaHandler
34 PragmaHandler::~PragmaHandler() { in ~PragmaHandler()
41 EmptyPragmaHandler::EmptyPragmaHandler(StringRef Name) : PragmaHandler(Name) {} in EmptyPragmaHandler()
59 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, in FindHandler()
61 if (PragmaHandler *Handler = Handlers.lookup(Name)) in FindHandler()
66 void PragmaNamespace::AddPragma(PragmaHandler *Handler) { in AddPragma()
72 void PragmaNamespace::RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()
86 PragmaHandler *Handler in HandlePragma()
730 PragmaHandler *Handler) { in AddPragmaHandler()
738 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) { in AddPragmaHandler()
761 PragmaHandler *Handler) { in RemovePragmaHandler()
766 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace); in RemovePragmaHandler()
811 struct PragmaOnceHandler : public PragmaHandler {
812 PragmaOnceHandler() : PragmaHandler("once") {} in PragmaOnceHandler()
822 struct PragmaMarkHandler : public PragmaHandler {
823 PragmaMarkHandler() : PragmaHandler("mark") {} in PragmaMarkHandler()
831 struct PragmaPoisonHandler : public PragmaHandler {
832 PragmaPoisonHandler() : PragmaHandler("poison") {} in PragmaPoisonHandler()
841 struct PragmaSystemHeaderHandler : public PragmaHandler {
842 PragmaSystemHeaderHandler() : PragmaHandler("system_header") {} in PragmaSystemHeaderHandler()
849 struct PragmaDependencyHandler : public PragmaHandler {
850 PragmaDependencyHandler() : PragmaHandler("dependency") {} in PragmaDependencyHandler()
857 struct PragmaDebugHandler : public PragmaHandler {
858 PragmaDebugHandler() : PragmaHandler("__debug") {} in PragmaDebugHandler()
965 struct PragmaDiagnosticHandler : public PragmaHandler {
970 PragmaHandler("diagnostic"), Namespace(NS) {} in PragmaDiagnosticHandler()
1050 struct PragmaWarningHandler : public PragmaHandler {
1051 PragmaWarningHandler() : PragmaHandler("warning") {} in PragmaWarningHandler()
1171 struct PragmaIncludeAliasHandler : public PragmaHandler {
1172 PragmaIncludeAliasHandler() : PragmaHandler("include_alias") {} in PragmaIncludeAliasHandler()
1192 struct PragmaMessageHandler : public PragmaHandler {
1213 : PragmaHandler(PragmaKind(Kind, true)), Kind(Kind), Namespace(Namespace) {} in PragmaMessageHandler()
1266 struct PragmaPushMacroHandler : public PragmaHandler {
1267 PragmaPushMacroHandler() : PragmaHandler("push_macro") {} in PragmaPushMacroHandler()
1277 struct PragmaPopMacroHandler : public PragmaHandler {
1278 PragmaPopMacroHandler() : PragmaHandler("pop_macro") {} in PragmaPopMacroHandler()
1288 struct PragmaSTDC_FENV_ACCESSHandler : public PragmaHandler {
1289 PragmaSTDC_FENV_ACCESSHandler() : PragmaHandler("FENV_ACCESS") {} in PragmaSTDC_FENV_ACCESSHandler()
1301 struct PragmaSTDC_CX_LIMITED_RANGEHandler : public PragmaHandler {
1303 : PragmaHandler("CX_LIMITED_RANGE") {} in PragmaSTDC_CX_LIMITED_RANGEHandler()
1312 struct PragmaSTDC_UnknownHandler : public PragmaHandler {
1323 struct PragmaARCCFCodeAuditedHandler : public PragmaHandler {
1324 PragmaARCCFCodeAuditedHandler() : PragmaHandler("arc_cf_code_audited") {} in PragmaARCCFCodeAuditedHandler()
1377 struct PragmaAssumeNonNullHandler : public PragmaHandler {
1378 PragmaAssumeNonNullHandler() : PragmaHandler("assume_nonnull") {} in PragmaAssumeNonNullHandler()
1440 struct PragmaRegionHandler : public PragmaHandler {
1441 PragmaRegionHandler(const char *pragma) : PragmaHandler(pragma) { } in PragmaRegionHandler()
1510 if (PragmaHandler *NS = PragmaHandlers->FindHandler("STDC")) { in IgnorePragmas()
1517 if (PragmaHandler *Existing = STDCNamespace->FindHandler("", false)) { in IgnorePragmas()