- May 15, 2012
-
-
David Blaikie authored
Based on code review feedback by Jordan Rose. llvm-svn: 156827
-
David Blaikie authored
Moves the bool bail-out down a little in SemaChecking - so now -Wnull-conversion and -Wliteral-conversion can fire when the target type is bool. Also improve the wording/details in the -Wliteral-conversion warning to match the -Wconstant-conversion. llvm-svn: 156826
-
Fariborz Jahanian authored
in @interface by issuing warning (off by default) under opt'ed in flag -Winterface-block-ivar. // rdar://10763173 llvm-svn: 156825
-
Sirish Pande authored
llvm-svn: 156824
-
Nuno Lopes authored
minor simplification to code: Ty is already a SCEV type; don't need to run getEffectiveSCEVType() twice llvm-svn: 156823
-
Kostya Serebryany authored
llvm-svn: 156822
-
Rafael Espindola authored
* Don't copy the visibility attribute during instantiations. We have to be able to distinguish struct HIDDEN foo {}; template<class T> DEFAULT void bar() {} template DEFAULT void bar<foo>(); from struct HIDDEN foo {}; template<class T> DEFAULT void bar() {} template void bar<foo>(); * If an instantiation has an attribute, it takes precedence over an attribute in the template. * With instantiation attributes handled with the above logic, we can now select the minimum visibility when looking at template arguments. llvm-svn: 156821
-
David Chisnall authored
llvm-svn: 156820
-
David Chisnall authored
llvm-svn: 156819
-
Kostya Serebryany authored
llvm-svn: 156818
-
David Chisnall authored
llvm-svn: 156817
-
Kostya Serebryany authored
llvm-svn: 156816
-
David Majnemer authored
llvm-svn: 156815
-
Manuel Klimek authored
llvm-svn: 156814
-
Gabor Greif authored
llvm-svn: 156813
-
Bill Wendling authored
llvm-svn: 156812
-
Stepan Dyatkovskiy authored
llvm-svn: 156810
-
Manuel Klimek authored
instead of liblibclang.so/liblibclang.a. Patch by Arnaud de Grandmaison. llvm-svn: 156809
-
Stepan Dyatkovskiy authored
llvm-svn: 156808
-
Richard Smith authored
the sole parameter name in the diagnostic in more cases. Patch by Terry Long! llvm-svn: 156807
-
Richard Smith authored
pseudo-destructor expression. This can affect whether virtual dispatch for the destructor call is bypassed. llvm-svn: 156806
-
Richard Smith authored
llvm-svn: 156805
-
Stepan Dyatkovskiy authored
SelectionDAGBuilder::Clusterify : main functinality was replaced with CRSBuilder::optimize, so big part of Clusterify's code was reduced. llvm-svn: 156804
-
Richard Smith authored
PR12826: Converting an lvalue to an xvalue is a no-op conversion, not an lvalue-to-rvalue conversion. llvm-svn: 156803
-
Richard Smith authored
into one. These were all performing almost identical checks, with different bugs in each of them. This fixes PR12806 (we weren't setting the exception specification for an explicitly-defaulted, non-user-provided default constructor) and enforces 8.4.2/2's rule that an in-class defaulted member must exactly match the implicit parameter type. llvm-svn: 156802
-
Akira Hatanaka authored
resolved. llvm-svn: 156801
-
Greg Clayton authored
llvm-svn: 156797
-
rdar://problem/11451919Greg Clayton authored
Fixed the test suite not working on i386 due to recent default arch detection changes. llvm-svn: 156796
-
rdar://problem/11240464Greg Clayton authored
Correctly unique a class' methods when we detect that a class has been uniqued to another. llvm-svn: 156795
-
John McCall authored
it is placed in a position which is never ambiguous with a reference-to-function type. This follows some recent discussion and ensuing proposal on cxx-abi-dev. It is not necessary to change the mangling of CV-qualifiers because you cannot apply CV-qualification in the normal sense to a function type. It is not necessary to change the mangling of ref-qualifiers on method declarations because they appear in an unambiguous location. In addition, mangle CV-qualifiers and ref-qualifiers on function types when they occur in positions other than member pointers (that is, when they appear as template arguments). This is a minor ABI break with previous releases of clang. It is not considered critical because (1) ref-qualifiers are relatively rare, since AFAIK we're the only implementing compiler, and (2) they're particularly likely to come up in contexts that do not rely on the ODR for correctness. We apologize for any inconvenience; this is the right thing to do. llvm-svn: 156794
-
Enrico Granata authored
Fixing a bug where the summary for certain NSStrings was being returned as empty in spite of the string actually having a content llvm-svn: 156793
-
Jakob Stoklund Olesen authored
Besides the weight, we also want to store up to two root registers per unit. Most units will have a single root, the leaf register they represent. Units created for ad hoc aliasing get two roots: The two aliasing registers. The root registers can be used to compute the set of overlapping registers. llvm-svn: 156792
-
Bill Wendling authored
llvm-svn: 156791
-
Akira Hatanaka authored
The purpose of this option is to silence error messages issued by machine verifier passes and enable them to run to the end. If this option is not provided, -verify-machineinstrs complains when it discovers there is a non-terminator instruction (an instruction that is in a delay slot) after the first terminator in a basic block. llvm-svn: 156790
-
Argyrios Kyrtzidis authored
the receiver in parentheses when necessary. Part of rdar://11438360 llvm-svn: 156789
-
Fariborz Jahanian authored
// rdar://11356439 llvm-svn: 156788
-
Michael J. Spencer authored
llvm-svn: 156787
-
Richard Smith authored
permitted as a Microsoft extension. Patch by William Wilson! (Plus some minor tweaking by me.) llvm-svn: 156786
-
Michael J. Spencer authored
llvm-svn: 156785
-
Anna Zaks authored
We should investigate why signature info is not set in this case. llvm-svn: 156784
-