Lines Matching refs:Namespace
727 /// If 'Namespace' is non-null, then it is a token required to exist on the
729 void Preprocessor::AddPragmaHandler(StringRef Namespace,
734 if (!Namespace.empty()) {
738 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) {
745 InsertNS = new PragmaNamespace(Namespace);
757 /// preprocessor. If \arg Namespace is non-null, then it should be the
760 void Preprocessor::RemovePragmaHandler(StringRef Namespace,
765 if (!Namespace.empty()) {
766 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace);
767 assert(Existing && "Namespace containing handler does not exist!");
967 const char *Namespace;
970 PragmaHandler("diagnostic"), Namespace(NS) {}
987 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace);
992 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace);
1034 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName);
1186 const StringRef Namespace;
1203 StringRef Namespace = StringRef())
1204 : PragmaHandler(PragmaKind(Kind, true)), Kind(Kind), Namespace(Namespace) {}
1251 Callbacks->PragmaMessage(MessageLoc, Namespace, Kind, MessageString);