Home
last modified time | relevance | path

Searched refs:elog (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp139 elog("Can not parse LookupRequest from protobuf: {0}", Req.takeError()); in Lookup()
152 elog("Unable to convert Symbol to protobuf: {0}", in Lookup()
184 elog("Can not parse FuzzyFindRequest from protobuf: {0}", in FuzzyFind()
198 elog("Unable to convert Symbol to protobuf: {0}", in FuzzyFind()
227 elog("Can not parse RefsRequest from protobuf: {0}", Req.takeError()); in Refs()
240 elog("Unable to convert Ref to protobuf: {0}", in Refs()
270 elog("Can not parse RelationsRequest from protobuf: {0}", in Relations()
286 elog("Unable to convert Relation to protobuf: {0}", in Relations()
401 elog("Failed to load new index. Old index will be served."); in hotReload()
488 using clang::clangd::elog;
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQueryDriverDatabase.cpp105 elog("System include extraction: invalid target \"{0}\", ignoring", in parseDriverOutput()
128 elog("System include extraction: start marker not found: {0}", Output); in parseDriverOutput()
132 elog("System include extraction: end marker missing: {0}", Output); in parseDriverOutput()
154 elog("System include extraction: driver {0} not found in PATH", Driver); in extractSystemIncludesAndTarget()
170 elog("System include extraction: failed to create temporary file with " in extractSystemIncludesAndTarget()
216 elog("System include extraction: driver execution failed with return code: " in extractSystemIncludesAndTarget()
224 elog("System include extraction: failed to read {0} with error {1}", in extractSystemIncludesAndTarget()
344 elog("System include extraction: invalid file type for {0}", Ext); in getCompileCommand()
H A DJSONTransport.cpp124 elog("JSON parse error: {0}", llvm::toString(Doc.takeError())); in loop()
167 elog("Not a JSON-RPC 2.0 message: {0:2}", Message); in handleMessage()
177 elog("No method and no response ID: {0:2}", Message); in handleMessage()
248 elog("Warning: Duplicate Content-Length header received. " in readStandardMessage()
266 elog("Refusing to read message with long Content-Length: {0}. " in readStandardMessage()
283 elog("Input was aborted. Read only {0} bytes of expected {1}.", Pos, in readStandardMessage()
319 elog("Input error while reading message!"); in readDelimitedMessage()
H A DFeatureModule.cpp29 elog("Tried to register duplicate feature modules via {0}", Source); in addImpl()
H A DXRefs.cpp125 elog("Could not parse URI {0}: {1}", Loc.FileURI, Uri.takeError()); in toLSPLocation()
130 elog("Could not resolve URI {0}: {1}", Loc.FileURI, U.takeError()); in toLSPLocation()
322 elog("Find overrides: {0}", DeclLoc.takeError()); in findImplementors()
330 elog("Failed to convert location: {0}", DefLoc.takeError()); in findImplementors()
492 elog("Failed to get a path for the main file, so no symbol."); in locateSymbolForType()
757 elog("Failed to get a path for the main file, so no references"); in locateSymbolAt()
840 elog("Failed to get a path for the main file, so no links"); in getDocumentLinks()
1289 elog("Failed to convert position to source location: {0}", in findImplementations()
1333 elog("Failed to get a path for the main file, so no references"); in findReferences()
1965 elog("failed to convert position {0} for findTypes: {1}", Pos, in findType()
[all …]
H A DClangdLSPServer.cpp69 elog("unexpected non-numeric version {0}", Encoded); in decodeVersion()
173 elog("Notification {0} before initialization", Method); in onNotify()
195 elog("Call {0} before initialization.", Method); in onCall()
259 elog("more than {0} outstanding LSP calls, forgetting about {1}", in bindReply()
311 elog("No reply to message {0}({1})", Method, ID); in ~ReplyOnce()
321 elog("Replied twice to message {0}({1})", Method, ID); in operator ()()
354 elog("Bad cancellation request: {0}", Params); in onCancel()
690 elog("Failed to update {0}: {1}", File, std::move(Err)); in onDocumentDidChange()
1649 elog("Transport error: {0}", std::move(Err)); in run()
1782 elog("Failed to create background index progress bar: {0}", in onBackgroundIndexProgress()
[all …]
H A DTidyProvider.cpp50 elog("tidy-config error at {0}:{1}:{2}: {3}", D.getFilename(), in get()
69 elog("Error parsing clang-tidy configuration in {0}: {1}", path(), in get()
H A DHeaderSourceSwitch.cpp89 elog("Failed to resolve URI {0}: {1}", TargetURI, TargetPath.takeError()); in getCorrespondingHeaderOrSource()
H A DGlobalCompilationDatabase.cpp225 elog("Failed to read {0}: {1}", Path, in load()
311 elog("Failed to load compilation database from {0}: {1}", in load()
387 elog("Trying to cache CDB for relative {0}"); in getDirectoryCaches()
H A DPreamble.cpp572 elog("Could not build a preamble for file {0} version {1}: {2}", FileName, in buildPreamble()
622 elog("Failed to scan baseline of {0}: {1}", FileName, in create()
628 elog("Failed to scan modified contents of {0}: {1}", FileName, in create()
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DCheck.cpp61 elog("[{0}] Line {1}: {2}", D.Name, D.Range.start.line + 1, D.Message); in showErrors()
142 elog("Couldn't read {0}: {1}", File, Contents.getError().message()); in buildInvocation()
153 elog("Failed to parse command line"); in buildInvocation()
177 elog("Failed to build preamble"); in buildAST()
186 elog("Failed to build AST"); in buildAST()
248 elog(" tweak: {0} ==> FAIL: {1}", T->id(), Result.takeError()); in testLocationFeatures()
H A DClangdMain.cpp664 elog("Error while converting the relative path specified by " in FlagsConfigProvider()
672 elog("Path specified by --compile-commands-dir does not exist. The " in FlagsConfigProvider()
888 elog("When enabling remote index, IndexFile should not be specified. " in main()
936 elog("Couldn't determine user config file, not loading"); in main()
978 elog("Failed to resolve path {0}: {1}", CheckFile, Error.message()); in main()
994 elog( in main()
1010 elog("--check-lines requires --check"); in main()
1036 elog("Invalid -path-mappings: {0}", Mappings.takeError()); in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundIndexStorage.cpp46 elog("Failed to create directory {0} for index storage: {1}", in DiskBackedIndexStorage()
62 elog("Error while reading shard {0}: {1}", ShardIdentifier, in loadShard()
127 elog("Tried to create storage for empty directory!"); in create()
H A DStdLib.cpp214 elog("Indexing standard library failed: bad CompilerInvocation"); in indexStandardLibrary()
233 elog("Standard Library Index: Couldn't build compiler instance"); in indexStandardLibrary()
254 elog("Standard Library Index: BeginSourceFile() failed"); in indexStandardLibrary()
259 elog("Standard Library Index: Execute failed: {0}", std::move(Err)); in indexStandardLibrary()
H A DBackground.cpp166 elog("Indexing {0} failed: {1}", Path, std::move(Error)); in indexFileTask()
195 elog("Failed to resolve URI: {0}", AbsPath.takeError()); in update()
225 elog("Failed to write background-index shard for file {0}: {1}", Path, in update()
H A DBackgroundIndexLoader.cpp71 elog("Failed to resolve URI: {0}", AbsPath.takeError()); in loadShard()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/monitor/
H A DMonitor.cpp57 clang::clangd::elog("Can not request monitoring information ({0}): {1}\n", in main()
69 clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n", in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/unimplemented/
H A DUnimplementedClient.cpp19 elog("Can't create SymbolIndex client without Remote Index support."); in getClient()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp167 elog("define inline: Targets from multiple contexts: {0}, {1}", in qualifyAllDecls()
194 elog("define inline: Failed to add quals: {0}", std::move(Err)); in qualifyAllDecls()
305 elog("define inline: {0}", Err); in renameParameters()
312 elog("define inline: Couldn't replace parameter name for {0} to {1}: " in renameParameters()
/llvm-project-15.0.7/clang-tools-extra/clangd/xpc/
H A DConversion.cpp33 elog("JSON parse error: {0}", toString(Json.takeError())); in xpcToJson()
H A DXPCTransport.cpp110 elog("Not a JSON-RPC 2.0 message: {0:2}", Message); in handleMessage()
120 elog("No method and no response ID: {0:2}", Message); in handleMessage()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreadsafeFS.cpp79 elog("VFS: failed to set CWD to {0}: {1}", CWD, EC.message()); in view()
H A DLogger.h61 template <typename... Ts> void elog(const char *Fmt, Ts &&... Vals) { in elog() function
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Drequest-reply.test39 # clangd doesn't reply, just emits an elog.
/llvm-project-15.0.7/clang-tools-extra/clangd/indexer/
H A DIndexerMain.cpp152 clang::clangd::elog("{0}", std::move(Err)); in main()

12