Bob Wilson
a6fe21a79a
Clean up whitespace.
...
llvm-svn: 98769
2010-03-17 21:16:45 +00:00
Bob Wilson
69ba1bcd05
Increase format field from 5 to 6 bits. ARMII::FormMask was increased to 0x3f
...
in svn r74988 but the format field was never widened.
llvm-svn: 98768
2010-03-17 21:13:43 +00:00
Anders Carlsson
56446146fd
More work on thunks.
...
llvm-svn: 98765
2010-03-17 20:06:32 +00:00
John McCall
39e8288b40
Implement non-dependent friend functions and classes.
...
llvm-svn: 98764
2010-03-17 20:01:29 +00:00
Benjamin Kramer
a4d1c8f59f
Initialize Size member to appease valgrind.
...
llvm-svn: 98763
2010-03-17 19:55:31 +00:00
Dan Gohman
d2abecaeea
Revert 98755, which may be causing trouble.
...
llvm-svn: 98762
2010-03-17 19:54:53 +00:00
Gabor Greif
6221720599
feedback from Nick
...
llvm-svn: 98761
2010-03-17 19:27:31 +00:00
John McCall
71ba5f27de
ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not
...
ActOnStartCXXMemberDeclaration. We haven't started the field collector on this
class yet, so don't stop it. Fixes a crash in the VS buildbot and a memory error
on all the others.
llvm-svn: 98760
2010-03-17 19:25:57 +00:00
Dan Gohman
5c9b0e1a6e
Change SCEVNAryExpr's operand array from a SmallVector to a plain
...
pointer and length, and allocate the arrays in ScalarEvolution's
BumpPtrAllocator, so that they get released when their owning
SCEV gets released. SCEVs are immutable, so they don't need to worry
about operand array resizing. This fixes a memory leak reported
in PR6637.
llvm-svn: 98755
2010-03-17 18:51:01 +00:00
Douglas Gregor
ee8fed0146
Reduce the default alignment for ASTContext and Stmt/Expr allocation
...
from 16 bytes to 8 bytes, since we don't ever use those low 4
bits. Should save some storage.
llvm-svn: 98754
2010-03-17 18:46:59 +00:00
Bob Wilson
5a00b19a29
Remove an unnecessary (and misspelled) typedef. Tweak whitespace.
...
llvm-svn: 98753
2010-03-17 18:43:25 +00:00
Andrew Lenharth
e78e58ce2f
missing include
...
llvm-svn: 98752
2010-03-17 18:33:00 +00:00
Johnny Chen
6e81f67b09
98745 contains something unrelated to the patch.
...
Remove it from ARMAddressingModes.h.
llvm-svn: 98751
2010-03-17 18:32:39 +00:00
Douglas Gregor
fc20f82726
XFAIL this test on that silly Windows platform. Grrr
...
llvm-svn: 98750
2010-03-17 18:28:02 +00:00
Chris Lattner
9b65c38961
notes from evan
...
llvm-svn: 98748
2010-03-17 18:15:52 +00:00
Johnny Chen
8f3004cff2
Added sub-formats to the NeonI/NeonXI instructions to further refine the NEONFrm
...
instructions to help disassembly.
We also changed the output of the addressing modes to omit the '+' from the
assembler syntax #+/-<imm> or +/-<Rm>. See, for example, A8.6.57/58/60.
And modified test cases to not expect '+' in +reg or #+num. For example,
; CHECK: ldr.w r9, [r7, #28 ]
llvm-svn: 98745
2010-03-17 17:52:21 +00:00
Stuart Hastings
6981c258f7
Testcase for r98728.
...
llvm-svn: 98744
2010-03-17 17:51:08 +00:00
Devang Patel
852a04e7ce
Fix EmitSectionOffset incorrect argument. DwarfDebug is emitting debug info so isEH is always false. This was hiding until now from compilers because of default arguments. This was hiding from dwarf debug info users because for most of the platform isAbsoluteEHSectionOffsets() is same as isAbsoluteDebugSectionOffsets(). But Chris found it while updating dwarf printer to use MC*.
...
llvm-svn: 98743
2010-03-17 17:29:55 +00:00
Chris Lattner
6aba4862c5
several updates
...
llvm-svn: 98742
2010-03-17 17:25:49 +00:00
Jeffrey Yasskin
11122eafe7
Make lit pay attention to --vg for tcl tests too, which makes it work on LLVM's
...
non-unit tests.
llvm-svn: 98741
2010-03-17 17:04:56 +00:00
Douglas Gregor
f475990d86
Remove this test. It is causing problems has has relatively little value
...
llvm-svn: 98730
2010-03-17 16:04:04 +00:00
Douglas Gregor
319aa6c4b5
Remove warning about shadowing a built-in; built-ins aren't actually
...
considered to be a part of the translation unit unless they're named
in a way that brings them into existence.
llvm-svn: 98729
2010-03-17 16:03:44 +00:00
Douglas Gregor
4ad3da2843
Entering the main source file in the preprocessor can fail if the
...
source file has been changed. Handle that failure more gracefully.
llvm-svn: 98727
2010-03-17 15:44:30 +00:00
Douglas Gregor
22fde23b6e
Check the inode in addition to size and modification time to determine
...
whether a file has changed since it was originally read.
llvm-svn: 98726
2010-03-17 15:33:06 +00:00
Douglas Gregor
6597f59506
Use a simple diagnostic (file modified) when we detect that a file has
...
changed, rather than trying to point out how it changed. The "why"
doesn't matter.
llvm-svn: 98725
2010-03-17 15:30:15 +00:00
John Criswell
2a4b080c5d
Fixed spelling errors.
...
llvm-svn: 98724
2010-03-17 15:01:50 +00:00
Kovarththanan Rajaratnam
eeed0cc32d
Simplify error path using OwningPtr
...
llvm-svn: 98722
2010-03-17 09:47:30 +00:00
Kovarththanan Rajaratnam
9ff84d9c27
Simplify ProcessWarningOptions since it can't fail
...
llvm-svn: 98721
2010-03-17 09:36:02 +00:00
Kovarththanan Rajaratnam
5d272cda19
Remove useless forward decl.
...
llvm-svn: 98720
2010-03-17 09:25:49 +00:00
Kovarththanan Rajaratnam
4a94ba56f1
Issue a proper diagnostic if we couldn't open dump file
...
llvm-svn: 98719
2010-03-17 09:24:48 +00:00
Kovarththanan Rajaratnam
c1e817ef51
Remove useless foward decl.
...
llvm-svn: 98718
2010-03-17 08:44:19 +00:00
John McCall
cb81625851
Add another compatibility note and tweak a few of the existing ones.
...
llvm-svn: 98717
2010-03-17 07:10:56 +00:00
Jeffrey Yasskin
c4e3f05380
Fix a false-positive memory leak in code using RemoveFileOnSignal(). Because
...
libstdc++'s std::string class points to the interior of an allocation, valgrind
reports strings still alive at program termination as possible leaks. I didn't
use a ManagedStatic for this because System can't depend on Support.
llvm-svn: 98716
2010-03-17 07:08:12 +00:00
Chris Lattner
6184f4db34
combiner-aa too, what's its status?
...
llvm-svn: 98715
2010-03-17 06:42:25 +00:00
Chris Lattner
10a3cc46fd
more chris scribble.
...
llvm-svn: 98714
2010-03-17 06:41:58 +00:00
Chandler Carruth
7b621ea10a
Fix a typo in a tag.
...
llvm-svn: 98713
2010-03-17 05:46:21 +00:00
Chris Lattner
aed00fa039
fix GetOrCreateTemporarySymbol to require a name, clients
...
should use CreateTempSymbol() if they don't care about the
name.
llvm-svn: 98712
2010-03-17 05:41:18 +00:00
John McCall
fb803d7dcb
Grant nested classes the access privileges of their enclosing classes.
...
llvm-svn: 98710
2010-03-17 04:58:56 +00:00
Chris Lattner
0b1c9a52b4
add a bunch of random and unformatted notes as I am reading
...
through tons of old commits.
llvm-svn: 98709
2010-03-17 04:41:49 +00:00
Rafael Espindola
fcc4739089
Document common clang compatibility issues.
...
Patch by Zhanyong Wan.
llvm-svn: 98708
2010-03-17 04:31:53 +00:00
Rafael Espindola
cd7eef900f
Correctly mangle dependent TypenameType.
...
Fixes PR6625.
llvm-svn: 98707
2010-03-17 04:28:11 +00:00
Chris Lattner
c871bac79b
add logo, comment out project info, they need to send updates
...
to get reincluded.
llvm-svn: 98706
2010-03-17 04:02:39 +00:00
Zhongxing Xu
03fd76663e
Mark CXXThisRegion in the current or parent stack frame context as live so that
...
their bindings are not removed.
llvm-svn: 98705
2010-03-17 03:35:08 +00:00
Chris Lattner
476e541673
remove dead variable, patch by Nathan Howell!
...
llvm-svn: 98704
2010-03-17 01:45:17 +00:00
John McCall
59bb1d4657
Make -faccess-control and -fno-access-control driver options.
...
llvm-svn: 98703
2010-03-17 01:32:13 +00:00
John McCall
9a3da8e6cf
Provide a test case for PR6629.
...
llvm-svn: 98702
2010-03-17 01:31:25 +00:00
Jeffrey Yasskin
b5cd01335b
Fix death tests in -Asserts builds.
...
llvm-svn: 98701
2010-03-17 01:18:45 +00:00
John McCall
2ff380a43a
Clean up after ourselves when there's an error parsing the base clause.
...
Fixes the crash-on-invalid in PR6629.
llvm-svn: 98698
2010-03-17 00:38:33 +00:00
Douglas Gregor
81dfb30e4c
Don't "take" the file manager and source manager when
...
ASTUnit::LoadFromCompilerInvocation() fails to create target
information.
llvm-svn: 98697
2010-03-17 00:32:06 +00:00
Fariborz Jahanian
b8b0ea330c
objective-c patch to provide type safty when blocks are passing or
...
returning objc objects. There will be a corresponding objective-c++
patch soon.
llvm-svn: 98696
2010-03-17 00:20:01 +00:00