summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/dynamic-cast.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Diagnostics] Improve some error messages related to bad use of dynamic_castDávid Bolvanský2019-11-041-6/+6
|
* Add an additional test for dynamic_cast.Eli Friedman2013-06-201-0/+2
| | | | llvm-svn: 184454
* When pretty-printing tag types, only print the tag if we're in C (andJohn McCall2010-03-101-8/+8
| | | | | | | | | | therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. llvm-svn: 98149
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Make one expected-diag directive match exactly one actual diagnostic.Sebastian Redl2009-02-071-1/+1
| | | | | | This uncovers some bugs, so several test cases now fail. llvm-svn: 64025
* Centralize error reporting of improper uses of incomplete types in theDouglas Gregor2009-01-191-1/+1
| | | | | | | | | | new DiagnoseIncompleteType. It provides additional information about struct/class/union/enum types when possible, either by pointing to the forward declaration of that type or by pointing to the definition (if we're in the process of defining that type). Fixes <rdar://problem/6500531>. llvm-svn: 62521
* Change a whole lot of diagnostics to take QualType's directly Chris Lattner2008-11-241-2/+2
| | | | | | | | instead of converting them to strings first. This also fixes a bunch of minor inconsistencies in the diagnostics emitted by clang and adds a bunch of FIXME's to DiagnosticKinds.def. llvm-svn: 59948
* Sema-check virtual declarations. Complete dynamic_cast checking.Sebastian Redl2008-11-061-1/+20
| | | | llvm-svn: 58804
* Implement semantic checking of static_cast and dynamic_cast.Sebastian Redl2008-10-311-0/+55
llvm-svn: 58509
OpenPOWER on IntegriCloud