- Aug 23, 2010
-
-
Benjamin Kramer authored
- Respect find_first_of(char's From parameter instead of silently dropping it. - Prefer std::string() to std::string("") llvm-svn: 111814
-
Chris Lattner authored
llvm-svn: 111813
-
Johnny Chen authored
thread name but the static map instance had already been destructed. rdar://problem/8153284 llvm-svn: 111812
-
Johnny Chen authored
which, defaults to False, and if set to True, will trace lldb command execution and result. Added "-t" command option to the test driver dotest.py which sets the LLDB_COMMAND_TRACE environment variable to "YES" and as a result always turns on command tracing regardless of the 'trace' keyword argument to runCmd()/expect(). llvm-svn: 111811
-
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
I have no idea how lit did the right thing here, but other test runners don't. llvm-svn: 111805
-
Chandler Carruth authored
methods. llvm-svn: 111804
-
Chandler Carruth authored
hierarchy with virtual methods and using llvm_unreachable to properly indicate unreachable states which would otherwise leave variables uninitialized. llvm-svn: 111803
-
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
-
Anton Korobeynikov authored
it's COFF emitter which does not support differences of two symbols (and needs to be fixed). GAS is pretty fine with code produced. llvm-svn: 111801
-
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
-
Michael J. Spencer authored
llvm-svn: 111793
-
Michael J. Spencer authored
llvm-svn: 111792
-
Chris Lattner authored
llvm-svn: 111791
-
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
-
Nick Lewycky authored
llvm-svn: 111787
-
- 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
-
Howard Hinnant authored
llvm-svn: 111778
-
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
-