llvm-project/clang/lib
Justin Bogner 2e5d484597 InstrProf: Fix handling of profile counters in the body of range based for
We were assigning the counter for the body of the loop to the loop
variable initialization for some reason here, but our tests completely
lacked coverage for range-for loops. This fixes that and makes the
logic generally more similar to the logic for a regular for.

llvm-svn: 236277
2015-04-30 22:58:28 +00:00
..
ARCMigrate [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
AST Remove some leftover debugging code. 2015-04-30 18:16:38 +00:00
ASTMatchers Add conversionDecl matcher for node CXXConversionDecl. 2015-04-20 20:58:50 +00:00
Analysis PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
Basic Use 4 byte preferred aggregate alignment in datalayout on x86 Win32 2015-04-30 22:13:05 +00:00
CodeGen InstrProf: Fix handling of profile counters in the body of range based for 2015-04-30 22:58:28 +00:00
Driver Revert r236060, it caused PR23375. 2015-04-29 21:16:40 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: Don't merge short else blocks. 2015-04-30 09:24:17 +00:00
Frontend [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers AVX-512: Added AVX-512 intrinsics and tests 2015-04-30 09:24:29 +00:00
Index Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Lex Remove dead code: a MacroDirective can't be imported or ambiguous any more. 2015-04-30 02:16:23 +00:00
Parse Batch up access-related diagnostics on enum constants until the whole enum is parsed. 2015-04-30 17:20:30 +00:00
Rewrite Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Sema Revert most of r236271, leaving only the datalayout change in lib/Basic/Targets.cpp 2015-04-30 22:29:25 +00:00
Serialization Remove dead code: a MacroDirective can't be imported or ambiguous any more. 2015-04-30 02:16:23 +00:00
StaticAnalyzer Add a missing forward def of CheckerManager. NFC. 2015-04-17 17:00:16 +00:00
Tooling Fix bug in Replacement's toString on Windows (missing flush). 2015-04-20 06:58:56 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00