|
MLIR 22.0.0git
|
#include "mlir/Tools/lsp-server-support/SourceMgrUtils.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Support/Path.h"#include <optional>Go to the source code of this file.
Functions | |
| static const char * | lexLocStringTok (const char *curPtr) |
| Find the end of a string whose contents start at the given curPtr. | |
|
static |
Find the end of a string whose contents start at the given curPtr.
Returns the position at the end of the string, after a terminal or invalid character (e.g. " or \0).
Definition at line 28 of file SourceMgrUtils.cpp.
References mlir::lsp::contains().
Referenced by mlir::lsp::convertTokenLocToRange().