[PATCH] D15729: Load compiler plugins in ASTUnit, too

Kevin Funk via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 09:28:57 PST 2016


kfunk added a comment.

@realincubus: Sorry, I didn't know you had put this up for review already.

So back to this patch. Yes, it works fine for me *without* amending libclang.exports. I'm injecting the arguments to `clang_parseTranslationUnit2`.

See this patch here for reference: https://quickgit.kde.org/?p=kdevelop.git&a=commit&h=b299e550f6753667d415c6aea8c0b0806e954e36
(when you view the whole blob of *parsesession.cpp*, you can also see the call to `clang_parseTranslationUnit2`)


http://reviews.llvm.org/D15729





More information about the cfe-commits mailing list