Lines Matching defs:Namespace
913 /// If 'Namespace' is non-null, then it is a token required to exist on the
915 void Preprocessor::AddPragmaHandler(StringRef Namespace,
920 if (!Namespace.empty()) {
924 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) {
931 InsertNS = new PragmaNamespace(Namespace);
943 /// preprocessor. If \arg Namespace is non-null, then it should be the
946 void Preprocessor::RemovePragmaHandler(StringRef Namespace,
951 if (!Namespace.empty()) {
952 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace);
953 assert(Existing && "Namespace containing handler does not exist!");
1277 const char *Namespace;
1281 : PragmaHandler("diagnostic"), Namespace(NS) {}
1303 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace);
1311 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace);
1364 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName);
1616 const StringRef Namespace;
1633 StringRef Namespace = StringRef())
1635 Namespace(Namespace) {}
1682 Callbacks->PragmaMessage(MessageLoc, Namespace, Kind, MessageString);