llvm-project/clang/unittests
Alexander Kornienko 9b539e1dd9 Added the hasLoopVariable sub-matcher for forRangeStmt.
Summary:
This sub-matcher makes it possible to access directly the range-based for
loop variable: forRangeStmt(hasLoopVariable(anything()).bind(...)).
I've tried to re-generate the docs, but the diffs seem to include much more than
this change could cause, so I'd better leave docs update to someone who knows
the intended changes in the contents better.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits, klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D2702

llvm-svn: 200850
2014-02-05 16:35:08 +00:00
..
AST Comment parsing: don't crash while parsing \deprecated in a standalone comment 2014-01-27 17:55:43 +00:00
ASTMatchers Added the hasLoopVariable sub-matcher for forRangeStmt. 2014-02-05 16:35:08 +00:00
Basic [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 12:40:37 +00:00
Format clang-format: Don't indent relative to unary operators. 2014-02-05 13:43:04 +00:00
Frontend ASTContext: Declare builtin types implicitly 2013-12-15 10:36:26 +00:00
Lex Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
Sema [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 12:40:37 +00:00
Tooling unittests: explicit stringify StringRefs for conversion 2014-01-25 20:04:44 +00:00
CMakeLists.txt Add hooks for typo correction to ExternalSemaSource, courtesy of Luke Zarko. 2013-08-12 19:54:38 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00