On Dec 11, 2012, at 2:16 PM, NAKAMURA Takumi <[email protected]> wrote:

> 2012/12/12 Douglas Gregor <[email protected]>:
>>> Doug, excuse me to comment older commit.
>>> 
>>> Should be?
>>> // {expected-no-diagnostics}
>>> 
>>> Or I can see below;
>>> 
>>> error: no expected directives found: consider use of 
>>> 'expected-no-diagnostics'
>>> 1 error generated.
>>> 
>>> (But clang exits successfully regardless of braces…)
>> 
>> This might be weirdness with the Windows file system, which we've seen 
>> before. We could replace the 'touch' command with an rm/cp pair, so we're 
>> certain that the B.h getting included is different.
> 
> I'd like to know why "1 error generated." didn't raise error status
> with -verify, (not only on windows).

I *think* the -verify gets dropped when Clang goes off and spawns another 
compiler instance to build a module.

        - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to