Lines Matching refs:Namespace
915 void Preprocessor::AddPragmaHandler(StringRef Namespace, in AddPragmaHandler() argument
920 if (!Namespace.empty()) { in AddPragmaHandler()
924 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) { in AddPragmaHandler()
931 InsertNS = new PragmaNamespace(Namespace); in AddPragmaHandler()
946 void Preprocessor::RemovePragmaHandler(StringRef Namespace, in RemovePragmaHandler() argument
951 if (!Namespace.empty()) { in RemovePragmaHandler()
952 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace); in RemovePragmaHandler()
1277 const char *Namespace; member
1281 : PragmaHandler("diagnostic"), Namespace(NS) {} in PragmaDiagnosticHandler()
1303 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma()
1311 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma()
1364 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma()
1616 const StringRef Namespace; member
1633 StringRef Namespace = StringRef()) in PragmaMessageHandler()
1635 Namespace(Namespace) {} in PragmaMessageHandler()
1682 Callbacks->PragmaMessage(MessageLoc, Namespace, Kind, MessageString); in HandlePragma()