llvm-project/clang/test/SemaCXX
Chris Lattner e3d20d9545 Convert IdentifierInfo's to be printed the same as DeclarationNames
with implicit quotes around them.  This has a bunch of follow-on 
effects and requires tweaking to a whole lot of code.  This causes
a regression in two tests (xfailed) by causing it to emit things like:

  Line 10: duplicate interface declaration for category 'MyClass1' ('Category1')

instead of:

  Line 10: duplicate interface declaration for category 'MyClass1(Category1)'

I will fix this in a follow-up commit.

As part of this, I had to start switching stuff to use ->getDeclName() instead
of Decl::getName() for consistency.  This is good, but I was planning to do this
as an independent patch.  There will be several follow-on patches
to clean up some of the mess, but this patch is already too big.

llvm-svn: 59917
2008-11-23 21:45:46 +00:00
..
addr-of-overloaded-function.cpp Basic support for taking the address of an overloaded function 2008-11-10 20:40:00 +00:00
aggregate-initialization.cpp Sema-check virtual declarations. Complete dynamic_cast checking. 2008-11-06 15:59:35 +00:00
bool.cpp treat bool literals as constatnt expressions. 2008-08-23 21:12:35 +00:00
carbon.cpp Add carbon.cpp and cocoa.mm tests 2008-08-23 22:21:00 +00:00
class-names.cpp Move the rest of the Sema C++ tests into the SemaCXX test directory. 2008-08-22 15:43:49 +00:00
class.cpp Implement effects of 'mutable', and a few comments from Chris on its parsing. 2008-11-17 23:24:37 +00:00
condition.cpp Fix test cases broken by quote normalization in diagnostics. 2008-11-22 22:39:41 +00:00
const-cast.cpp Remove workaround for reference. No longer necessary. 2008-10-29 19:45:21 +00:00
constructor-initializer.cpp Improve parser error recovery after a constructor initializer 2008-11-10 16:59:40 +00:00
constructor.cpp Semantic checking of constructor declarations and classification of default/copy constructors 2008-10-31 20:25:05 +00:00
conversion-function.cpp As threatened previously: consolidate name lookup and the creation of 2008-11-18 15:03:34 +00:00
converting-constructor.cpp Standard conversion sequences now have a CopyConstructor field, to 2008-11-03 19:09:14 +00:00
copy-initialization.cpp Implement a %plural modifier for complex plural forms in diagnostics. Use it in the overload diagnostics. 2008-11-22 13:44:36 +00:00
decl-expr-ambiguity.cpp implement a fixme by making warnings for ++/-- on non-modifiable-lvalues better. 2008-11-18 01:26:17 +00:00
default1.cpp Now that we have copy initialization support, use it for checking the default arguments 2008-11-04 13:57:51 +00:00
default2.cpp Diagnose use of 'this' in a C++ default argument. Thanks to Eli for correcting my bogus assertion about it already being handled 2008-11-04 13:41:56 +00:00
derived-to-base-ambig.cpp First non-embarrassing cut at checking for ambiguous derived-to-base 2008-10-24 04:54:22 +00:00
destructor.cpp Changes in preparation for nested-name-specifiers. 2008-11-07 22:02:30 +00:00
direct-initializer.cpp Implement C++ copy-initialization for declarations. There is now some 2008-11-05 15:29:30 +00:00
do-while-scope.cpp Fix do-while scoping in C++. 2008-09-11 04:46:46 +00:00
dynamic-cast.cpp Sema-check virtual declarations. Complete dynamic_cast checking. 2008-11-06 15:59:35 +00:00
fntype-decl.cpp Simplify and correct the check for function redefinitions. This does two things: 2008-10-29 15:10:40 +00:00
function-type-qual.cpp Unbreak the test by.. removing a space. (clang protested that -verify only works on single input files). 2008-10-24 22:25:11 +00:00
inherit.cpp Add representation of base classes in the AST, and verify that we 2008-10-22 17:49:05 +00:00
namespace.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
nested-name-spec.cpp add support for inserting a DeclarationName into a diagnostic directly 2008-11-23 20:28:15 +00:00
new-delete.cpp Implementation of new and delete parsing and sema. 2008-11-21 19:14:01 +00:00
overload-call-copycon.cpp Standard conversion sequences now have a CopyConstructor field, to 2008-11-03 19:09:14 +00:00
overload-call.cpp Simplify and correct the check for function redefinitions. This does two things: 2008-10-29 15:10:40 +00:00
overload-decl.cpp Fix overloading of non-static member functions that differ in their cv-qualifiers 2008-11-21 15:36:28 +00:00
overloaded-builtin-operators.cpp Enable some more operator overloading tests, and don't look into an identifier for functions that might not have one 2008-11-21 15:30:19 +00:00
overloaded-operator-decl.cpp Don't print canonical types in overloading-related diagnostics 2008-11-21 02:54:28 +00:00
overloaded-operator.cpp Implement a %plural modifier for complex plural forms in diagnostics. Use it in the overload diagnostics. 2008-11-22 13:44:36 +00:00
qualification-conversion.cpp Initial step toward supporting qualification conversions (C++ 4.4). 2008-10-21 23:43:52 +00:00
references.cpp Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
reinterpret-cast.cpp Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl. 2008-10-24 15:36:09 +00:00
reinterpret-fn-obj-pedantic.cpp Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl. 2008-10-24 15:36:09 +00:00
return-stack-addr.cpp Refactor the expression class hierarchy for casts. Most importantly: 2008-10-27 19:41:14 +00:00
static-cast.cpp Greatly improve static_cast diagnostics 2008-11-07 23:29:29 +00:00
static-initializers.cpp Initial sema support for C++ static initializers. 2008-08-22 05:00:02 +00:00
this.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
type-convert-construct.cpp Give string literals const element typesin C++, and cope with the deprecated C++ conversion from a string literal to a pointer-to-non-const-character 2008-09-12 00:47:35 +00:00
typedef-redecl.cpp Allow redeclaration of typedefs in C++ 2008-11-21 16:29:06 +00:00
typeid.cpp Implement C++ 'typeid' parsing and sema. 2008-11-11 11:37:55 +00:00
user-defined-conversions.cpp Allow user-defined conversions during reference binding 2008-11-10 16:14:15 +00:00
wchar_t.cpp Type::isIntegerType() returns true for types between Bool and LongLong. 2008-08-17 13:24:01 +00:00