| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
change once it's been assigned. It can change in two ways:
1) In a template instantiation, the context declaration should be the
instantiated declaration, not the declaration in the template.
2) If a lambda appears in the pattern of a variadic pack expansion, the
mangling number will depend on the pack length.
llvm-svn: 160614
|
| |
|
|
|
|
|
|
|
|
| |
decltype type.
In Microsoft mode, we emit a warning instead of an error.
This fixes a couple of errors when parsing the MSVC 11 RC headers with clang.
llvm-svn: 160613
|
| |
|
|
|
|
| |
way to disable keywords under Microsoft mode.
llvm-svn: 160612
|
| |
|
|
|
|
| |
moved earlier. This fixes some layering issues.
llvm-svn: 160611
|
| |
|
|
|
|
| |
In current implementation, JIT should run only on host.
llvm-svn: 160610
|
| |
|
|
|
| |
cmake: Add LLVM_HOSTTRIPLE. For now, it is same as TARGET_TRIPLE.
llvm-svn: 160609
|
| |
|
|
|
|
| |
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3318.html#2067 . This is the only actionable change that has been made to the C++ draft since C++11. In general it has not been decided exactly how libc++ will track changes made to C++11. New features and design changes will probably be #ifdef'd, especially if they are not backwards compatible. Defects and 'dumb mistakes' are more likely to just be put in. Decisions on telling one from the other will be made on a case by case basis.
llvm-svn: 160608
|
| |
|
|
| |
llvm-svn: 160607
|
| |
|
|
| |
llvm-svn: 160606
|
| |
|
|
| |
llvm-svn: 160605
|
| |
|
|
| |
llvm-svn: 160604
|
| |
|
|
| |
llvm-svn: 160603
|
| |
|
|
|
|
|
|
| |
r160529 that was subsequently reverted. The fix was to not call
GV->eraseFromParent() right before the caller does the same. The existing
testcases already caught this bug if run under valgrind.
llvm-svn: 160602
|
| |
|
|
|
|
|
| |
This pass no longer requires that the global pointer value be saved to the
stack or register since it uses bal instruction to compute branch distance.
llvm-svn: 160601
|
| |
|
|
| |
llvm-svn: 160600
|
| |
|
|
| |
llvm-svn: 160599
|
| |
|
|
| |
llvm-svn: 160598
|
| |
|
|
|
|
| |
Test case will be added later when long branch patch is checked in.
llvm-svn: 160597
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to returned by expressions, by removing the
__cxa_atexit call that would normally cause these
objects to be destroyed. This also prevents many
errors of the form
Couldn't rewrite one of the arguments of a function call
error: Couldn't materialize struct: Structure hasn't been laid out yet
<rdar://problem/11309402>
llvm-svn: 160596
|
| |
|
|
|
|
|
| |
by index. This is useful if the user does not document all arguments, and we
can't find a particular argument by index via :nth-of-type() CSS selector.
llvm-svn: 160595
|
| |
|
|
| |
llvm-svn: 160594
|
| |
|
|
| |
llvm-svn: 160593
|
| |
|
|
| |
llvm-svn: 160592
|
| |
|
|
|
|
|
|
|
| |
(lldb) file hello\ world
correctly.
<rdar://problem/11093911>
llvm-svn: 160591
|
| |
|
|
| |
llvm-svn: 160590
|
| |
|
|
|
|
|
|
| |
discussed 2 months ago or so.
Make sure we do not emit index computations with NSW flags so that we dont get an undef value if the GEP overflows
llvm-svn: 160589
|
| |
|
|
|
|
|
|
| |
branch address printing in the x86 disassembler.
<rdar://problem/11925357>
llvm-svn: 160588
|
| |
|
|
|
|
|
|
| |
belongs. I dunno why in the world I dropped it in the Scalar folder in the first place.
No functionality change.
llvm-svn: 160587
|
| |
|
|
|
|
|
| |
Under AAPCS, long double is the same as double, which means it should be
allowed as part of a homogeneous aggregate.
llvm-svn: 160586
|
| |
|
|
| |
llvm-svn: 160585
|
| |
|
|
|
|
| |
clang's -Wunused-private-field.
llvm-svn: 160584
|
| |
|
|
|
|
| |
clang's -Wunused-private-field.
llvm-svn: 160583
|
| |
|
|
| |
llvm-svn: 160582
|
| |
|
|
| |
llvm-svn: 160581
|
| |
|
|
| |
llvm-svn: 160580
|
| |
|
|
| |
llvm-svn: 160579
|
| |
|
|
|
|
| |
process if it exists OR wait for it" without race conditions. Use that in lldb.
llvm-svn: 160578
|
| |
|
|
|
|
|
|
|
|
|
| |
HTML fragment.
For testing, c-index-test now has even more output:
* HTML rendering of a comment
* comment AST tree dump in S-expressions like Comment::dump(), but implemented
* with libclang APIs.
llvm-svn: 160577
|
| |
|
|
| |
llvm-svn: 160576
|
| |
|
|
|
|
|
|
|
|
| |
LiveRangeEdit::foldAsLoad() can eliminate a register by folding a load
into its only use. Only do that when the load is safe to move, and it
won't extend any live ranges.
This fixes PR13414.
llvm-svn: 160575
|
| |
|
|
| |
llvm-svn: 160574
|
| |
|
|
|
|
|
|
|
|
|
| |
assembly.
By default, we don't emit IR for MS-style inline assembly (see r158833 as to
why). This is strictly for testing purposes and should not be enabled with the
expectation that things will work. This is a temporary flag and will be removed
once MS-style inline assembly is fully supported.
llvm-svn: 160573
|
| |
|
|
|
|
|
|
|
|
|
| |
CI's name, and then used the StringRef pointing at its old name. I'm
fixing it by storing the name in a std::string, and hoisting the
renaming logic to happen always. This is nicer anyways as it will allow
the upgraded IR to have the same names as the input IR in more cases.
Another bug found by AddressSanitizer. Woot.
llvm-svn: 160572
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PHIElimination splits critical edges when it predicts it can resolve
interference and eliminate copies. It doesn't split the edge if the
interference wouldn't be resolved anyway because the phi-use register is
live in the critical edge anyway.
Teach PHIElimination to split loop exiting edges with interference, even
if it wouldn't resolve the interference. This removes the necessary
copies from the loop, which is still an improvement from injecting the
copies into the loop.
The test case demonstrates the improvement. Before:
LBB0_1:
cmpb $0, (%rdx)
leaq 1(%rdx), %rdx
movl %esi, %eax
je LBB0_1
After:
LBB0_1:
cmpb $0, (%rdx)
leaq 1(%rdx), %rdx
je LBB0_1
movl %esi, %eax
llvm-svn: 160571
|
| |
|
|
|
|
| |
number of formal parameters for a variadic function call.
llvm-svn: 160570
|
| |
|
|
|
|
|
|
|
|
| |
The assertion was wrong in case we have a verbatim block without a closing
command.
Also add tests for closing command name in a verbatim block, since now it can
be empty in such cases.
llvm-svn: 160568
|
| |
|
|
| |
llvm-svn: 160567
|
| |
|
|
| |
llvm-svn: 160566
|
| |
|
|
| |
llvm-svn: 160565
|
| |
|
|
| |
llvm-svn: 160564
|