diff options
author | 2017-07-04 04:31:11 -0400 | |
---|---|---|
committer | 2017-07-05 10:57:30 -0400 | |
commit | ec41b8cea579e135eca18f808a710abb397994f6 (patch) | |
tree | f187ce5dd8cf767fb058cfb7e4761dad100c7322 /tools/cpp/CROSSTOOL | |
parent | 6446ffa1ec61f8cfd73edc540ac54e42d15169f9 (diff) |
Remove implicit iteration from Crosstool
Up until now we allowed implicit iteration, e.g.:
flag_group { flag: '%{some_sequence_variable}' }
From now on, snippet above will raise an error. We require explicit
'iterate_over' message, e.g.:
flag_group {
iterate_over: 'some_sequence_variable'
flag: '%{some_sequence_variable}'
}
RELNOTES: Implicit iteration in the CROSSTOOL has been removed, use explicit 'iterate_over' message.
PiperOrigin-RevId: 160871888
Diffstat (limited to 'tools/cpp/CROSSTOOL')
-rw-r--r-- | tools/cpp/CROSSTOOL | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL index 73b83f3d7d..684a5cb7cf 100644 --- a/tools/cpp/CROSSTOOL +++ b/tools/cpp/CROSSTOOL @@ -680,12 +680,15 @@ toolchain { action: 'c++-header-preprocessing' action: 'c++-module-compile' flag_group { + iterate_over: 'quote_include_paths' flag: '/I%{quote_include_paths}' } flag_group { + iterate_over: 'include_paths' flag: '/I%{include_paths}' } flag_group { + iterate_over: 'system_include_paths' flag: '/I%{system_include_paths}' } } |