reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  169       elog("Notification {0} before initialization", Method);
  189       elog("Call {0} before initialization.", Method);
  221         elog("received a reply with ID {0}, but there was no such call", ID);
  249         elog("Failed to decode {0} request.", Method);
  271         elog("more than {0} outstanding LSP calls, forgetting about {1}",
  293         elog("Failed to decode {0} request.", Method);
  341         elog("No reply to message {0}({1})", Method, ID);
  351         elog("Replied twice to message {0}({1})", Method, ID);
  387       elog("Bad cancellation request: {0}", Params);
  634     elog("Failed to update {0}: {1}", File, Contents.takeError());
 1168     elog("{0} positions provided to SelectionRange. Supports exactly one "
 1244     elog("Transport error: {0}", std::move(Err));
tools/clang/tools/extra/clangd/ClangdLSPServer.h
  176             elog("Failed to decode {0} response", *RawResponse);
tools/clang/tools/extra/clangd/ClangdServer.cpp
  350         elog("Failed to format replacements: {0}", Formatted.takeError());
  413             elog("Failed to format {0}: {1}", It.first(), std::move(Err));
tools/clang/tools/extra/clangd/CodeComplete.cpp
  817       elog("Location oustide main file in signature help: {0}",
 1063     elog("Couldn't create CompilerInvocation");
 1737     elog("Code completion position was invalid {0}", Offset.takeError());
 1757     elog("Code completion position was invalid {0}", Offset.takeError());
tools/clang/tools/extra/clangd/Format.cpp
  298         elog("Incremental clang-format edit overlapping cursor @ {0}!\n{1}",
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   90       elog("Failed to resolve URI {0}: {1}", TargetURI, TargetPath.takeError());
tools/clang/tools/extra/clangd/JSONTransport.cpp
   95           elog("JSON parse error: {0}", llvm::toString(Doc.takeError()));
  137     elog("Not a JSON-RPC 2.0 message: {0:2}", Message);
  147       elog("No method and no response ID: {0:2}", Message);
  216         elog("Warning: Duplicate Content-Length header received. "
  234     elog("Refusing to read message with long Content-Length: {0}. "
  250       elog("Input was aborted. Read only {0} bytes of expected {1}.", Pos,
  284     elog("Input error while reading message!");
tools/clang/tools/extra/clangd/Preamble.cpp
  156     elog("Could not build a preamble for file {0}", FileName);
tools/clang/tools/extra/clangd/Protocol.cpp
   37     elog("URIForFile: failed to resolve path {0} with TU path {1}: "
   57       elog("Failed to parse URI {0}: {1}", *S, Parsed.takeError());
   61       elog("Clangd only supports 'file' URI scheme for workspace files: {0}",
   68       elog("{0}", U.takeError());
  724     elog("Failed to parse markup kind: expected a string");
  732     elog("Unknown markup kind: {0}", *Str);
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
   69     elog("System include extraction: start marker not found: {0}", Output);
   77     elog("System include extraction: end marker missing: {0}", Output);
  101     elog("System include extraction: {0} does not exist.", Driver);
  105     elog("System include extraction: {0} is not executable.", Driver);
  112     elog("System include extraction: failed to create temporary file with "
  128     elog("System include extraction: driver execution failed with return code: "
  136     elog("System include extraction: failed to read {0} with error {1}",
  232         elog("System include extraction: invalid file type for {0}", Ext);
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  293       elog("Tried to add semantic token with an invalid range");
tools/clang/tools/extra/clangd/SourceCode.cpp
  639       elog("Could not turn relative path '{0}' to absolute: {1}", FilePath,
tools/clang/tools/extra/clangd/TUScheduler.cpp
  415       elog("Could not build CompilerInvocation for file {0}", FileName);
  906     elog("Trying to remove file from TUScheduler that is not tracked: {0}",
  913     elog("getContents() for untracked file: {0}", File);
tools/clang/tools/extra/clangd/XRefs.cpp
   92     elog("Could not parse URI {0}: {1}", Loc.FileURI, Uri.takeError());
   97     elog("Could not resolve URI {0}: {1}", Loc.FileURI, U.takeError());
  244     elog("Failed to get a path for the main file, so no references");
  665         elog("Got param with null type: {0}", Param);
  927     elog("Failed to get a path for the main file, so no references");
tools/clang/tools/extra/clangd/index/Background.cpp
   74         elog("Failed to resolve URI {0}: {1}", FileURI, Path.takeError());
  127     elog("Background-index: Couldn't read {0} to validate stored index: {1}",
  200       elog("Indexing {0} failed: {1}", FileName, std::move(Error));
  319       elog("Failed to write background-index shard for file {0}: {1}", Path,
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   74       elog("Failed to resolve URI: {0}", AbsPath.takeError());
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp
   54       elog("Failed to create directory {0} for index storage: {1}",
   69       elog("Error while reading shard {0}: {1}", ShardIdentifier,
  129       elog("Tried to create storage for empty directory!");
tools/clang/tools/extra/clangd/index/Serialization.cpp
  668     elog("Can't open {0}", SymbolFilename);
  685       elog("Bad Index: {0}", I.takeError());
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   30     elog("Could not parse URI {0}: {1}", Loc.FileURI, Uri.takeError());
   35     elog("Could not resolve URI {0}: {1}", Loc.FileURI, U.takeError());
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  177         elog("define inline: Targets from multiple contexts: {0}, {1}",
  200       elog("define inline: Failed to add quals: {0}", std::move(Err));