Fariborz Jahanian
3018b95093
objc: warn if a readonly property has a setter attribute too.
...
// rdar://10357768
llvm-svn: 143518
2011-11-01 23:02:16 +00:00
Anna Zaks
49ea5bf562
[analyzer] Make sink attribute part of the node profile.
...
This prevents caching out on nodes with different sink flag.
(This is a cleaner fix for radar://10376675).
llvm-svn: 143517
2011-11-01 22:41:19 +00:00
Anna Zaks
9e82c62222
[analyzer] Fix PR11282 - an assert in markAsSink
...
This is another fallout from the refactoring. We were
calling MarkAsSink on a cached out node.
(Fixes radar://10376675)
llvm-svn: 143516
2011-11-01 22:41:14 +00:00
Anna Zaks
bfb3520fc5
[analyzer] Make sure the child builder use temporary destination sets
...
The parent and child builders should not share node sets.
llvm-svn: 143515
2011-11-01 22:41:09 +00:00
Anna Zaks
6d319489df
[analyzer] BranchNodeBuilder should not generate autotransitions.
...
This fixes radar://10367606
llvm-svn: 143514
2011-11-01 22:41:06 +00:00
Anna Zaks
1c887b35fb
[analyzer] CheckerContext::getPredecessor() cleanup
...
Remove unnecessary calls to CheckerContext::getPredecessor() + Comments.
llvm-svn: 143513
2011-11-01 22:41:01 +00:00
Anna Zaks
658f977dba
[analyzer] Remove the CheckerContext's destructor.
...
llvm-svn: 143512
2011-11-01 22:40:55 +00:00
Jim Grosbach
5c6b6346bc
ARM label operands can be quoted.
...
For example, labels from Objective-C sources.
llvm-svn: 143511
2011-11-01 22:38:31 +00:00
Jim Grosbach
7f1f3bd868
ARM label operands can have an optional '#' before them.
...
llvm-svn: 143510
2011-11-01 22:37:37 +00:00
Kevin Enderby
6469fc275a
First part of support for generating dwarf for assembly source files with the
...
-g flag. In this part we generate the .file for the source being assembled and
the .loc's for the assembled instructions.
The next part will be to generate the dwarf Compile Unit DIE and a dwarf
subprogram DIE for each non-temporary label.
Once the next part is done test cases will be added. rdar://9275556
llvm-svn: 143509
2011-11-01 22:27:22 +00:00
Eli Friedman
61108f2378
Add missing export. Spotted by Leandro Melo.
...
llvm-svn: 143508
2011-11-01 22:25:07 +00:00
Owen Anderson
69e54a740c
Fix disassembly of some VST1 instructions.
...
llvm-svn: 143507
2011-11-01 22:18:13 +00:00
Douglas Gregor
c3ae7c363e
When we run into a constructor or destructor that is defined in the
...
wrong class, make sure to drop it immediately; we don't want that
constructor to be available within the DeclContext. Fixes
<rdar://problem/9677163>.
llvm-svn: 143506
2011-11-01 22:13:30 +00:00
Richard Smith
1a77e8d10d
Fix r143463 to test what it was intended to test.
...
llvm-svn: 143505
2011-11-01 21:48:46 +00:00
Douglas Gregor
fe0055e6c8
When we see an out-of-line definition of a member class template that
...
does not match any declaration in the class (or class template), be
sure to mark it as invalid. Fixes PR10924 / <rdar://problem/10119422>.
llvm-svn: 143504
2011-11-01 21:35:16 +00:00
Sebastian Pop
8188c8a1f3
rename getHostTriple into getDefaultTargetTriple in clang
...
llvm-svn: 143503
2011-11-01 21:33:06 +00:00
Sebastian Pop
94441fbad7
rename getHostTriple into getDefaultTargetTriple
...
llvm-svn: 143502
2011-11-01 21:32:20 +00:00
Sebastian Pop
ec2fb226d8
rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLE
...
llvm-svn: 143501
2011-11-01 21:31:44 +00:00
Sebastian Pop
f29a9b8c0b
derive LLVM_HOSTTRIPLE from target
...
llvm-svn: 143500
2011-11-01 21:30:04 +00:00
Eli Friedman
3f5eccbe7a
Teach the x86 backend a couple tricks for dealing with v16i8 sra by a constant splat value. Fixes PR11289.
...
llvm-svn: 143498
2011-11-01 21:18:39 +00:00
Howard Hinnant
decdcacece
Add include file install path
...
llvm-svn: 143497
2011-11-01 21:06:50 +00:00
Richard Smith
cecf184e64
When constant-folding, don't look at the initializer of a global const variable
...
if it's marked as weak: that definition may not end up being used.
llvm-svn: 143496
2011-11-01 21:06:14 +00:00
Richard Smith
1f1f2d8ca3
Temporarily disable lvalue-to-rvalue conversions on const pointers while an
...
apparent miscompile triggered by this is investigated. This is essentially a
revert of r143298.
llvm-svn: 143491
2011-11-01 20:38:59 +00:00
Tanya Lattner
fa7d9360f0
Do not create sub_dirs. This breaks the CSS links for the website and produces really long URLS.
...
llvm-svn: 143487
2011-11-01 20:09:03 +00:00
Argyrios Kyrtzidis
1f49cda14f
[libclang] Fix non-darwin buildbots.
...
llvm-svn: 143477
2011-11-01 19:47:41 +00:00
Johnny Chen
a8df2c7a74
Add bench entries.
...
llvm-svn: 143476
2011-11-01 19:22:09 +00:00
Fariborz Jahanian
ab92b753d6
Find copy constructor needed to copy an rvalue reference
...
c++ object into block descriptor. // rdar://9971124
llvm-svn: 143475
2011-11-01 18:57:34 +00:00
Johnny Chen
5e27d5e033
Change the expected substrings for 'frame variable' output to:
...
'::my_uint_t', 'anon_uint = 0'
from:
'(my_uint_t) anon_uint = 0'
to make the test suite clean with ToT.
llvm-svn: 143474
2011-11-01 18:46:52 +00:00
Jim Grosbach
107c14391f
Ignore MachO symbol flags in the upper nibble of n_desc.
...
They don't impact the MCJIT rtdyld, so just mask them off for now.
llvm-svn: 143472
2011-11-01 18:10:23 +00:00
Matt Beaumont-Gay
3e59facf65
Silence a warning in -Asserts builds
...
llvm-svn: 143471
2011-11-01 18:10:22 +00:00
Ted Kremenek
5d6044e413
Downgrade err_iboutlet_object_type to a warning. It was breaking a bunch of code. We will reconsider promoting it back to an error later.
...
llvm-svn: 143470
2011-11-01 18:08:35 +00:00
Sean Callanan
c1b732d782
Added the capability (turned off for now) to mark a
...
method as __attribute__ ((used)) when adding it to a
class. This functionality is useful when stopped in
anonymous namespaces: expressions attached to classes
in anonymous namespaces are typically elided by Clang's
CodeGen because they have no namespaces are intended
not to be externally visible. __attribute__ ((used))
forces CodeGen to emit the function.
Right now, __attribute__ ((used)) causes the JIT not to
emit the function, so we're not enabling it until we
fix that.
llvm-svn: 143469
2011-11-01 18:07:13 +00:00
Daniel Dunbar
ca5524b00b
Support/Compiler: Add LLVM_EXTENSION for use where we want to hide pedantic diags.
...
llvm-svn: 143468
2011-11-01 17:46:12 +00:00
Sean Callanan
ea685aeb3c
Minor logging changes: added logging right before
...
the expression makes it to the JIT, and made some
logging only appear in verbose mode.
llvm-svn: 143467
2011-11-01 17:33:54 +00:00
Daniel Dunbar
8d365a1749
build: liblldb now depends on the linker library
...
llvm-svn: 143466
2011-11-01 17:32:01 +00:00
Argyrios Kyrtzidis
244ce8b204
Put a reference of the ASTReader in the ASTUnit.
...
This is intended for direct access of the ASTReader for uses that make
little sense to try to shoehorn in the ExternalASTSource interface.
llvm-svn: 143465
2011-11-01 17:14:15 +00:00
Argyrios Kyrtzidis
b9689bb46f
[libclang] For a class extension, give it a unique USR but for any property or ivar
...
it contains give it a USR based on its semantic context, which is the interface.
This follows what we already did for objc methods. rdar://10371669
llvm-svn: 143464
2011-11-01 17:14:12 +00:00
Richard Smith
fec0992aca
Implement C++11 'constexpr calls must return constant expressions' rule, and
...
perform the code simplifications this rule allows.
llvm-svn: 143463
2011-11-01 16:57:24 +00:00
Sebastian Redl
72ef7bc2b5
Enable function call and some overload resolution with parameters of aggregate class type and initializer list arguments.
...
llvm-svn: 143462
2011-11-01 15:53:09 +00:00
Richard Osborne
56ce0932db
Don't fold negative offsets into cp / dp accesses to avoid relocation errors.
...
This can happen if the address + addend is less than the start of the cp / dp.
llvm-svn: 143459
2011-11-01 11:31:53 +00:00
Richard Osborne
37fe7d6641
Combine various XCore tests for floating point intrinsic support into a single test.
...
llvm-svn: 143458
2011-11-01 10:51:48 +00:00
Richard Osborne
8591b6b0ab
Move various XCore tests to FileCheck
...
llvm-svn: 143457
2011-11-01 10:41:28 +00:00
Craig Topper
fec80c6ad2
Fix operand type for x86 pmadd_ub_sw intrinsic.
...
llvm-svn: 143455
2011-11-01 07:25:22 +00:00
Eli Friedman
39df70c33a
Remove a couple unused methods. PR11201.
...
llvm-svn: 143452
2011-11-01 05:11:01 +00:00
Eli Friedman
a49b828f8f
Make sure we use the right insertion point when instcombine replaces a PHI with another instruction. (Specifically, don't insert an arbitrary instruction before a PHI.) Fixes PR11275.
...
llvm-svn: 143437
2011-11-01 04:49:29 +00:00
Eli Friedman
86fe42d184
Correct test for additional comment line.
...
llvm-svn: 143436
2011-11-01 04:46:08 +00:00
Eli Friedman
d4e02a50ba
A couple misc fixes so that bugpoint doesn't explode reducing code containing landingpads.
...
llvm-svn: 143435
2011-11-01 04:40:56 +00:00
Bill Wendling
eda350d8ab
Add LuaAV to external projects list.
...
llvm-svn: 143431
2011-11-01 04:08:23 +00:00
Eli Friedman
e1f2ce8fd3
Mark test as requiring x86 backend.
...
llvm-svn: 143427
2011-11-01 03:48:36 +00:00
Eli Friedman
97ed64081d
Don't depend on system includes in test.
...
llvm-svn: 143426
2011-11-01 03:35:57 +00:00