Lines Matching defs:diagnostic
98 /// Sets a diagnostic to be performed. The diagnostic is given
105 assert(isQuiet() && "partial diagnostic already defined");
109 assert(isQuiet() && "partial diagnostic already defined");
110 assert(DiagID && "creating null diagnostic");
127 /// A diagnostic message which has been conditionally emitted pending
160 unsigned diagnostic,
167 DD.ForbiddenTypeData.Diagnostic = diagnostic;
174 assert(Kind == Access && "Not an access diagnostic.");
178 assert(Kind == Access && "Not an access diagnostic.");
183 assert(Kind == Availability && "Not an availability diagnostic.");
192 assert(Kind == Availability && "Not an availability diagnostic.");
197 assert(Kind == Availability && "Not an availability diagnostic.");
203 assert(Kind == Availability && "Not an availability diagnostic.");
207 /// The diagnostic ID to emit. Used like so:
212 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic");
217 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic");
222 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic");
303 /// Add a diagnostic to this pool.
329 /// Add a diagnostic to the current delay pool.