This provides both a more uniform interface and makes libclang behave like
clang tooling wrt relative paths against argv[0]. This is necessary for
finding paths to a c++ standard library relative to a clang binary given
in a compilation database. It can also be used to find paths relative to
libclang.so if the full path to it is passed in.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang-c/Index.h | ||
---|---|---|
5694–5695 ↗ | (On Diff #40257) | We should probably expand on why users would want to use on or the other here... |
Comment Actions
- Add a test case to make sure argv[0] handling actually works.
- Clarify comments a bit.