New RequireNonAbstractType function.
llvm-svn: 80183
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 16913c5..52aa1a0 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2211,6 +2211,10 @@
AbstractFieldType
};
+ bool RequireNonAbstractType(SourceLocation Loc, QualType T,
+ const PartialDiagnostic &PD,
+ const CXXRecordDecl *CurrentRD = 0);
+
bool RequireNonAbstractType(SourceLocation Loc, QualType T, unsigned DiagID,
AbstractDiagSelID SelID = AbstractNone,
const CXXRecordDecl *CurrentRD = 0);