• Brad King's avatar
    ParseImplicitIncludeInfo: Canonicalize implicit include dirs · dad86f18
    Brad King authored
    The implicit include directory extraction added by commit 5990ecb7
    (Compute implicit include directories from compiler output, 2018-12-07,
    v3.14.0-rc1~108^2) leaves paths like `/usr/lib/../include` unchanged.
    Fix the logic to canonicalize such paths (e.g. to `/usr/include`)
    as we do for implicit link directories already.  This is important
    to ensure the set of implicit directories is represented in the same
    form as the include directories that will be compared to them.
    Issue: #19095
craype-Fortran-Cray-8.7.output 757 Bytes