[cfe-commits] r75601 - in /cfe/trunk/test/Index: cxx-operator-overload-input.cpp cxx-operator-overload.cpp

Argyrios Kyrtzidis kyrtzidis at apple.com
Tue Jul 14 10:17:16 PDT 2009


On Jul 14, 2009, at 1:44 AM, Daniel Dunbar wrote:

> Very cool.
>
> Minor nitpick:
>
> On Mon, Jul 13, 2009 at 8:19 PM, Argiris  
> Kirtzidis<akyrtzi at gmail.com> wrote:
>> --- cfe/trunk/test/Index/cxx-operator-overload.cpp (added)
>> +++ cfe/trunk/test/Index/cxx-operator-overload.cpp Mon Jul 13  
>> 22:19:46 2009
>> @@ -0,0 +1,9 @@
>> +// RUN: clang-cc -emit-pch %S/cxx-operator-overload-input.cpp -o  
>> %t.ast &&
>> +// RUN: index-test %t.ast -point-at %S/cxx-operator-overload- 
>> input.cpp:8:17 -print-decls | count 2 &&
>> +// RUN: index-test %t.ast -point-at %S/cxx-operator-overload- 
>> input.cpp:8:17 -print-decls | grep ':3:9,' &&
>> +// RUN: index-test %t.ast -point-at %S/cxx-operator-overload- 
>> input.cpp:8:17 -print-decls | grep ':11:10,' &&
>
> Can you write this in a way that doesn't run index-test more than
> necessary, for example just save the output to %t, or use the new
> FileCheck tool.

Sure, I'll do that.

-Argiris



More information about the cfe-commits mailing list