aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-27 00:13:57 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-27 00:13:57 +0000
commita6ec7ad25a137fd42d84e6b6d44b32976cae440c (patch)
tree1e5b9a0a0355d71f0bfd9b133deb476624842696 /lib/Sema/Sema.h
parentb790661a15d93941d2c33a0ea328254277b3d7e3 (diff)
New RequireNonAbstractType function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r--lib/Sema/Sema.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 16913c5869..52aa1a010b 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -2211,6 +2211,10 @@ public:
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);