| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
should use a constructor to default-initialize a
variable. InitializationSequence knows the rules for default
initialization, better. Fixes <rdar://problem/8501008>.
llvm-svn: 131796
|
| |
|
|
|
|
|
|
|
|
|
|
| |
prints the file, line, and column of a diagnostic. We currently
support Clang's normal format, MSVC, and Vi formats.
Note that we no longer change the diagnostic format based on
-fms-extensions.
Patch by Andrew Fish!
llvm-svn: 131794
|
| |
|
|
| |
llvm-svn: 131793
|
| |
|
|
| |
llvm-svn: 131792
|
| |
|
|
|
|
| |
rdar://9475098.
llvm-svn: 131788
|
| |
|
|
|
|
| |
was being treated as postfix '--' in C mode.
llvm-svn: 131770
|
| |
|
|
|
|
|
| |
This case is tested by the fact that the modified test produces
significatly worse diagnostics. That's on the list.
llvm-svn: 131759
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Type::isUnsignedIntegerOrEnumerationType(), which are like
Type::isSignedIntegerType() and Type::isUnsignedIntegerType() but also
consider the underlying type of a C++0x scoped enumeration type.
Audited all callers to the existing functions, switching those that
need to also handle scoped enumeration types (e.g., those that deal
with constant values) over to the new functions. Fixes PR9923 /
<rdar://problem/9447851>.
llvm-svn: 131735
|
| |
|
|
|
|
|
| |
to a warning, since apparently libstdc++'s debug mode does this (and
we can recover safely). Add a Fix-It to insert the "inline", just for kicks.
llvm-svn: 131732
|
| |
|
|
|
|
|
| |
manifested in a crash with blocks in PR9953, but it was a ticking time
bomb for normal functions, too. Fixes PR9953.
llvm-svn: 131731
|
| |
|
|
| |
llvm-svn: 131729
|
| |
|
|
| |
llvm-svn: 131727
|
| |
|
|
| |
llvm-svn: 131722
|
| |
|
|
|
|
| |
constructor" again
llvm-svn: 131706
|
| |
|
|
|
|
| |
reason about.
llvm-svn: 131702
|
| |
|
|
| |
llvm-svn: 131701
|
| |
|
|
|
|
| |
template case.
llvm-svn: 131692
|
| |
|
|
| |
llvm-svn: 131672
|
| |
|
|
| |
llvm-svn: 131671
|
| |
|
|
| |
llvm-svn: 131662
|
| |
|
|
| |
llvm-svn: 131640
|
| |
|
|
|
|
|
|
| |
- Adds gcc 4.6 to gcc list so that linking will work on openSUSE 12.1
Patch by İsmail Dönmez!
llvm-svn: 131637
|
| |
|
|
|
|
| |
Patch by Ismail Dönmez!
llvm-svn: 131636
|
| |
|
|
| |
llvm-svn: 131633
|
| |
|
|
|
|
| |
for destructors until the class is complete and destructors have been adjusted.
llvm-svn: 131632
|
| |
|
|
|
|
| |
implementations.
llvm-svn: 131614
|
| |
|
|
| |
llvm-svn: 131611
|
| |
|
|
| |
llvm-svn: 131574
|
| |
|
|
|
|
| |
other things, libcxx not building.
llvm-svn: 131573
|
| |
|
|
| |
llvm-svn: 131558
|
| |
|
|
| |
llvm-svn: 131528
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
member functions by making sure that they're on the record before
checking for deletion.
Also make sure source locations are valid to avoid crashes.
Unfortunately, the declare-all-implicit-members approach is still
required in order to ensure that dependency loops do not result in
incorrectly deleting functions (since they are to be deleted at the
declaration point per the standard).
Fixes PR9917
llvm-svn: 131520
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I hear at least one person crying out in anguish, but it's unfortunately
necessary to avoid infinite loops with mutually dependent constructors
trying to call each other and determine if they are deleted.
It might be possible to go back to the old behavior if we can implement
part-of-file lookups efficiently, or if a solution is discovered by
which we can safely detect and avoid infinite recusion.
llvm-svn: 131515
|
| |
|
|
| |
llvm-svn: 131505
|
| |
|
|
|
|
| |
<rdar://problem/8107317>
llvm-svn: 131504
|
| |
|
|
| |
llvm-svn: 131499
|
| |
|
|
|
|
|
| |
user specified string class via -fconstant-string-class option.
pr9914.
llvm-svn: 131496
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. We would assume that the length of the string literal token was at least 2
2. We would allocate a buffer with size length-2
And when the stars aligned (one of which would be an invalid source location due to stale PCH)
The length would be 0 and we would try to allocate a 4GB buffer.
Add checks for this corner case and a bunch of asserts.
(We really really should have had an assert for 1.).
Note that there's no test case since I couldn't get one (it was major PITA to reproduce),
maybe later.
llvm-svn: 131492
|
| |
|
|
| |
llvm-svn: 131491
|
| |
|
|
|
|
| |
creating aggregate stores in common cases. This is more friendly to fast-isel.
llvm-svn: 131490
|
| |
|
|
|
|
|
| |
optimization for abstract classes; there was a misunderstanding, and
it turns out that there are no kexts which rely on this.
llvm-svn: 131489
|
| |
|
|
|
|
|
| |
constructors, including two more FIXMEs (one of which I don't actually
understand).
llvm-svn: 131487
|
| |
|
|
| |
llvm-svn: 131478
|
| |
|
|
|
|
| |
darwin assembler can handle cfi. Add a test.
llvm-svn: 131464
|
| |
|
|
| |
llvm-svn: 131450
|
| |
|
|
| |
llvm-svn: 131447
|
| |
|
|
| |
llvm-svn: 131446
|
| |
|
|
|
|
| |
Radar 9440721
llvm-svn: 131441
|
| |
|
|
|
|
| |
suppress an error we were previously emitting on valid union code.
llvm-svn: 131440
|
| |
|
|
| |
llvm-svn: 131435
|