<p dir="ltr">On 5 Mar 2014 14:11, "Aaron Ballman" <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
><br>
> On Wed, Mar 5, 2014 at 5:09 PM, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br>
> > On 5 Mar 2014 14:06, "Aaron Ballman" <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
> >><br>
> >> Author: aaronballman<br>
> >> Date: Wed Mar  5 15:59:02 2014<br>
> >> New Revision: 203014<br>
> >><br>
> >> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=203014&view=rev">http://llvm.org/viewvc/llvm-project?rev=203014&view=rev</a><br>
> >> Log:<br>
> >> Updating this test case to appease build bots which support ANSI escape<br>
> >> sequences (unlike my dev box).<br>
> >><br>
> >> Modified:<br>
> >>     cfe/trunk/test/Misc/ast-dump-color.cpp<br>
> >><br>
> >> Modified: cfe/trunk/test/Misc/ast-dump-color.cpp<br>
> >> URL:<br>
> >> <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/ast-dump-color.cpp?rev=203014&r1=203013&r2=203014&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/ast-dump-color.cpp?rev=203014&r1=203013&r2=203014&view=diff</a><br>

> >><br>
> >> ==============================================================================<br>
> >> --- cfe/trunk/test/Misc/ast-dump-color.cpp (original)<br>
> >> +++ cfe/trunk/test/Misc/ast-dump-color.cpp Wed Mar  5 15:59:02 2014<br>
> >> @@ -59,7 +59,7 @@ int TestExpr __attribute__((guarded_by(m<br>
> >>  //CHECK: {{^}}[[Blue]]|<br>
> >> `-[[RESET]][[YELLOW]]ParagraphComment[[RESET]][[Yellow]]<br>
> >> 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:4[[RESET]],<br>
> >> [[Yellow]]col:11[[RESET]]>{{$}}<br>
> >>  //CHECK: {{^}}[[Blue]]|<br>
> >> `-[[RESET]][[YELLOW]]TextComment[[RESET]][[Yellow]]<br>
> >> 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:4[[RESET]],<br>
> >> [[Yellow]]col:11[[RESET]]> Text=" Comment"{{$}}<br>
> >>  //CHECK:<br>
> >> {{^}}[[Blue]]|-[[RESET]][[GREEN]]CXXRecordDecl[[RESET]][[Yellow]]<br>
> >> 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:1[[RESET]],<br>
> >> [[Yellow]]line:25:1[[RESET]]> class[[CYAN]] Mutex[[RESET]] definition{{$}}<br>
> >> -//CHECK: {{^}}[[Blue]]|<br>
> >> |-[[RESET]][[BLUE]]CapabilityAttr[[RESET]][[Yellow]]<br>
> >> 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:22[[RESET]]> capability<br>
> >> ""{{$}}<br>
> >> +//CHECK: {{^}}[[Blue]]|<br>
> >> |-[[RESET]][[BLUE]]CapabilityAttr[[RESET]][[Yellow]]<br>
> >> 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:22[[RESET]]> capability<br>
> >> "mutex"{{$}}<br>
> ><br>
> > Huh? How do ANSI color sequences affect whether this line ends "" or<br>
> > "mutex"?<br>
><br>
> They don't -- I'm merely muttering that this test never runs for me on<br>
> my Windows box, so I always seem to break it and only find out by<br>
> annoying the build bots.</p>
<p dir="ltr">Ah, I see. Can we improve this test to also cope with the various [[things]] expanding to empty strings, so we can enable it unconditionally?<br>
</p>