contains overloads

Synopses

Declared in <llvm/AsmParser/FileLoc.h>

Check whether a location lies in this half‐open range.

bool
contains(FileLoc L) const;

Check whether another range is fully contained in this range.

bool
contains(FileLocRange LR) const;

Return Value

  • True if Start <= L < End.

  • True if LR is entirely within []`Start,` End).

Parameters

Name

Description

L

Location to test.

LR

Range to test.

Created with MrDocs