Guards should be of the form V8_PATH_TO_FILE_WITHOUT_SRC_H_.
(path)
| 297 | dash_dot_slash_pattern = input_api.re.compile(r'[-.\\\/]') |
| 298 | |
| 299 | def PathToGuardMacro(path): |
| 300 | """Guards should be of the form V8_PATH_TO_FILE_WITHOUT_SRC_H_.""" |
| 301 | x = input_api.re.sub(leading_src_pattern, 'v8_', path) |
| 302 | x = input_api.re.sub(dash_dot_slash_pattern, '_', x) |
| 303 | x = x.upper() + "_" |
| 304 | return x |
| 305 | |
| 306 | problems = [] |
| 307 | for f in input_api.AffectedSourceFiles(FilterFile): |
no outgoing calls
no test coverage detected
searching dependent graphs…