- Dec 01, 2012
-
-
Douglas Gregor authored
scope when dealing with nested blocks. Fixes <rdar://problem/12778708>. llvm-svn: 169065
-
- Nov 29, 2012
-
-
Eli Bendersky authored
Note: the ":" goes into the regex because FileCheck wrongly complains about unbalanced brackets otherwise. llvm-svn: 168934
-
Timur Iskhodzhanov authored
llvm-svn: 168862
-
- Nov 28, 2012
-
-
Richard Smith authored
decayed to a pointer type. Patch by WenHan Gu, with a little tweaking and additional testcases by me. llvm-svn: 168822
-
- Nov 27, 2012
-
-
Will Dietz authored
Introduces new sanitizer "unsigned-integer-overflow". llvm-svn: 168701
-
Timur Iskhodzhanov authored
llvm-svn: 168698
-
- Nov 26, 2012
-
-
Timur Iskhodzhanov authored
llvm-svn: 168583
-
- Nov 14, 2012
-
-
Richard Smith authored
non-trivial if they would not call a move operation, even if they would in fact call a trivial copy operation. A proper fix is to follow, but this small directed fix is intended for porting to the 3.2 release branch. llvm-svn: 167920
-
David Blaikie authored
This corrects the mangling and linkage of classes (& their member functions) in cases like this: struct foo { struct { void func() { ... } } x; }; we were accidentally giving this nested unnamed struct 'no' linkage where it should've had the linkage of the outer class. The mangling was incorrecty too, mangling as TU-wide unnamed type mangling of $_X rather than class-scoped mangling of UtX_. This also fixes -Wunused-member-function which would incorrectly diagnose 'func' as unused due to it having no linkage & thus appearing to be TU-local when in fact it might be correctly used in another TU. Similar mangling should be applied to function local classes in similar cases but I've deferred that for a subsequent patch. Review/discussion by Richard Smith, John McCall, & especially Eli Friedman. llvm-svn: 167906
-
Richard Smith authored
test was whether the /selected/ operator= was trivial, not whether the class had any trivial (or any non-trivial) operator=s. llvm-svn: 167897
-
Eric Christopher authored
temporarily since it breaks the gdb bots. This reverts commit r167807/30305bec25cac981c6d4a3b8be004401310a82a7. llvm-svn: 167887
-
- Nov 13, 2012
-
-
Bill Wendling authored
If we have a type 'int a[1]' and a type 'int b[0]', the generated DWARF is the same for both of them because we use the 'upper_bound' attribute. Instead use the 'count' attrbute, which gives the correct number of elements in the array. <rdar://problem/12566646> llvm-svn: 167807
-
Richard Smith authored
- In C++11, perform overload resolution over all assignment operators, rather than just looking for copy/move assignment operators. - Clean up after temporaries produced by operator= immediately, rather than accumulating them until the end of the function. llvm-svn: 167798
-
- Nov 12, 2012
-
-
Rafael Espindola authored
llvm-svn: 167767
-
Richard Smith authored
internal linkage, no uses, trivial construction, and nontrivial destruction were not emitted. llvm-svn: 167756
-
- Nov 09, 2012
-
-
Nico Weber authored
Do this by making the mangleNumber(APSInt) overload look like the int64_t version. (The latter should probably just delegate to the former). Test from Evgeny Eltsin! llvm-svn: 167599
-
- Nov 08, 2012
-
-
Richard Smith authored
at whether the *selected* constructor would be trivial rather than considering whether the array's element type has *any* non-trivial constructors of the relevant kind. llvm-svn: 167562
-
- Nov 06, 2012
-
-
Anton Korobeynikov authored
works between the modules. No functionality change on Darwin/Windows. This fixes PR11480. llvm-svn: 167496
-
- Nov 05, 2012
-
-
Richard Smith authored
checks to enable. Remove frontend support for -fcatch-undefined-behavior, -faddress-sanitizer and -fthread-sanitizer now that they don't do anything. llvm-svn: 167413
-
- Nov 03, 2012
-
-
David Blaikie authored
llvm-svn: 167336
-
- Nov 02, 2012
-
-
David Blaikie authored
llvm-svn: 167308
-
- Oct 31, 2012
-
-
Bill Schmidt authored
test/CodeGenCXX/member-alignment.cpp. The test succeeds for powerpc64-unknown-linux-gnu. If other flavors of powerpc are shown by buildbots to still be broken, we can adjust the test at that time. llvm-svn: 167143
-
- Oct 27, 2012
-
-
Douglas Gregor authored
doesn't include padding up to the alignment of the record, take this as a cue that the alignment of the record should (conservatively) be set to 1. This is similar to other the other cues we use to determine that the record has a lower alignment, e.g., that the externally-supplied layout places fields at lower offsets than we would. Fixes <rdar://problem/12582052>; test case in LLDB. llvm-svn: 166824
-
- Oct 26, 2012
-
-
Alexey Samsonov authored
llvm-svn: 166758
-
Richard Smith authored
llvm-svn: 166735
-
Richard Smith authored
LLVM's hashing routines produce a size_t, and thus generate different values for 32- and 64-bit host compilers. This really needs to be fixed -- the IR generated should not depend on the host -- but this change will get the bots green again. Proper fix to follow. llvm-svn: 166731
-
- Oct 25, 2012
-
-
Richard Smith authored
llvm-svn: 166727
-
NAKAMURA Takumi authored
clang/test/CodeGenCXX/debug-info-thunk.cpp: Suppress it for now with XFAIL:*, due to failing on i686-*-*. llvm-svn: 166683
-
David Tweed authored
Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions). llvm-svn: 166681
-
Alexey Samsonov authored
Initialize debug info for special cases of functions that lack declarations and are generated by Clang (global initializers/destructors, thunks) . Fixes PR13942. llvm-svn: 166676
-
Eli Friedman authored
Reported in the thread "devirtualisation appears to crash clang on covariant functions on ARM" on cfe-dev. llvm-svn: 166651
-
- Oct 24, 2012
-
-
Ulrich Weigand authored
will be represented in the IR as a plain "i32" type. This causes the tests to spuriously fail on platforms where int is not a 32-bit type, or where the ABI requires attributes like "signext" or "zeroext" to be used. This patch adds -triple or -target parameters to force those tests to use the i386-unknown-unknown target. llvm-svn: 166551
-
Rafael Espindola authored
llvm-svn: 166537
-
- Oct 23, 2012
-
-
Rafael Espindola authored
regression. llvm-svn: 166461
-
- Oct 20, 2012
-
-
Richard Smith authored
initialized by a reference constant expression. Our odr-use modeling still needs work here: we don't yet implement the 'set of potential results of an expression' DR. llvm-svn: 166361
-
- Oct 19, 2012
-
-
Andy Gibbs authored
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
-
Richard Smith authored
const non-volatile global does. llvm-svn: 166269
-
Rafael Espindola authored
constructors. When I first moved regparm support to TargetInfo.cpp I tried to isolate it in classifyArgumentTypeWithReg, but it is actually a lot easier to flip the code around and check for regparm at the end of the decision tree. Without this refactoring classifyArgumentTypeWithReg would have to duplicate the logic about when to use non-byval indirect arguments. llvm-svn: 166266
-
- Oct 18, 2012
-
-
Eric Christopher authored
are no known current users of column info. Robustify and fix up a few tests in the process. Reduces the size of debug information by a small amount. Part of PR14106 llvm-svn: 166236
-
Richard Smith authored
namespace. llvm-svn: 166194
-