ΒΆllvm::Expected<RangeSelector> parseRangeSelector(
llvm::StringRef Input)
llvm::Expected<RangeSelector> parseRangeSelector(
llvm::StringRef Input)
Description
Parses a string representation of a \c RangeSelector. The grammar of these strings is closely based on the (sub)grammar of \c RangeSelectors as they'd appear in C++ code. However, this language constrains the set of permissible strings (for node ids) -- it does not support escapes in the string. Additionally, the \c charRange combinator is not supported, because there is no representation of values of type \c CharSourceRange in this (little) language.
Declared at: clang/include/clang/Tooling/Transformer/Parsing.h:35
Parameters
- llvm::StringRef Input