We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-extract fails to build with Clang 19.
I believe these PRs might be related: llvm/llvm-project#74910 llvm/llvm-project#98735
FAILED: libcextract/libcextract.a.p/MacroWalker.cpp.o clang++ -Ilibcextract/libcextract.a.p -Ilibcextract -I../libcextract -I/usr/lib/llvm/19/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 -Wno-unused-parameter -Wno-vla-extension -march=native -O2 -pipe -fPIC -MD -MQ libcextract/libcextract.a.p/MacroWalker.cpp.o -MF libcextract/libcextract.a.p/MacroWalker.cpp.o.d -o libcextract/libcextract.a.p/MacroWalker.cpp.o -c ../libcextract/MacroWalker.cpp ../libcextract/MacroWalker.cpp:101:17: error: no member named 'equals' in 'llvm::StringRef' 101 | if (tok_str.equals(arg_str)) { | ~~~~~~~ ^ FAILED: libcextract/libcextract.a.p/IncludeTree.cpp.o clang++ -Ilibcextract/libcextract.a.p -Ilibcextract -I../libcextract -I/usr/lib/llvm/19/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 -Wno-unused-parameter -Wno-vla-extension -march=native -O2 -pipe -fPIC -MD -MQ libcextract/libcextract.a.p/IncludeTree.cpp.o -MF libcextract/libcextract.a.p/IncludeTree.cpp.o.d -o libcextract/libcextract.a.p/IncludeTree.cpp.o -c ../libcextract/IncludeTree.cpp ../libcextract/IncludeTree.cpp:530:65: error: no member named 'getName' in 'clang::FileEntry' 530 | if (Tree.IEP->Must_Expand(entry.tryGetRealPathName(), entry.getName())) { | FAILED: libcextract/libcextract.a.p/PrettyPrint.cpp.o clang++ -Ilibcextract/libcextract.a.p -Ilibcextract -I../libcextract -I/usr/lib/llvm/19/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 -Wno-unused-parameter -Wno-vla-extension -march=native -O2 -pipe -fPIC -MD -MQ libcextract/libcextract.a.p/PrettyPrint.cpp.o -MF libcextract/libcextract.a.p/PrettyPrint.cpp.o.d -o libcextract/libcextract.a.p/PrettyPrint.cpp.o -c ../libcextract/PrettyPrint.cpp ../libcextract/PrettyPrint.cpp:128:21: error: no member named 'equals' in 'llvm::StringRef' 128 | if (decl_source.equals("")) { | ~~~~~~~~~~~ ^ FAILED: libcextract/libcextract.a.p/SymbolExternalizer.cpp.o clang++ -Ilibcextract/libcextract.a.p -Ilibcextract -I../libcextract -I/usr/lib/llvm/19/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 -Wno-unused-parameter -Wno-vla-extension -march=native -O2 -pipe -fPIC -MD -MQ libcextract/libcextract.a.p/SymbolExternalizer.cpp.o -MF libcextract/libcextract.a.p/SymbolExternalizer.cpp.o.d -o libcextract/libcextract.a.p/SymbolExternalizer.cpp.o -c ../libcextract/SymbolExternalizer.cpp ../libcextract/SymbolExternalizer.cpp:693:36: error: no member named 'getName' in 'clang::FileEntry' 693 | if (new_mfs->addFile(fentry->getName(), | ~~~~~~ ^ ../libcextract/SymbolExternalizer.cpp:695:53: error: no member named 'getName' in 'clang::FileEntry' 695 | llvm::outs() << "Unable to add " << fentry->getName() << " into InMemoryFS.\n"; | ~~~~~~ ^ ../libcextract/SymbolExternalizer.cpp:700:39: error: no member named 'getName' in 'clang::FileEntry' 700 | StringRef file_name = fentry->getName(); | ~~~~~~ ^ ../libcextract/SymbolExternalizer.cpp:715:36: error: no member named 'getName' in 'clang::FileEntry' 715 | if (new_mfs->addFile(fentry->getName(), | ~~~~~~ ^ ../libcextract/SymbolExternalizer.cpp:718:53: error: no member named 'getName' in 'clang::FileEntry' 718 | llvm::outs() << "Unable to add " << fentry->getName() << " into InMemoryFS.\n"; | ~~~~~~ ^
complete build log
The text was updated successfully, but these errors were encountered:
Some work will need to be done to support clang-19.
Sorry, something went wrong.
Fixed in 8344124
No branches or pull requests
clang-extract fails to build with Clang 19.
I believe these PRs might be related:
llvm/llvm-project#74910
llvm/llvm-project#98735
complete build log
The text was updated successfully, but these errors were encountered: