- Mar 24, 2009
-
-
Misha Brukman authored
llvm-svn: 67652
-
Duncan Sands authored
The configure line had --disable-bootstrap, but it was not clear that this is essential. llvm-svn: 67651
-
Devang Patel authored
llvm-svn: 67650
-
Evan Cheng authored
llvm-svn: 67649
-
Douglas Gregor authored
of "object type" rather than the C definition of "object type". The difference is that C's "object type" excludes incomplete types such as struct X; However, C's definition also makes it far too easy to use isObjectType as a means to detect incomplete types when in fact we should use other means (e.g., Sema::RequireCompleteType) that cope with C++ semantics, including template instantiation. I've already audited every use of isObjectType and isIncompleteType to ensure that they are doing the right thing for both C and C++, so this is patch does not change any functionality. llvm-svn: 67648
-
Dan Gohman authored
llvm-svn: 67647
-
Dan Gohman authored
llvm-svn: 67646
-
Daniel Dunbar authored
- -emit-llvm no longer changes what compilation steps are done. - -emit-llvm and -emit-llvm -S write output files with .o and .s suffixes, respectively. - <rdar://problem/6714125> clang-driver should support -O4 and -flto, like llvm-gcc llvm-svn: 67645
-
Douglas Gregor authored
types; add another use of RequireCompleteType. llvm-svn: 67644
-
Douglas Gregor authored
incomplete types. RequireCompleteType is needed when the type may be completed by instantiating a template. llvm-svn: 67643
-
Gabor Greif authored
llvm-svn: 67642
-
Daniel Dunbar authored
conceivably handle, but are defaulting to not using clang for. llvm-svn: 67641
-
Daniel Dunbar authored
- Don't default to using clang for C++ (use -ccc-clang-cxx to override). - Default to only using clang on i386 and x86_64 (use -ccc-clang-archs "" to override). - <rdar://problem/6712350> [driver] clang should not be used on powerpc by default - <rdar://problem/6705767> driver should default to -ccc-no-clang-cxx I plan to add a warning that we are not using the clang compiler for the given compilation so that users do not think clang is being used in situations it isn't. This change is motivated by the desire to be able to drop clang into a build and have things "just work", even if it happens to get used to compile C++ code or code for an architecture we don't support yet. llvm-svn: 67640
-
Daniel Dunbar authored
Driver::ShouldUseClangCompiler. - No functionality change. llvm-svn: 67639
-
Chris Lattner authored
to/from integer types that are not intptr_t to convert to intptr_t then do an integer conversion to the dest type. This exposes the cast to the optimizer. llvm-svn: 67638
-
Dale Johannesen authored
and streamline code here a bit. llvm-svn: 67636
-
Chris Lattner authored
1. Make instcombine always canonicalize trunc x to i1 into an icmp(x&1). This exposes the AND to other instcombine xforms and is more of what the code generator expects. 2. Rewrite the remaining trunc pattern match to use 'match', which simplifies it a lot. llvm-svn: 67635
-
Daniel Dunbar authored
- <rdar://problem/6715707> driver should translate -fverbose-asm into -asm-verbose llvm-svn: 67634
-
Mike Stump authored
llvm-svn: 67633
-
Daniel Dunbar authored
is specified. - No easy way to make a safe test case for this (given where the driver is supposed to put temp files). llvm-svn: 67632
-
Dale Johannesen authored
llvm-svn: 67629
-
Daniel Dunbar authored
- <rdar://problem/6715818> clang doesn't honor gcc semantic that last -O optimization option wins. llvm-svn: 67628
-
Anders Carlsson authored
Fix the bug that Eli noticed where we wouldn't look at function decls outside the class declaration. llvm-svn: 67627
-
Chris Lattner authored
llvm-svn: 67626
-
Chris Lattner authored
llvm-svn: 67625
-
Chris Lattner authored
llvm-svn: 67624
-
Douglas Gregor authored
llvm-svn: 67623
-
Dan Gohman authored
llvm-svn: 67622
-
Chris Lattner authored
Similarly for ppc64. This should probably move into the driver, along with all the other target selection stuff other than -triple. llvm-svn: 67621
-
Douglas Gregor authored
llvm-svn: 67620
-
Chris Lattner authored
change the __VERSION__ string to be more sensible. It would be useful to include the clang version # too. llvm-svn: 67619
-
Chris Lattner authored
the target constraint specifies a specific physreg. llvm-svn: 67618
-
Chris Lattner authored
llvm-svn: 67617
-
Chris Lattner authored
fail. llvm-svn: 67616
-
Daniel Dunbar authored
translation, the former we support, the later we don't (yet). llvm-svn: 67611
-
Daniel Dunbar authored
- Substitutes both clang and clang-cc. - Incorporates patch from Jon Simons to diagnose if clang or clang-cc isn't found. - Uses full path when running scripts, for more precision in the output. llvm-svn: 67610
-
Ted Kremenek authored
llvm-svn: 67609
-
Ted Kremenek authored
llvm-svn: 67608
-
Daniel Dunbar authored
- Updated ccc & driver to look in libexec/ for tools. llvm-svn: 67607
-
Daniel Dunbar authored
Again, I tried to update cmake but it is untested. llvm-svn: 67606
-