[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [PATCH] D10423: [modules] PR20507: Avoid silent textual inclusion.
From:       Ben Langmuir <blangmuir () apple ! com>
Date:       2015-07-08 18:45:12
Message-ID: 4dbd7758f40b4804f9e96a92f13eec5b () localhost ! localdomain
[Download RAW message or body]

benlangmuir added a comment.

> I agree that `exclude` makes more sense for `requires excluded` as a "supported" \
> feature, but if this is another egregious hack for Darwin, I don't think it matters \
> which we choose.


Sure, I'm just as happy to use `textual`, since every case I've seen that's the more \
correct behavior.

> (Maybe we should also check the module name here?)


I found another use of this pattern in our Tcl module.  I suspect when I look back at \
older versions of the SDK I'm going to find more of these cases. How about we don't \
limit this hack to specific modules, but we add a warning to say it's treating these \
as "textual".


http://reviews.llvm.org/D10423




_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic