- Apr 19, 2010
-
-
Rafael Espindola authored
llvm-svn: 101787
-
Dan Gohman authored
llvm-svn: 101786
-
Zhongxing Xu authored
llvm-svn: 101772
-
Zhongxing Xu authored
llvm-svn: 101771
-
David Chisnall authored
llvm-svn: 101759
-
David Chisnall authored
llvm-svn: 101758
-
Rafael Espindola authored
If a method is virtual and the class key function is in another file, emit the method as available_externally. Fixes PR6747 llvm-svn: 101757
-
- Apr 18, 2010
-
-
Fariborz Jahanian authored
as they are accessible in static methods in a class local to the same function. Fixes PR6769. llvm-svn: 101756
-
Nuno Lopes authored
as a side-effect, remove two FIXMEs now fixed llvm-svn: 101726
-
Douglas Gregor authored
instantiating class members as part of an explicit instantiation. Addresses a compilation problem in Boost.Serialization. llvm-svn: 101725
-
Douglas Gregor authored
a qualified name. We weren't checking for an empty nested-name-specifier when dealing with friend class templates (although we were checking in the other places where we deal with this paragraph). Fixes a Boost.Serialization showstopper. llvm-svn: 101724
-
Daniel Dunbar authored
portable. llvm-svn: 101719
-
Benjamin Kramer authored
different kinds (aka garbage). This happens if we're comparing a standard conversion sequence to an ambiguous one which have the same KindRank. Found by valgrind. llvm-svn: 101717
-
Douglas Gregor authored
resolution ([over.ics.ref]), we take some shortcuts required by the standard that effectively permit binding of a const volatile reference to an rvalue. We have to treat lightly here to avoid infinite recursion. Fixes PR6177. llvm-svn: 101712
-
Douglas Gregor authored
in C++03. llvm-svn: 101707
-
Chandler Carruth authored
return types, and default arguments. This fixes PR6855 along with several similar cases where we rejected valid code. llvm-svn: 101706
-
Douglas Gregor authored
reference binding to an rvalue of reference-compatible type, check parameters after the first for complete parameter types and build any required default function arguments. We're effectively simulating the type-checking for a call without building the call itself. llvm-svn: 101705
-
Douglas Gregor authored
reference-compatible type, the implementation is permitted to make a copy of the rvalue (or many such copies, even). However, even though we don't make that copy, we are required to check for the presence of a suitable copy constructor. With this change, we do. Note that in C++0x we are not allowed to make these copies, so we test both dialects separately. Also note the FIXME in one of the C++03 tests, where we are not instantiating default function arguments for the copy constructor we pick (but do not call). The fix is obvious; eliminating the infinite recursion it causes is not. Will address that next. llvm-svn: 101704
-
Chandler Carruth authored
llvm-svn: 101700
-
Ted Kremenek authored
llvm-svn: 101699
-
Douglas Gregor authored
temporary object. This is blindingly obvious from reading C++ [over.match.ctor]p1, but somehow I'd missed it and it took DR152 to educate me. Adjust one test that was relying on this non-standard behavior. llvm-svn: 101688
-
Anders Carlsson authored
Simplify wide bit-field layout in CGRecordLayoutBuilder, and also fix a bug where assigning to a bit-field member would overwrite other parts of the struct. llvm-svn: 101681
-
Douglas Gregor authored
resolution. There are two sources of problems involving user-defined conversions that this change eliminates, along with providing simpler interfaces for checking implicit conversions: - It eliminates a case of infinite recursion found in Boost. - It eliminates the search for the constructor needed to copy a temporary generated by an implicit conversion from overload resolution. Overload resolution assumes that, if it gets a value of the parameter's class type (or a derived class thereof), there is a way to copy if... even if there isn't. We now model this properly. llvm-svn: 101680
-
- Apr 17, 2010
-
-
Anders Carlsson authored
llvm-svn: 101678
-
Anders Carlsson authored
llvm-svn: 101673
-
Anders Carlsson authored
llvm-svn: 101671
-
Anders Carlsson authored
llvm-svn: 101668
-
Chandler Carruth authored
implemented precisely the same as GCC, but the distinction GCC makes isn't useful to represent. This allows parsing code which uses GCC-specific keywords ('asm', etc.) without parsing in a fully GNU mode. llvm-svn: 101667
-
Anders Carlsson authored
llvm-svn: 101666
-
Chandler Carruth authored
generated files from a previous in-source builds. llvm-svn: 101665
-
Chris Lattner authored
llvm-svn: 101660
-
Anders Carlsson authored
llvm-svn: 101643
-
Benjamin Kramer authored
raw_ostream. Use it in getAsString and NamedDecl's raw_ostream operator. llvm-svn: 101633
-
Benjamin Kramer authored
Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. The next step is to print the name directly into the stream, avoiding a temporary std::string copy. llvm-svn: 101632
-
Chris Lattner authored
void exit_picture() { char yuv_types[4][6]= {"4:0:0","4:2:0","4:2:2","4:4:4"}; foo(yuv_types); } llvm-svn: 101623
-
Daniel Dunbar authored
llvm-svn: 101618
-
Eric Christopher authored
llvm-svn: 101611
-
Eric Christopher authored
checking into a single function and use that throughout. Remove some now unnecessary diagnostics and update tests with now more accurate diagnostics. llvm-svn: 101610
-
Ted Kremenek authored
llvm-svn: 101594
-
Ted Kremenek authored
llvm-svn: 101591
-