Full diagnostic:
llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:1921:2: warning: extra ‘;’ [-Wpedantic] 1921 | }; | ^
This semicolon is at the end of function definition:
1887 std::vector<std::shared_ptr<JITDylib>> 1888 JITDylib::getDFSLinkOrder(ArrayRef<std::shared_ptr<JITDylib>> JDs) { ... 1921 };
No need to add a semicolon here, remove it.