diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-23 21:45:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-23 21:45:46 +0000 |
commit | 08631c5fa053867146b5ee8be658c229f6bf127c (patch) | |
tree | e1938ec851a8ca72ade476e71a10797fdacd12a7 /test/SemaObjC/category-1.m | |
parent | 011bb4edf731d529da1cbf71c7c2696aaf5a054f (diff) | |
download | clang-08631c5fa053867146b5ee8be658c229f6bf127c.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r-- | test/SemaObjC/category-1.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m index 1cae2300e0..8ba15d3973 100644 --- a/test/SemaObjC/category-1.m +++ b/test/SemaObjC/category-1.m @@ -1,4 +1,5 @@ // RUN: clang -fsyntax-only -verify %s +// XFAIL @interface MyClass1 @end |