• 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
    dad86f18
mingw.org-CXX-GNU-4.9.3.input 8.14 KB