summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/exception-spec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a DR437 testcase, but disable it for now, since it fails.Sebastian Redl2009-10-171-0/+3
| | | | llvm-svn: 84345
* Use partial diagnostics properly in call to RequireCompleteType. Among other ↵Sebastian Redl2009-10-141-1/+6
| | | | | | things, this means we get a note on the declaration of the incomplete type when it is used in an exception specification. llvm-svn: 84099
* Do exception spec compatibility tests for member pointers, too.Sebastian Redl2009-10-141-0/+14
| | | | llvm-svn: 84098
* Types appearing more than once in a spec shouldn't matter.Sebastian Redl2009-10-111-0/+4
| | | | llvm-svn: 83766
* Test exception spec compatibility on return type and parameters.Sebastian Redl2009-10-111-4/+4
| | | | | | | Along the way, use RequireCompleteType when testing exception spec types. Separate all the ugly spec stuff into its own file. llvm-svn: 83764
* Implement the core checking for compatible exception specifications in ↵Sebastian Redl2009-10-101-7/+7
| | | | | | | | | assignment and initialization. The exception specification of the assignee must be the same or a subset of the target. In addition, exception specifications on arguments and return types must be equivalent, but this is not implemented yet. This currently produces two diagnostics for every invalid assignment/initialization, due to the diagnostic produced outside PerformImplicitConversion, e.g. in CheckSingleInitializer. I don't know how to suppress this; in any case I think it is the wrong place for a diagnostic, since there are other diagnostics produced inside the function. So I'm leaving it as it is for the moment. llvm-svn: 83710
* Extend the exception spec test even further. Now I need to implement this.Sebastian Redl2009-08-271-0/+44
| | | | llvm-svn: 80276
* Enhance testing of overriding exception specs for inaccessible base exceptions.Sebastian Redl2009-07-181-0/+6
| | | | llvm-svn: 76317
* Implement checking of exception spec compatibility for overriding virtual ↵Sebastian Redl2009-07-071-0/+51
| | | | | | functions. llvm-svn: 74943
* Catch function redeclarations with incompatible exception specifications.Sebastian Redl2009-07-041-1/+29
| | | | llvm-svn: 74787
* Disallow exception specs on typedefs.Sebastian Redl2009-05-311-1/+1
| | | | llvm-svn: 72664
* Reject incomplete types in exception specs.Sebastian Redl2009-05-291-0/+10
| | | | llvm-svn: 72580
* Disallow exception specifications on multi-level indirections.Sebastian Redl2009-05-291-0/+25
llvm-svn: 72571
OpenPOWER on IntegriCloud