Haojian Wu
d80c7c4808
[clang-tidy] Ignore function context in misc-unused-using-decls.
...
Summary: Make the check's behavior more correct when handling using-decls in multiple scopes.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20909
llvm-svn: 271632
2016-06-03 08:05:11 +00:00
Haojian Wu
1cea6e5531
[clang-tidy] Handle using-decls with more than one shadow decl.
...
Reviewers: alexfh
Subscribers: cfe-commits, djasper
Differential Revision: http://reviews.llvm.org/D20429
llvm-svn: 270191
2016-05-20 08:34:32 +00:00
Haojian Wu
769eb0d5d5
Support variables and functions types in misc-unused-using-decls.
...
Summary: Fix PR27429.
Reviewers: djasper
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20018
llvm-svn: 268917
2016-05-09 13:37:12 +00:00
Daniel Jasper
a204c0ad18
clang-tidy: [misc-unused-using-decls] Always use the canonical decl to
...
identify things.
This fixes llvm.org/PR27430.
llvm-svn: 266864
2016-04-20 08:58:27 +00:00
Daniel Jasper
727fd1aeed
Initial version of misc-unused-using-decl check.
...
llvm-svn: 266735
2016-04-19 13:48:39 +00:00