summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Fix template agrument false positives in unused-using-decls.Haojian Wu2016-10-111-0/+30
| | | | | | | | | | | | | | Summary: * Fix a false postive when an using class is used in an explicit template instantiation. * Fix a false postive when an using template class is used as template argument. Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25437 llvm-svn: 283879
* [clang-tidy] Fix an unused-using-decl false positive about template arguments inHaojian Wu2016-08-021-1/+20
| | | | | | | | | | | | | | | | function call expression. Summary: The check doesn't mark the template argument as used when the template argument is a template. Reviewers: djasper, alexfh Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D22803 llvm-svn: 277444
* [clang-tidy] Fix more enum declaration cases in misc-unused-using-decls check.Haojian Wu2016-07-041-9/+15
| | | | | | | | | | | | Summary: Fix PR28350. Reviewers: alexfh Subscribers: aaron.ballman, Eugene.Zelenko, cfe-commits Differential Revision: http://reviews.llvm.org/D21833 llvm-svn: 274496
* [clang-tidy] Warning enum unused using declarations.Haojian Wu2016-06-271-1/+15
| | | | | | | | | | Reviewers: alexfh, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: http://reviews.llvm.org/D21747 llvm-svn: 273882
* [clang-tidy] Ignore function context in misc-unused-using-decls.Haojian Wu2016-06-031-1/+20
| | | | | | | | | | | | 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
* Fix a wrong check in misc-unused-using-declsHaojian Wu2016-05-301-0/+6
| | | | | | | | | | | | | | Summary: We should check whether a UsingDecl is defined in macros or in class definition, not TargetDecls of the UsingDecl. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20666 llvm-svn: 271199
* [clang-tidy] Handle using-decls with more than one shadow decl.Haojian Wu2016-05-201-0/+6
| | | | | | | | | | Reviewers: alexfh Subscribers: cfe-commits, djasper Differential Revision: http://reviews.llvm.org/D20429 llvm-svn: 270191
* [clang-tidy] Fix misc-unused-using-decls test failure in windowsHaojian Wu2016-05-181-1/+1
| | | | | | buildbot. llvm-svn: 269918
* [clang-tidy] Fix a template function false positive in ↵Haojian Wu2016-05-181-0/+9
| | | | | | | | | | | | | | misc-unused-using-decls check. Summary: Ignore warning uninstantiated template function usages. Reviewers: djasper, alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20326 llvm-svn: 269906
* [clang-tidy] Ignore using-declarations defined in marcro in ↵Haojian Wu2016-05-121-0/+8
| | | | | | | | | | | | misc-unused-using-decls checks. Reviewers: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20197 llvm-svn: 269278
* Support variables and functions types in misc-unused-using-decls.Haojian Wu2016-05-091-0/+51
| | | | | | | | | | | | Summary: Fix PR27429. Reviewers: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20018 llvm-svn: 268917
* clang-tidy: [misc-unused-using-decls] Support template types.Daniel Jasper2016-04-201-0/+7
| | | | | | This fixes llvm.org/PR27429. llvm-svn: 266866
* clang-tidy: [misc-unused-using-decls] Always use the canonical decl toDaniel Jasper2016-04-201-0/+1
| | | | | | | | identify things. This fixes llvm.org/PR27430. llvm-svn: 266864
* Initial version of misc-unused-using-decl check.Daniel Jasper2016-04-191-0/+27
llvm-svn: 266735
OpenPOWER on IntegriCloud