| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
As it turns out, the NoFunction bit for local class mangling needed to be
propagated into more places. r185450 turned what used to be an incorrect
mangling into an assertion.
llvm-svn: 185713
|
|
|
|
|
|
| |
abstract class type. // rdar://14261999
llvm-svn: 185710
|
|
|
|
| |
llvm-svn: 185708
|
|
|
|
|
|
|
|
|
|
|
| |
We should not be asking unique_file to prepend the system temporary directory
when creating the html report. Unfortunately I don't think we can test this
with the current infrastructure since unique_file ignores MakeAbsolute if the
directory is already absolute and the paths provided by lit are.
I will take a quick look at making this api a bit less error prone.
llvm-svn: 185707
|
|
|
|
|
|
|
| |
The operator== calls equivalent which calls default_error_condition which
handles windows to posix conversion.
llvm-svn: 185702
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
T **t = new T * ;
T **q = new T * ();
After:
T **t = new T *;
T **q = new T *();
llvm-svn: 185699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a better implementation of r183097. The main purpose is to
prevent certain constructs to be formatted "like a block of text".
Before:
aaaaaaaaaaaaa<
aaaaaaaaaa, aaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>* aaaa = new aaaaaaaaaaaaa<
aaaaaaaaaa, aaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>(bbbbbbbbbbbbbbbbbbbbbbbb);
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb] = (*cccccccccccccccc)[
dddddddddddddddddddddddddddddddddddddddddddddddddddddddd];
After:
aaaaaaaaaaaaa<aaaaaaaaaa, aaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>* aaaa =
new aaaaaaaaaaaaa<aaaaaaaaaa, aaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>(
bbbbbbbbbbbbbbbbbbbbbbbb);
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb] =
(*cccccccccccccccc)[
dddddddddddddddddddddddddddddddddddddddddddddddddddddddd];
llvm-svn: 185687
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additionally, allow breaking after c-style casts, but with a high
penalty.
Before:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa *foo = (
aaaaaaaaaaaaaaaaa *)bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;
After:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa *foo = (aaaaaaaaaaaaaaaaa *)
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;
This fixes llvm.org/PR16049.
llvm-svn: 185685
|
|
|
|
| |
llvm-svn: 185684
|
|
|
|
|
|
| |
avoid repeating SmallVector size.
llvm-svn: 185683
|
|
|
|
|
|
| |
SmallVector size when creating iterators for the DenseMap.
llvm-svn: 185682
|
|
|
|
| |
llvm-svn: 185679
|
|
|
|
|
|
| |
to the associated FieldDecl.
llvm-svn: 185674
|
|
|
|
| |
llvm-svn: 185672
|
|
|
|
| |
llvm-svn: 185668
|
|
|
|
|
|
|
| |
Some versions of python will expand the glob used in the test, others wont,
causing the test to fail when run with LIT_USE_INTERNAL_SHELL=1.
llvm-svn: 185653
|
|
|
|
|
|
|
| |
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
|
|
|
|
| |
llvm-svn: 185650
|
|
|
|
| |
llvm-svn: 185649
|
|
|
|
|
|
| |
This avoids depending on pipefail not being used.
llvm-svn: 185648
|
|
|
|
| |
llvm-svn: 185647
|
|
|
|
| |
llvm-svn: 185645
|
|
|
|
| |
llvm-svn: 185644
|
|
|
|
| |
llvm-svn: 185643
|
|
|
|
| |
llvm-svn: 185641
|
|
|
|
| |
llvm-svn: 185640
|
|
|
|
| |
llvm-svn: 185639
|
|
|
|
| |
llvm-svn: 185637
|
|
|
|
| |
llvm-svn: 185636
|
|
|
|
| |
llvm-svn: 185635
|
|
|
|
|
|
|
|
| |
The test was passing because clang would still print the ast before exiting
with an error. Since that didn't seem to be the intent of the test, I change
the test instead of adding 'not' to the command line.
llvm-svn: 185634
|
|
|
|
|
|
|
| |
It was trivially passing because of the tcl quotes and we have better datalayout
tests.
llvm-svn: 185630
|
|
|
|
|
|
|
| |
It was not clear what was being tested and the test was trivially passing
by getting grep confused with tcl quotes.
llvm-svn: 185629
|
|
|
|
| |
llvm-svn: 185628
|
|
|
|
|
|
| |
specifying the vector size.
llvm-svn: 185623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Always breaking before multiline strings can help format complex
expressions containing multiline strings more consistently, and avoid consuming
too much horizontal space.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1097
llvm-svn: 185622
|
|
|
|
| |
llvm-svn: 185614
|
|
|
|
| |
llvm-svn: 185613
|
|
|
|
| |
llvm-svn: 185611
|
|
|
|
|
|
| |
avoid specifying the vector size unnecessarily.
llvm-svn: 185610
|
|
|
|
|
|
|
|
|
|
|
| |
The motivation is to suppresses false use-after-free reports that occur when calling
std::list::pop_front() or std::list::pop_back() twice. The analyzer does not
reason about the internal invariants of the list implementation, so just do not report
any of warnings in std::list.
Fixes radar://14317928.
llvm-svn: 185609
|
|
|
|
|
|
|
| |
This suppresses a false positive in std::hash_map.
Fixes radar://14255587.
llvm-svn: 185608
|
|
|
|
|
|
|
|
|
| |
substitution failed, report that as a substitution failure rather than
pretending that there was no default argument.
The test cases in PR15673 have exposed some pre-existing poor diagnostics here.
llvm-svn: 185604
|
|
|
|
| |
llvm-svn: 185602
|
|
|
|
|
|
|
| |
types when deciding on validity of a property
inclusion. // rdar://14345082
llvm-svn: 185599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
previously didn't work if a mem-initializer-id had a template argument which
contained parentheses or braces.
We now implement a simple rule: just look for a ') {' or '} {' that is not
nested. The '{' is assumed to start the function-body. There are still two
cases which we misparse, where the ') {' comes from a compound literal or
from a lambda. The former case is not valid C++, and the latter will probably
not be valid C++ once DR1607 is resolved, so these seem to be of low value,
and we do not regress on them with this change. EDG and g++ also misparse
both of these cases.
llvm-svn: 185598
|
|
|
|
| |
llvm-svn: 185593
|
|
|
|
|
|
|
|
| |
migrating setter/getter methods to an eventual
property declaraiton. This is wip.
// rdar://14345082
llvm-svn: 185591
|
|
|
|
| |
llvm-svn: 185584
|
|
|
|
|
|
| |
Long double is 64 bits on FreeBSD PPC, so the f128 entry is superfluous.
llvm-svn: 185582
|