summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/class-template-ctor-initializer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Lit Test] Updated 34 Lit tests to be C++11 compatible.Charles Li2015-11-171-1/+7
| | | | | | | Added expected diagnostics new to C++11. Expanded RUN line to: default, C++98/03 and C++11. llvm-svn: 253371
* Don't produce diagnostics for missing ctor-initializers during templateRichard Smith2012-09-251-0/+17
| | | | | | instantiations if we encountered errors parsing some of the initializers. llvm-svn: 164578
* PR10828: Produce a warning when a no-arguments function is declared in blockRichard Smith2012-01-051-1/+1
| | | | | | | | | | | | | | | | | scope, when no other indication is provided that the user intended to declare a function rather than a variable. Remove some false positives from the existing 'parentheses disambiguated as a function' warning by suppressing it when the declaration is marked as 'typedef' or 'extern'. Add a new warning group -Wvexing-parse containing both of these warnings. The new warning is enabled by default; despite a number of false positives (and one bug) in clang's test-suite, I have only found genuine bugs with it when running it over a significant quantity of real C++ code. llvm-svn: 147599
* If a non-dependent base class initializer fails to match any direct orDouglas Gregor2010-06-161-0/+22
| | | | | | | | virtual base class, but the class still has dependent base classes, then don't diagnose the failed match as an error: the right base class might magically appear. Fixes PR7259. llvm-svn: 106103
* 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
* Patch to implement template types in ctor-initializer list.Fariborz Jahanian2009-07-011-0/+33
Also has fix for bugzilla-4469. llvm-svn: 74631
OpenPOWER on IntegriCloud