[cfe-users] Fwd: [cfe-dev] matcher for obj-c variable declarations.

2016-09-16 Thread Alfred Zien via cfe-users
cfe-dev was wrong list may be? > Hi to everyone! > > I'm new to clang and libtooling, and I'm making some cheker tool that emits a > error if any obj-c variable declaration doesn't have nullability specifier. > > I have code like this > > A* a = [[A alloc] init]; > B* _Null_unspecified b =

[cfe-users] objc. __auto_type and nullablility inheritance.

2016-12-12 Thread Alfred Zien via cfe-users
Hi to everyone! I'm integrating __auto_type to project, and I faced with some weird issue. __auto_type doesn't inherit nullability nor ownership qualifiers, so if I write __weak Type* _Nonnull a = f(); __auto_type b = a; b will be just Type*, with strong ownership and __nullability_unspecified

[cfe-users] How to use clang-tidy plugin.

2017-01-17 Thread Alfred Zien via cfe-users
Hi! I need to use clang-tidy as a clang plugin, but can't figure out how to do it. I see ClangTidyPlugin.cpp file, and there is ClangTidyPlugin target, but when I run `make clangTidyPlugin` it produces only libclangTidyPlugin.a, no any dynamic library. Am I doing something wrong? Is it even po

Re: [cfe-users] How to use clang-tidy plugin.

2017-01-17 Thread Alfred Zien via cfe-users
( > On 17 Jan 2017, at 18:12, Alfred Zien via cfe-users > wrote: > > Hi! I need to use clang-tidy as a clang plugin, but can't figure out how to > do it. > > I see ClangTidyPlugin.cpp file, and there is ClangTidyPlugin target, but when > I run

Re: [cfe-users] How to use clang-tidy plugin.

2017-01-20 Thread Alfred Zien via cfe-users
sn't > really support that :( > > On Tue, Jan 17, 2017 at 4:12 PM, Alfred Zien via cfe-users > wrote: >> Hi! I need to use clang-tidy as a clang plugin, but can't figure out how to >> do it. >> >> I see ClangTidyPlugin.cpp file, and