llvm-project/clang/unittests
David L. Jones 82e08bd776 [ASTMatchers] Add support for matching the type of a friend decl.
This allows matchers like:

  friendDecl(hasType(cxxRecordDecl(...)))
  friendDecl(hasType(asString(...)))

It seems that hasType is probably the most reasonable narrowing matcher to
overload, since it is already used to narrow to other declaration kinds.

Differential Revision: https://reviews.llvm.org/D48242

Reviewers: klimek, aaron.ballman

Subscribers: cfe-commits
llvm-svn: 334930
2018-06-18 09:23:08 +00:00
..
AST [ASTImporter] Corrected diagnostic client handling in tests. 2018-06-15 06:45:39 +00:00
ASTMatchers [ASTMatchers] Add support for matching the type of a friend decl. 2018-06-18 09:23:08 +00:00
Analysis [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
Basic Disable an in-memory vfs file path test on windows. 2018-05-24 13:52:48 +00:00
CodeGen Unit tests for TBAA metadata generation. 2017-12-22 15:22:45 +00:00
CrossTU IWYU for llvm-config.h in clang. See r331124 for details. 2018-04-30 13:52:15 +00:00
Driver s/LLVM_ON_WIN32/_WIN32/, clang 2018-04-27 19:11:14 +00:00
Format [clang-format] Disable AlwaysBreakBeforeMultilineStrings in Google style for Objective-C 📜 2018-06-14 17:30:10 +00:00
Frontend Fix build - use llvm::make_unique 2018-06-06 08:25:54 +00:00
Lex Reland '[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective' 2018-05-10 19:05:36 +00:00
Rename Unittests misc. typos 2018-02-06 13:12:29 +00:00
Rewrite [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
Sema Revert "[Tooling] [0/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:55 +00:00
StaticAnalyzer Unittests misc. typos 2018-02-06 13:12:29 +00:00
Tooling [clang][tooling] Don't forget to link to clangToolingInclusions. 2018-06-04 12:04:41 +00:00
libclang [clang] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 13:30:56 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00