- Apr 12, 2011
-
-
John McCall authored
for __unknown_anytype resolution to destructively modify the AST. So that's what it does now, which significantly simplifies some of the implementation. Normal member calls work pretty cleanly now, and I added support for propagating unknown-ness through &. llvm-svn: 129331
-
- Apr 11, 2011
-
-
Anders Carlsson authored
If there's an invoke destination, we should use invoke instead of call when calling the __cxa_bad_typeid function. Fixes PR7400. llvm-svn: 129273
-
John McCall authored
llvm-svn: 129269
-
Anders Carlsson authored
llvm-svn: 129265
-
Anders Carlsson authored
CodeGenFunction::EmitDynamicCast always return null or throw a bad_cast exception. llvm-svn: 129264
-
Anders Carlsson authored
llvm-svn: 129262
-
Anders Carlsson authored
llvm-svn: 129261
-
- Apr 10, 2011
-
-
Anders Carlsson authored
represents a dynamic cast where we know that the result is always null. For example: struct A { virtual ~A(); }; struct B final : A { }; struct C { }; bool f(B* b) { return dynamic_cast<C*>(b); } llvm-svn: 129256
-
Anders Carlsson authored
Strip off parens and no-op casts when deciding if an expr can be devirtualized. Fixes the second half of PR9660. llvm-svn: 129253
-
Anders Carlsson authored
llvm-svn: 129252
-
Anders Carlsson authored
llvm-svn: 129250
-
Eli Friedman authored
While I'm here, FileCheck-ize the ext-vector test, so we actually check what it is generating. llvm-svn: 129241
-
- Apr 09, 2011
-
-
Eli Friedman authored
check is triggered appropriately. Reported on cfe-dev. llvm-svn: 129231
-
Eli Friedman authored
pageexec@freemail.hu, tweaks by me. llvm-svn: 129206
-
Chris Lattner authored
llvm-svn: 129202
-
Chris Lattner authored
Patch by Dave Zarzycki! llvm-svn: 129189
-
Ken Dyck authored
to eliminate a divide-by-8. No change in functionality intended. llvm-svn: 129180
-
Ken Dyck authored
the base offset. No change in functionality intended. llvm-svn: 129179
-
Nick Lewycky authored
llvm-svn: 129176
-
- Apr 08, 2011
-
-
Devang Patel authored
Do not use zero as an upper bound for unbounded array because upper bound zero also indicates one element array. llvm-svn: 129157
-
- Apr 07, 2011
-
-
Ken Dyck authored
Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 129072
-
John McCall authored
The idea is that you can create a VarDecl with an unknown type, or a FunctionDecl with an unknown return type, and it will still be valid to access that object as long as you explicitly cast it at every use. I'm still going back and forth about how I want to test this effectively, but I wanted to go ahead and provide a skeletal implementation for the LLDB folks' benefit and because it also improves some diagnostic goodness for placeholder expressions. llvm-svn: 129065
-
Ken Dyck authored
with debug info.] Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. No change in functionality intended. llvm-svn: 129048
-
Ken Dyck authored
info.] Use CharUnits for the offset type in the ClassNamesAndOffsets map in dumpLayout(). No change in functionality intended. llvm-svn: 129046
-
Ken Dyck authored
Use CharUnits for the offsets in the VBaseOffsetOffsetsMapTy types. No change in functionality intended. llvm-svn: 129043
-
- Apr 06, 2011
-
-
Fariborz Jahanian authored
pass a previously failing clang test. // rdar://8808439 llvm-svn: 129004
-
Peter Collingbourne authored
llvm-svn: 129000
-
Devang Patel authored
llvm-svn: 128957
-
Fariborz Jahanian authored
As a result, I had to remove a c++ version of a clang test which requires more scrutiny on my part. llvm-svn: 128950
-
Devang Patel authored
llvm-svn: 128948
-
- Apr 05, 2011
-
-
Fariborz Jahanian authored
targets) when load/store results in multiple instructions. // rdar://8808439 llvm-svn: 128937
-
Devang Patel authored
llvm-svn: 128928
-
Devang Patel authored
llvm-svn: 128921
-
Devang Patel authored
llvm-svn: 128915
-
Andrew Trick authored
developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128911
-
Andrew Trick authored
llvm-svn: 128908
-
Devang Patel authored
llvm-svn: 128893
-
David Chisnall authored
Does anyone want to buy me a new brain? llvm-svn: 128890
-
Sandeep Patel authored
llvm-svn: 128866
-
Devang Patel authored
llvm-svn: 128857
-