Steve Naroff
b0e25c1ceb
Remove old/incorrect warnings.
...
llvm-svn: 65950
2009-03-03 15:49:23 +00:00
Steve Naroff
3e1181e2e9
Fix <rdar://problem/6497242> Inherited overridden protocol declared objects don't work.
...
Change Sema::DiagnosePropertyMismatch() to check for type compatibility (rather than type equivalence, which is too strict).
llvm-svn: 65949
2009-03-03 15:43:24 +00:00
Steve Naroff
157599fe1c
Fix <rdar://problem/6497608> clang does not catch ivar type mismatches in @implementation.
...
llvm-svn: 65948
2009-03-03 14:49:36 +00:00
Bill Wendling
3e44bf3c4b
Reapply r65755, but reversing "<" to ">=".
...
llvm-svn: 65945
2009-03-03 12:12:58 +00:00
Mikhail Glushenkov
33435e49a9
Add example/Skeleton.
...
This is a template that can be used to build your own LLVMC-based drivers.
It can be also useful as a "bare-bones" LLVMC.
llvm-svn: 65944
2009-03-03 11:02:48 +00:00
Mikhail Glushenkov
b5f56fc268
Comment fixes.
...
llvm-svn: 65943
2009-03-03 10:04:57 +00:00
Mikhail Glushenkov
59a5afa996
Oops.
...
llvm-svn: 65942
2009-03-03 10:04:23 +00:00
Mikhail Glushenkov
4f85b86120
Use LLVMLIBS instead of USEDLIBS.
...
Since this Makefile is supposed to be usable from LLVM-based projects not in the
tree, LLVMLIBS should be used instead of USEDLIBS. This depends on my previous
fix to Makefile.rules.
llvm-svn: 65941
2009-03-03 10:03:53 +00:00
Mikhail Glushenkov
ab6f8ded33
LINK_COMPONENTS should be added to LLVMLibsOptions.
...
From the code: "There are "Proj" libs (defined by the user's project) and "LLVM"
libs (defined by the LLVM project)." LINK_COMPONENTS are clearly defined by the
LLVM project.
Additionally, this fixes an issue with llvmc's build process:-)
llvm-svn: 65940
2009-03-03 10:03:27 +00:00
Mikhail Glushenkov
b00b964697
Move example plugins to the example/ directory.
...
llvm-svn: 65939
2009-03-03 10:02:53 +00:00
Nick Lewycky
9e26e6d3cb
ENABLE_PIC is either 0 or 1, but is always defined.
...
llvm-svn: 65938
2009-03-03 07:45:09 +00:00
Daniel Dunbar
d53cf6c0c5
Driver: Sketch Arg & ArgList classes.
...
llvm-svn: 65937
2009-03-03 07:34:45 +00:00
Mikhail Glushenkov
766d48947a
80-column violation + trailing whitespace.
...
llvm-svn: 65936
2009-03-03 07:22:23 +00:00
Eli Friedman
4735374e39
PR3691: Add support for complex modes. I also tossed in support for XF
...
while I was at it. There are still a lot of diagnostics missing from
this code, and it isn't completely correct for anything other than x86, but
it should work correctly on x86 for valid cases.
llvm-svn: 65935
2009-03-03 06:41:03 +00:00
Zhou Sheng
506035105c
Ignore the debug info intrinsics when adding instructions into alias sets.
...
llvm-svn: 65934
2009-03-03 06:02:04 +00:00
Daniel Dunbar
b2da933989
Sketch Driver Option classes.
...
llvm-svn: 65933
2009-03-03 05:55:11 +00:00
Daniel Dunbar
9ad72691c3
Set svn:ignore on Output dir
...
llvm-svn: 65932
2009-03-03 05:53:50 +00:00
Nick Lewycky
79a6fe91e0
This bug's been fixed but a version with the fix hasn't been released yet.
...
llvm-svn: 65931
2009-03-03 05:41:16 +00:00
Nick Lewycky
ed8472e8a1
Regenerate.
...
llvm-svn: 65928
2009-03-03 04:55:29 +00:00
Nick Lewycky
7d01e394ba
Switch to using -Wl,-R on Solaris.
...
llvm-svn: 65927
2009-03-03 04:55:15 +00:00
Eli Friedman
78350edafb
Fix for PR3687: use the memory representation for booleans when a
...
sub-type describes a memory location, like the pointee type of a pointer
or the element type of an array.
llvm-svn: 65925
2009-03-03 04:48:01 +00:00
Douglas Gregor
463421deb1
Implement the basics of implicit instantiation of class templates, in
...
response to attempts to diagnose an "incomplete" type. This will force
us to use DiagnoseIncompleteType more regularly (rather than looking at
isIncompleteType), but that's also a good thing.
Implicit instantiation is still very simplistic, and will create a new
definition for the class template specialization (as it should) but it
only actually instantiates the base classes and attaches
those. Actually instantiating class members will follow.
Also, instantiate the types of non-type template parameters before
checking them, allowing, e.g.,
template<typename T, T Value> struct Constant;
to work properly.
llvm-svn: 65924
2009-03-03 04:44:36 +00:00
Nick Lewycky
9c51e8f962
Fix build on Cygwin.
...
llvm-svn: 65922
2009-03-03 03:36:50 +00:00
Ted Kremenek
6c6a098a83
Tighten message bubble height.
...
Make bubble number decoration look more like circles than ovals.
llvm-svn: 65921
2009-03-03 03:00:21 +00:00
Dan Gohman
92b551bc2b
Fix a bunch of Doxygen syntax issues. Escape special characters,
...
and put @file directives on their own comment line.
llvm-svn: 65920
2009-03-03 02:55:14 +00:00
Ted Kremenek
4c8a5817a5
Implement FIXME: GRStateManager::scanReachableSymbols now supports scanning MemRegions.
...
llvm-svn: 65919
2009-03-03 02:51:43 +00:00
Ted Kremenek
d62491a808
Update checker build.
...
llvm-svn: 65916
2009-03-03 01:44:57 +00:00
Dale Johannesen
0192552340
Don't count DebugInfo instructions in another limit
...
(lest they affect codegen).
llvm-svn: 65915
2009-03-03 01:43:03 +00:00
Ted Kremenek
8dc671cdc9
Add StoreManager::getSubRegionMap(). This method returns an opaque mapping for clients of StoreManagers from MemRegions to their subregions.
...
llvm-svn: 65914
2009-03-03 01:35:36 +00:00
Fariborz Jahanian
a458c4ff65
Check of ivar access access control.
...
llvm-svn: 65912
2009-03-03 01:21:12 +00:00
Dale Johannesen
fcf4ecec45
Testcase for line number sinking in InstCombine.
...
llvm-svn: 65911
2009-03-03 01:10:01 +00:00
Dale Johannesen
e1bb2f86f9
When sinking an insn in InstCombine bring its debug
...
info with it.
Don't count debug info insns against the scan maximum
in FindAvailableLoadedValue (lest they affect codegen).
llvm-svn: 65910
2009-03-03 01:09:07 +00:00
Steve Naroff
f3833d70be
Fix <rdar://problem/6635908> crash on invalid
...
llvm-svn: 65909
2009-03-03 00:45:38 +00:00
Devang Patel
cc40a61af7
Ignore debug info intrinsics.
...
llvm-svn: 65908
2009-03-03 00:28:44 +00:00
Zhongxing Xu
6765d449ed
Add test case for pointer arithmetic.
...
llvm-svn: 65907
2009-03-03 00:28:42 +00:00
Chris Lattner
5a9a892e48
fix PR#
...
llvm-svn: 65906
2009-03-03 00:00:26 +00:00
Ted Kremenek
ccca5c3f00
Adjust CSS to make message bubble numbers less gaudy.
...
llvm-svn: 65903
2009-03-02 23:39:27 +00:00
Devang Patel
d50ebbdf3f
If branch conditions' one successor is dominating another non-latch successor then this loop's iteration space can not be restricted. In this example block bb5 is always executed.
...
llvm-svn: 65902
2009-03-02 23:39:14 +00:00
Bob Wilson
85cefe8567
Generalize BuildVectorSDNode::isConstantSplat to use APInts and handle
...
arbitrary vector sizes. Add an optional MinSplatBits parameter to specify
a minimum for the splat element size. Update the PPC target to use the
revised interface.
llvm-svn: 65899
2009-03-02 23:24:16 +00:00
Bill Wendling
a347bc6700
Document the -gcc-tool-args bugpoint option.
...
llvm-svn: 65897
2009-03-02 23:15:59 +00:00
Bill Wendling
bf5d827194
Add a "-gcc-tool-args" option. This option acts like the "-tool-args" option,
...
but passes the arguments to the "gcc" invocation instead of to the "llc"
invocation.
llvm-svn: 65896
2009-03-02 23:13:18 +00:00
Nate Begeman
aa06843c56
Fix the calculation for how big the allocated stub needs to be.
...
llvm-svn: 65895
2009-03-02 23:10:14 +00:00
Ted Kremenek
7f16ed4c25
Resize message bubble back to original size.
...
llvm-svn: 65892
2009-03-02 23:06:15 +00:00
Ted Kremenek
c62af6c4cf
Adjust HTML message bubbles to utilize information from PathDiagnosticPiece::Kind.
...
llvm-svn: 65891
2009-03-02 23:05:40 +00:00
Devang Patel
49d64927e1
Remove all dbg symobls, including those with circular references.
...
This is ugly, but I can't figure out a quick way out of this.
llvm-svn: 65889
2009-03-02 22:50:58 +00:00
Chris Lattner
96e43578fc
Add plumbing to support programatically defining __SSE2__ and friends,
...
even though we still hard code sse2 for now. No support for 3dnow or sse4a,
but someone could add that if they desired.
llvm-svn: 65886
2009-03-02 22:40:39 +00:00
Chris Lattner
ecd49037ec
minor cleanups to target-specific #defines, no functionality change.
...
llvm-svn: 65885
2009-03-02 22:27:17 +00:00
Chris Lattner
c25d8a7e30
improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)
...
llvm-svn: 65884
2009-03-02 22:20:04 +00:00
Chris Lattner
bab4417e05
Fix main executable path name resolution on FreeBSD, patch by
...
Ed Schouten!
llvm-svn: 65882
2009-03-02 22:17:15 +00:00
Chris Lattner
e6e4c0381a
start wiring up support for target-specific -mfoo options like -msse
...
llvm-svn: 65881
2009-03-02 22:11:07 +00:00