- Apr 15, 2011
-
-
Richard Smith authored
Apply NAKAMURA Takumi's workaround to fix thses tests on -Asserts build. The labels there are numbered, not named, and numbered labels are formatted differently. llvm-svn: 129562
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129559
-
Richard Smith authored
llvm-svn: 129541
-
- Apr 12, 2011
-
-
John McCall authored
weak linkage. Also, fix a problem where global weak variables with non-trivial initializers were getting guard variables, or at least were checking for them and then crashing. llvm-svn: 129342
-
John McCall authored
llvm-svn: 129341
-
John McCall authored
llvm-svn: 129337
-
John McCall authored
llvm-svn: 129336
-
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
CodeGenFunction::EmitDynamicCast always return null or throw a bad_cast exception. llvm-svn: 129264
-
Anders Carlsson authored
Remove the CodeGenCXX/dyncast.cpp test; it isn't really super useful to match on huge chunks of LLVM output. llvm-svn: 129258
-
- Apr 10, 2011
-
-
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
-
John McCall authored
for them. The only major missing feature is references. llvm-svn: 129234
-
- Apr 09, 2011
-
-
Eli Friedman authored
check is triggered appropriately. Reported on cfe-dev. llvm-svn: 129231
-
- Apr 06, 2011
-
-
Devang Patel authored
llvm-svn: 128966
-
Devang Patel authored
llvm-svn: 128948
-
- Apr 05, 2011
-
-
Devang Patel authored
llvm-svn: 128855
-
- Apr 01, 2011
-
-
Devang Patel authored
llvm-svn: 128725
-
- Mar 31, 2011
-
-
John McCall authored
__block object copy/dispose helpers for C++ objects with those for different variables with completely different semantics simply because they happen to both be no more aligned than a pointer. Found by inspection. Also, internalize most of the helper generation logic within CGBlocks.cpp, and refactor it to fit my peculiar aesthetic sense. llvm-svn: 128618
-
- Mar 27, 2011
-
-
John McCall authored
Emit them instead with the linkage of the VTT. I'm actually really ambivalent about this; it's what GCC does, but outside of improving code size (if the linkage is coalescing), I'm not sure it's at all relevant. Construction vtables are naturally referenced only by the VTT, which is itself only referenced by complete-object constructors and destructors; giving the construction vtables possibly-external linkage is important if you have an optimization that drills through the VTT to a reference to a particular construction vtable which it cannot just emit itself. llvm-svn: 128374
-
- Mar 22, 2011
-
-
John McCall authored
a function template decl's pattern, which was suddenly exposed by my last patch. llvm-svn: 128073
-
John McCall authored
they don't collide with file-scope extern functions from the same translation unit. This is basically a matter of applying the same logic to FunctionDecls as we were previously applying to VarDecls. llvm-svn: 128072
-
Matt Beaumont-Gay authored
llvm-svn: 128043
-
- Mar 18, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 127869
-
John McCall authored
Issue this as an IR-gen error; it's not really worthwhile doing this "right", i.e. in Sema, because IR gen knows a lot of tricks beyond what the constant evaluator knows. llvm-svn: 127854
-
- Mar 16, 2011
-
-
Eli Friedman authored
llvm-svn: 127768
-
- Mar 15, 2011
-
-
John McCall authored
make sure that upcasts of member pointer types are covered as constants. Fixed rdar://problem/9130221 llvm-svn: 127702
-
- Mar 07, 2011
-
-
John McCall authored
trivial to check this. Adjust for style. llvm-svn: 127151
-
John McCall authored
allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. llvm-svn: 127147
-
- Mar 06, 2011
-
-
Anders Carlsson authored
llvm-svn: 127121
-
- Mar 05, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 127077
-
NAKAMURA Takumi authored
llvm-svn: 127076
-
- Mar 04, 2011
-
-
John McCall authored
computing for a nested decl with explicit visibility. This is all part of the general philosophy of explicit visibility attributes, where any information that was obviously available at the attribute site should probably be ignored. Fixes PR9371. llvm-svn: 126992
-
- Feb 28, 2011
-
-
Anders Carlsson authored
llvm-svn: 126599
-
- Feb 26, 2011
-
-
John McCall authored
loading references as part of that. Use 'char' TBAA when accessing (immediate!) fields of a may_alias struct; fixes PR9307. llvm-svn: 126540
-
- Feb 25, 2011
-
-
John McCall authored
necessarily enclose the innermost normal cleanup depth, because the top of the jump scope stack might be an EH cleanup or EH scope. Fixes PR9303. llvm-svn: 126472
-
- Feb 22, 2011
-
-
Devang Patel authored
llvm-svn: 126246
-
- Feb 21, 2011
-
-
Richard Smith authored
llvm-svn: 126140
-