[cfe-dev] Parsing with libTooling
James Dennett via cfe-dev
cfe-dev at lists.llvm.org
Wed May 25 11:42:51 PDT 2016
On Wed, May 25, 2016 at 12:24 PM, barbara via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
>
> Our many thanks to Chandler, Daniel, Mikhail, Russell, and a few others at
> CppNow. It was suggested we look at clangTidy which helped us figure out
> what libraries we needed. The second part was adding --start-group in the
> makefile, which came from an example Jeff Trull presented at CppNow.
>
> We are now about to successfully link DoxyPress with the libTooling
> libraries in Autotools! Of course the same technique will work in our
> pending CMake build files.
>
> We are able to utilize all of the lib clang code we developed for parsing
> C++ in the new code using libTooling. Actually the new code is shorter,
> more efficient, more readable, and requires less contortions.
>
> At the current time we have two items we have not been able to figure out
> how to detect in a FunctionDecl.
>
> 1 explicit
>
Maybe CXXConstructorDecl::isExplicit() works for you there.
> 2 noexcept
>
Take a look at FunctionProtoType::getNoexceptSpec/getNoexceptExpr etc.
-- James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160525/cb22113c/attachment.html>
More information about the cfe-dev
mailing list