diff options
author | tomlu <tomlu@google.com> | 2017-12-27 13:33:35 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-27 13:35:42 -0800 |
commit | a0d84f68c3555b600828695affaacf6872d4a886 (patch) | |
tree | 32ee55d00b8f2ddfbbcf329d56414d0fab7c7e38 /WORKSPACE | |
parent | c13b2ad87917251856db135314f03806c32aaae0 (diff) |
Fix include scanner's absolute path handling.
When absolute include dirs are used we can discover absolute includes outside any known root.
* Fix bug where we try to create an absolute exec path. Instead, make the exec path relative to the root directory '/'.
* Reverse the condition we use to filter absolute includes. We can identify these by their fake root ('/') before we create a path and linearly check if it is a system include.
PiperOrigin-RevId: 180217154
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions