- Aug 23, 2010
-
-
Devang Patel authored
llvm-svn: 111821
-
Douglas Gregor authored
declarator. Here, we can only see a few things (e.g., cvr-qualifiers, nested name specifiers) and we do not want to provide other non-macro completions. Previously, we would end up in recovery mode and would provide a large number of non-relevant completions. llvm-svn: 111818
-
Douglas Gregor authored
the ternary operator without a left-hand side in C++ (PR7726), from Jean-Daniel Dupas! llvm-svn: 111809
-
Douglas Gregor authored
llvm-svn: 111808
-
Douglas Gregor authored
removes the copy. Patch from Eelis van der Weegen, tweaked/updated by me. llvm-svn: 111807
-
Douglas Gregor authored
llvm-svn: 111806
-
Chandler Carruth authored
methods. llvm-svn: 111804
-
Chandler Carruth authored
constructors. We perform semantic checking when creating the definition, and this isn't needed in certain contexts (value initialization) but is in others (default initialization). This fixes PR7948. We add explicit code to the default initialization path to ensure the definition is both present and valid. Doug, please review. I think this follows your latest suggestion, and it ended up remarkably cleaner than I anticipated. Also let me know if similar logic should be followed for destructors and copy-constructors. llvm-svn: 111802
-
John McCall authored
through the parser. llvm-svn: 111800
-
Argyrios Kyrtzidis authored
In Sema::AddBuiltinOperatorCandidates, candidate pointer types set can also contain a ObjCObjectPointerType since r111699. Don't assume that they are only PointerTypes or we will crash. llvm-svn: 111798
-
John McCall authored
llvm-svn: 111797
-
John McCall authored
llvm-svn: 111796
-
John McCall authored
llvm-svn: 111795
-
rdar://8340348Chris Lattner authored
That revision started classifying truly empty structs like "Y" and "X" as being NoClass/NoClass and turning them into 'ignore'. The call code turns around and allocates space for the ignored argument with GetUndefRValue. The bug is that GetUndefRValue would return the address as undef, instead of returning an object with a defined address but undefined contents. llvm-svn: 111794
-
Zhongxing Xu authored
llvm-svn: 111790
-
John McCall authored
class; they should just be completely opaque throughout IR gen now, although I haven't really audited that. Fix a bug apparently inherited from gcc-4.2 where we failed to null-check member data pointers when performing derived-to-base or base-to-derived conversions on them. llvm-svn: 111789
-
John McCall authored
operator new[]. llvm-svn: 111788
-
- Aug 22, 2010
-
-
John McCall authored
Make CGT defer to the ABI on all member pointer types. This requires giving CGT a handle to the ABI. It's way easier to make that work if we avoid lazily creating the ABI. Make it so. llvm-svn: 111786
-
Nick Lewycky authored
far, this just #include's immintrin.h for compatibility. llvm-svn: 111785
-
Douglas Gregor authored
llvm-svn: 111783
-
Douglas Gregor authored
llvm-svn: 111782
-
Douglas Gregor authored
instantiating CXXConstructExpr expressions. llvm-svn: 111780
-
Douglas Gregor authored
implicitly-defined default constructor, zero-initialize the memory before calling the default constructor. Previously, we would only zero-initialize in the case of a trivial default constructor. Also, simplify the hideous logic that determines when we have a trivial default constructor and, therefore, don't need to emit any call at all. llvm-svn: 111779
-
John McCall authored
llvm-svn: 111777
-
John McCall authored
pointers. I find the resulting code to be substantially cleaner, and it makes it very easy to use the same APIs for data member pointers (which I have conscientiously avoided here), and it avoids a plethora of potential inefficiencies due to excessive memory copying, but we'll have to see if it actually works. llvm-svn: 111776
-
John McCall authored
the ABI code. Implement correct semantics for these on ARM. I believe this completes the implementation of member function pointers on ARM. I think I'm going to switch member function pointers over to be non-aggregates while I have all this in mind. llvm-svn: 111774
-
Chandler Carruth authored
are handled. llvm-svn: 111773
-
John McCall authored
duplication between the constant and non-constant paths in all of this. Implement ARM ABI semantics for member pointer constants and conversion. llvm-svn: 111772
-
John McCall authored
llvm-svn: 111771
-
John McCall authored
Pretty much everything having to do with member pointers is ABI-specific. llvm-svn: 111770
-
Eli Friedman authored
llvm-svn: 111768
-
John McCall authored
llvm-svn: 111766
-
John McCall authored
No functionality change. llvm-svn: 111752
-
John McCall authored
it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749
-
- Aug 21, 2010
-
-
Michael J. Spencer authored
llvm-svn: 111748
-
Fariborz Jahanian authored
Build qualified version of ObjC pointers (not pointers) when doing overload resolution. llvm-svn: 111740
-
Benjamin Kramer authored
llvm-svn: 111738
-
Zhongxing Xu authored
llvm-svn: 111737
-
Zhongxing Xu authored
llvm-svn: 111736
-
Zhongxing Xu authored
llvm-svn: 111735
-