Return a StringRef equal to 'this', but with all characters satisfying the given predicate dropped from the beginning of the string.
Declared in <llvm/ADT/StringRef.h>
[[nodiscard]]
StringRef
drop_while(function_ref<bool(char)> F) const;
StringRef with leading characters satisfying F removed.
The return value should not be discarded.
| Name | Description |
|---|---|
| F | Predicate that identifies characters to drop from the front. |