Skip to content

Instantly share code, notes, and snippets.

@Aster89
Created August 11, 2025 12:39
Show Gist options
  • Select an option

  • Save Aster89/3473e3fbf4c426555d2eccd46e827b64 to your computer and use it in GitHub Desktop.

Select an option

Save Aster89/3473e3fbf4c426555d2eccd46e827b64 to your computer and use it in GitHub Desktop.
clangd log
The flag `-cross-file-rename` is obsolete and ignored.
I[13:33:42.045] clangd version 19.1.0 (https://github.com/ycm-core/llvm 6355059428ba8b509409c352f953b0602d29595c)
I[13:33:42.045] Features: linux
I[13:33:42.045] PID: 99421
I[13:33:42.045] Working directory: /local-ssd/myself/TextDiff3Way/matlab
I[13:33:42.045] argv[0]: /home/myself/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clangd/output/bin/clangd
I[13:33:42.045] argv[1]: -cross-file-rename
I[13:33:42.045] argv[2]: -header-insertion-decorators=0
I[13:33:42.045] argv[3]: -resource-dir=/home/myself/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clang/lib/clang/19.1.0
I[13:33:42.045] argv[4]: -limit-results=500
I[13:33:42.045] Starting LSP over stdin/stdout
I[13:33:42.045] <-- initialize(1)
I[13:33:42.047] --> reply:initialize(1) 1 ms
I[13:33:42.048] <-- initialized
I[13:33:42.048] <-- workspace/didChangeConfiguration
I[13:33:42.048] <-- textDocument/didOpen
I[13:33:42.049] Loaded compilation database from /path/to/toolbox/diff/compile_commands.json
I[13:33:42.049] Enqueueing 1 commands for indexing
I[13:33:42.049] ASTWorker building file /path/to/toolbox/diff/export/include/diff/MakeMultiLineStatefulEdits.hpp version 1 with command inferred from /path/to/toolbox/diff/pkgtest/tLineDiff.cpp
[/path/to/toolbox/diff]
/foobar/gcc/ctng/glnxa64/gcc12.3.0-glibc2.28-mw00/x86_64-linux-gnu/bin/g++ --driver-mode=g++ -c -Iexport/include -I../../../../toolbox/diff/include -I. -I../../../../src/include -I../../../../derived/glnxa64/src/include -I../../../../derived/glnxa64/builtin2_impls/libmwcomparisons_text_diff_builtinimpl/builtin1/include -I../../../../derived/glnxa64/builtin2_impls/libmwcomparisons_text_diff_builtinimpl/builtin1/ -I../../../../derived/glnxa64/toolbox/diff/include -isystem/foobar/12881319/glnxa64/boost/include -isystem/foobar/13111932/glnxa64/cpp11compat/include -isystem/foobar/11252652/glnxa64/range-v3/include -isystem/foobar/12934614/glnxa64/gmock/include/gmock -isystem/foobar/12934614/glnxa64/gmock/include/gtest -DMODULE_VERSION_SYMBOL=libmwcomparisons_text_diff_version -DMODULE_DATE_SYMBOL=libmwcomparisons_text_diff_build_date -Dmw_test_main=main -DBOOST_CB_DISABLE_DEBUG -DBOOST_ASIO_DISABLE_EVENTFD -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_FILESYSTEM_DISABLE_STATX -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 -DBOOST_MPL_LIMIT_MAP_SIZE=30 -DBOOST_OPTIONAL_CONFIG_DO_NOT_SPECIALIZE_STD_HASH -DBOOST_LOG_DYN_LINK -DBUILDING_LIBMWCOMPARISONS_TEXT_DIFF -DUNITTESTS_USE_GTEST=1 -DUNITTESTS_USE_MW_GTEST=1 -DUSING_GMOCK=1 -DGTEST_MW_USE_MW_NOT_EQUALS=1 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DBUILDING_PKGTEST -DUNIT_PKG_TEST_DOWNSTREAM_OF_CPPMS -O0 -pipe -pthread -fdebug-prefix-map=/local-ssd/myself/TextDiff3Way= -fPIC -fvisibility=hidden -g -D_POSIX_C_SOURCE=199506L -fno-omit-frame-pointer -W -Wcast-align -Wno-misleading-indentation -Wno-free-nonheap-object -Wimplicit-fallthrough=5 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wno-unused -Woverloaded-virtual -Wnon-virtual-dtor -Wno-ignored-qualifiers -DMWBOOST=mwboost -DMWBOOST_132=mwboost_132 -DMW_BAT_COMPONENT_TYPE=software -DMW_SRC_FILENAME=pkgtest/tLineDiff.cpp -Werror -std=c++20 -resource-dir=/home/myself/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clang/lib/clang/19.1.0 -- /path/to/toolbox/diff/export/include/diff/MakeMultiLineStatefulEdits.hpp
I[13:33:42.136] Loaded compilation database from /path/to/compile_commands.json
E[13:33:42.265] Indexing /path/to/toolbox/diff/pkgtest/tLineDiff.cpp failed: No such file or directory
I[13:33:43.408] <-- textDocument/definition(2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment