(range: &SourceRange)
| 265 | } |
| 266 | |
| 267 | pub fn is_valid_range(range: &SourceRange) -> bool { |
| 268 | if range.begin.spelling_loc.is_some() { |
| 269 | return true; |
| 270 | } |
| 271 | if range.begin.expansion_loc.is_some() { |
| 272 | return true; |
| 273 | } |
| 274 | false |
| 275 | } |
| 276 | |
| 277 | /// Whether this range is in some header files. |
| 278 | pub fn is_macro_stmt(range: &SourceRange) -> bool { |
no outgoing calls
no test coverage detected