Lines Matching refs:Namespace
729 void Preprocessor::AddPragmaHandler(StringRef Namespace, in AddPragmaHandler() argument
734 if (!Namespace.empty()) { in AddPragmaHandler()
738 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) { in AddPragmaHandler()
745 InsertNS = new PragmaNamespace(Namespace); in AddPragmaHandler()
760 void Preprocessor::RemovePragmaHandler(StringRef Namespace, in RemovePragmaHandler() argument
765 if (!Namespace.empty()) { in RemovePragmaHandler()
766 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace); in RemovePragmaHandler()
967 const char *Namespace; member
970 PragmaHandler("diagnostic"), Namespace(NS) {} in PragmaDiagnosticHandler()
987 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma()
992 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma()
1043 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma()
1195 const StringRef Namespace; member
1212 StringRef Namespace = StringRef()) in PragmaMessageHandler()
1213 : PragmaHandler(PragmaKind(Kind, true)), Kind(Kind), Namespace(Namespace) {} in PragmaMessageHandler()
1260 Callbacks->PragmaMessage(MessageLoc, Namespace, Kind, MessageString); in HandlePragma()