- Mar 25, 2009
-
-
Daniel Dunbar authored
- Lift ArgList to a base class for InputArgList and DerivedArgList. - This is not a great decomposition, but it does embed the translation into the type system, and keep things efficient for tool chains that don't want to do any translation. - No intended functionality change. Eventually I hope to get rid of tool chain specific translation and have each tool do the right thing, but for now this is the easiest way to match gcc precisely (which is good for testing). llvm-svn: 67676
-
Devang Patel authored
Do not ignore DW_TAG_class_type! llvm-svn: 67675
-
Chris Lattner authored
llvm-svn: 67674
-
Daniel Dunbar authored
llvm-svn: 67673
-
Anders Carlsson authored
class C { C() { } int a; }; C::C() : a(10) { } We also diagnose when initializers are used on declarations that aren't constructors: t.cpp:1:10: error: only constructors take base initializers void f() : a(10) { } ^ Doug and/or Sebastian: I'd appreciate a review, especially the nested-name-spec test results (from the looks of it we now match gcc in that test.) llvm-svn: 67672
-
Anders Carlsson authored
llvm-svn: 67671
-
Evan Cheng authored
llvm-svn: 67669
-
Evan Cheng authored
llvm-svn: 67668
-
Evan Cheng authored
llvm-svn: 67667
-
Dan Gohman authored
not going to persue this further at this time. llvm-svn: 67666
-
Ted Kremenek authored
static analysis. llvm-svn: 67665
-
Douglas Gregor authored
llvm-svn: 67664
-
Ted Kremenek authored
llvm-svn: 67663
-
Chris Lattner authored
precise than it used to be. llvm-svn: 67662
-
Devang Patel authored
llvm-svn: 67661
-
Douglas Gregor authored
llvm-svn: 67660
-
Douglas Gregor authored
failure to perform a declaration. Instead, explicitly note semantic failures that occur during template parsing with a DeclResult. Fixes PR3872. llvm-svn: 67659
-
Dan Gohman authored
llvm-svn: 67658
-
Chris Lattner authored
llvm-svn: 67657
-
Dan Gohman authored
llvm-svn: 67656
-
Dan Gohman authored
autoconf directory, but these paths need to be relative to the main source directory. llvm-svn: 67655
-
Dan Gohman authored
llvm-svn: 67654
-
- Mar 24, 2009
-
-
Sebastian Redl authored
llvm-svn: 67653
-
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
-