[PATCH] D14695: [libclang] Add entry points that take a full command line including argv[0].
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 02:10:53 PST 2015
bkramer created this revision.
bkramer added a reviewer: klimek.
bkramer added a subscriber: cfe-commits.
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.
http://reviews.llvm.org/D14695
Files:
include/clang-c/Index.h
lib/Frontend/CreateInvocationFromCommandLine.cpp
tools/diagtool/ShowEnabledWarnings.cpp
tools/libclang/CIndex.cpp
tools/libclang/Indexing.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14695.40257.patch
Type: text/x-patch
Size: 6531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151116/c696757b/attachment.bin>
More information about the cfe-commits
mailing list