- May 29, 2013
-
-
Reid Kleckner authored
Peter pointed out that C::f() is not a key function. C's key function is actually C::~C(). llvm-svn: 182866
-
Reid Kleckner authored
MSVC's class data is always comdat, so clang's should always be linkonce_odr in LLVM IR. Reviewers: pcc Differential Revision: http://llvm-reviews.chandlerc.com/D838 llvm-svn: 182865
-
Edwin Vane authored
newFrontendActionFactory() took a pointer to a callback to call when a source file was done being processed by an action. This revision updates the callback to include an ante-processing callback as well. Callback-providing class renamed and callback functions themselves renamed. Functions are no longer pure-virtual so users aren't forced to implement both callbacks if one isn't needed. llvm-svn: 182864
-
JF Bastien authored
Tidy up three places where the register class for ARM and Thumb wasn't restrictive enough: - No PC dest for reg-reg add/orr/sub. - No PC dest for shifts. - No PC or SP for Thumb2 reg-imm add. I encountered this while combining FastISel with -verify-machineinstrs. These instructions defined registers whose classes weren't restrictive enough, and the uses failed verification. They're also undefined in the ISA, or would produce code that FastISel wouldn't want. This doesn't fix the register class narrowing issue (where uses should restrict definitions), and isn't thorough, but it's a small step in the right direction. llvm-svn: 182863
-
Sergey Matveev authored
llvm-svn: 182862
-
Manuel Klimek authored
Now that the TokenAnnotator does not require stack space anymore, reconstructing the lines has become the limiting factor. This patch fixes that problem, allowing large files with multiple megabytes of single unwrapped lines to be formatted. llvm-svn: 182861
-
Ashok Thirumurthi authored
- The original test now passes on Linux with clang because a breakpoint is hit prior to evaluation of text_list, which improves text coverage. - The new test fails because 4 steps are requested, and only two occur prior to evaluation of text_list. --- Note that the loss of every second "next" command can be reproduced using lldb manually with this script. llvm-svn: 182860
-
Manuel Klimek authored
Gets rid of AnnotatedToken, putting everything into FormatToken. FormatTokens are created once, and only referenced by pointer. This enables multiple future features, like having tokens shared between multiple UnwrappedLines (while there's still work to do to fully enable that). llvm-svn: 182859
-
Sergey Matveev authored
llvm-svn: 182858
-
Timur Iskhodzhanov authored
llvm-svn: 182857
-
Daniel Jasper authored
llvm-svn: 182856
-
Daniel Jasper authored
If an identifier is on its own line and it is all upper case, it is highly likely that this is a macro that is meant to stand on a line by itself. Before: class A : public QObject { Q_OBJECT A() {} }; Ater: class A : public QObject { Q_OBJECT A() {} }; llvm-svn: 182855
-
Sergey Matveev authored
This CL enables thread support in LSan when used on top of ASan. llvm-svn: 182854
-
Sergey Matveev authored
Instead of using arch_prctl(ARCH_GET_FS), read the address from the tread descriptor itself. This lets us avoid sandboxing issues. Also, GetThreadStackAndTls() can now be implemented on i386. llvm-svn: 182853
-
Evgeniy Stepanov authored
llvm-svn: 182852
-
Peter Collingbourne authored
Fixes the Go build. Differential Revision: http://llvm-reviews.chandlerc.com/D877 llvm-svn: 182851
-
NAKAMURA Takumi authored
llvm-svn: 182850
-
Daniel Jasper authored
With option enabled (e.g. in Google-style): template <typename T> void f() {} With option disabled: template <typename T> void f() {} Enabling this for Google-style and Chromium-style, not sure which other styles would prefer that. llvm-svn: 182849
-
Timur Iskhodzhanov authored
llvm-svn: 182848
-
Richard Sandiford authored
llvm-svn: 182847
-
Richard Sandiford authored
This patch adds support for the CIJ and CGIJ instructions. llvm-svn: 182846
-
Evgeniy Stepanov authored
llvm-svn: 182845
-
Evgeniy Stepanov authored
llvm-svn: 182844
-
Evgeniy Stepanov authored
llvm-svn: 182843
-
Dmitry Vyukov authored
llvm-svn: 182842
-
Peter Collingbourne authored
definitions from test. llvm-svn: 182841
-
Alexey Samsonov authored
[sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. llvm-svn: 182840
-
Sergey Matveev authored
llvm-svn: 182839
-
Evgeniy Stepanov authored
llvm-svn: 182838
-
Alexey Samsonov authored
llvm-svn: 182837
-
Alexey Samsonov authored
llvm-svn: 182836
-
Evgeniy Stepanov authored
llvm-svn: 182835
-
Benjamin Kramer authored
llvm-svn: 182834
-
Patrik Hagglund authored
llvm-svn: 182832
-
Evgeniy Stepanov authored
Patch by Greg Fitzgerald. llvm-svn: 182831
-
Rui Ueyama authored
The code to actually consume these flags will be added soon. llvm-svn: 182824
-
Rafael Espindola authored
This brings the number of linkage computations in "clang -cc1" in SemaExpr.ii from 58426 to 43134. With -emit-llvm the number goes from 161045 to 145461. llvm-svn: 182823
-
Venkatraman Govindaraju authored
llvm-svn: 182822
-
Jakob Stoklund Olesen authored
llvm-svn: 182821
-
NAKAMURA Takumi authored
llvm-svn: 182820
-