Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Issue 1658553002: Check for system include paths by looking at clang's HeaderSearchOptions, (Closed)

Created:
4 years, 10 months ago by dsansome
Modified:
4 years, 10 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, M-A Ruel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for system include paths by looking at clang's HeaderSearchOptions, rather than assuming all absolute paths are system include paths. Add a test for relative --sysroots BUG= Committed: https://crrev.com/b9ea19b29ec99621d3eb77b90d51ea7af6d0b9ef Cr-Commit-Position: refs/heads/master@{#373184}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebase #

Patch Set 3 : Add helpful comments #

Total comments: 1

Messages

Total messages: 19 (6 generated)
dsansome
4 years, 10 months ago (2016-02-01 08:23:47 UTC) #2
Adrian Kuegel
Could you please also test this on real data? If everything works correctly, the index ...
4 years, 10 months ago (2016-02-01 09:46:25 UTC) #3
Adrian Kuegel
https://codereview.chromium.org/1658553002/diff/1/tools/clang/translation_unit/TranslationUnitGenerator.cpp File tools/clang/translation_unit/TranslationUnitGenerator.cpp (right): https://codereview.chromium.org/1658553002/diff/1/tools/clang/translation_unit/TranslationUnitGenerator.cpp#newcode89 tools/clang/translation_unit/TranslationUnitGenerator.cpp:89: for (const auto& prefix : header_search_options->SystemHeaderPrefixes) { On 2016/02/01 ...
4 years, 10 months ago (2016-02-01 09:54:10 UTC) #4
dsansome
> Could you please also test this on real data? If everything works correctly, the ...
4 years, 10 months ago (2016-02-02 06:48:59 UTC) #5
Adrian Kuegel
LGTM Thanks for verifying that everything should still work. Also great that we can get ...
4 years, 10 months ago (2016-02-02 08:37:19 UTC) #6
dsansome
On 2016/02/02 08:37:19, Adrian Kuegel wrote: > Interesting; that seems to indicate that Chromium builds ...
4 years, 10 months ago (2016-02-02 23:26:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658553002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658553002/40001
4 years, 10 months ago (2016-02-02 23:28:47 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/141854)
4 years, 10 months ago (2016-02-02 23:51:37 UTC) #11
dsansome
+dcheng for tools/clang OWNERS
4 years, 10 months ago (2016-02-03 00:15:48 UTC) #13
dcheng
lgtm https://codereview.chromium.org/1658553002/diff/40001/tools/clang/translation_unit/TranslationUnitGenerator.cpp File tools/clang/translation_unit/TranslationUnitGenerator.cpp (right): https://codereview.chromium.org/1658553002/diff/40001/tools/clang/translation_unit/TranslationUnitGenerator.cpp#newcode252 tools/clang/translation_unit/TranslationUnitGenerator.cpp:252: for (const string& path : source_file_paths_) { Oops.
4 years, 10 months ago (2016-02-03 05:18:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658553002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658553002/40001
4 years, 10 months ago (2016-02-03 05:36:25 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-03 05:41:28 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 05:42:45 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b9ea19b29ec99621d3eb77b90d51ea7af6d0b9ef
Cr-Commit-Position: refs/heads/master@{#373184}

Powered by Google App Engine
This is Rietveld 408576698