diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 56eb24edcf..a889eeefe8 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -482,9 +482,15 @@ public: bool CheckEquivalentExceptionSpec( const FunctionProtoType *Old, SourceLocation OldLoc, const FunctionProtoType *New, SourceLocation NewLoc); + bool CheckEquivalentExceptionSpec(unsigned DiagID, unsigned NoteID, + const FunctionProtoType *Old, SourceLocation OldLoc, + const FunctionProtoType *New, SourceLocation NewLoc); bool CheckExceptionSpecSubset(unsigned DiagID, unsigned NoteID, const FunctionProtoType *Superset, SourceLocation SuperLoc, const FunctionProtoType *Subset, SourceLocation SubLoc); + bool CheckParamExceptionSpec(unsigned NoteID, + const FunctionProtoType *Target, SourceLocation TargetLoc, + const FunctionProtoType *Source, SourceLocation SourceLoc); QualType ObjCGetTypeForMethodDefinition(DeclPtrTy D); |