We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d07d1 commit 82565e8Copy full SHA for 82565e8
lib/Sema/TypeChecker.h
@@ -708,18 +708,6 @@ class TypeChecker final {
708
this->InImmediateMode = InImmediateMode;
709
}
710
711
- template<typename ...ArgTypes>
712
- InFlightDiagnostic diagnose(ArgTypes &&...Args) {
713
- return Diags.diagnose(std::forward<ArgTypes>(Args)...);
714
- }
715
-
716
- void diagnoseWithNotes(InFlightDiagnostic parentDiag,
717
- llvm::function_ref<void(void)> builder) {
718
- CompoundDiagnosticTransaction transaction(Diags);
719
- parentDiag.flush();
720
- builder();
721
722
723
static Type getArraySliceType(SourceLoc loc, Type elementType);
724
static Type getDictionaryType(SourceLoc loc, Type keyType, Type valueType);
725
static Type getOptionalType(SourceLoc loc, Type elementType);
0 commit comments