[cfe-commits] r96274 - /cfe/trunk/test/Rewriter/rewrite-implementation.mm
Fariborz Jahanian
fjahanian at apple.com
Tue Feb 16 08:12:19 PST 2010
On Feb 15, 2010, at 7:16 PM, Daniel Dunbar wrote:
> On Mon, Feb 15, 2010 at 1:37 PM, Fariborz Jahanian <fjahanian at apple.com
> > wrote:
>> Author: fjahanian
>> Date: Mon Feb 15 15:37:11 2010
>> New Revision: 96274
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=96274&view=rev
>> Log:
>> Test to compile the rewritten file for my last patch.
>> (radar 7649577 related).
>>
>> Added:
>> cfe/trunk/test/Rewriter/rewrite-implementation.mm
>>
>> Added: cfe/trunk/test/Rewriter/rewrite-implementation.mm
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-implementation.mm?rev=96274&view=auto
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- cfe/trunk/test/Rewriter/rewrite-implementation.mm (added)
>> +++ cfe/trunk/test/Rewriter/rewrite-implementation.mm Mon Feb 15
>> 15:37:11 2010
>> @@ -0,0 +1,13 @@
>> +// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -
>> rewrite-objc %s -o %t-rw.cpp
>> +// RUN: %clang_cc1 -DSEL="void *" -S %t-rw.cpp
>
> Does using -S here make sense, wouldn't -fsyntax-only be just as good?
I prefer to go all the way to code gen. So, to catch as much as
possible any rewritten error.
But, when it makes sense (and I run into clang++ bugs), I will be
using -fsyntax-only. I fact,
I may have to in some cases where clang++ Sema is more restrict than g+
+.
- Fariborz
>
> - Daniel
>
>> +// radar 7649577
>> +
>> + at interface a
>> + at end
>> +
>> + at interface b : a
>> + at end
>> +
>> + at implementation b
>> + at end
>> +
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
More information about the cfe-commits
mailing list