It's ensuring that macros like `define N 1024` don't create mapping regions
when the integer literal
is implicitly converted. It also makes sure that literals in ternary
conditional create mapping regions
- e.g. there will be a mapping region for 1 and 0 in `cond? 1 : 0` .


2014-08-20 23:49 GMT-07:00 Justin Bogner <[email protected]>:

> Alex L <[email protected]> writes:
> > These two patches remove the mapping for implicit cast expression and
> > modify the "ignore if not extended" flag to be "ignore if file only
> > has this region". I'm sending them out together as they both partially
> > influence a common testcase.
>
> Why? What is this accomplishing? As far as I can tell one of these
> patches removes a CHECK line and the other adds back the exact same
> check. I guess this changes how that particular construct is modelled?
> If so, it might be better to just make this one patch so it's clear that
> you're not removing functionality, but changing how it's done.
>

Attachment: ignoreImplicitCastAndModifyRegionIgnore.patch
Description: Binary data

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

Reply via email to