- Jul 22, 2013
-
-
Samuel Benzaquen authored
Summary: Add support for overloaded matchers. This composes with other features, like supporting polymorphic matchers. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1188 llvm-svn: 186836
-
Marshall Clow authored
Make tuple's constructor and std::get<>(tuple) constexpr. Final stage of fixing bug #16599. Thanks to Howard for the review and updates. llvm-svn: 186834
-
NAKAMURA Takumi authored
warning: initializer for aggregate is not a compile-time constant [-Wc99-extensions] llvm-svn: 186833
-
Mihai Popa authored
instructions. With this patch: 1. ldr.n is recognized as mnemonic for the short encoding 2. ldr.w is recognized as menmonic for the long encoding 3. ldr will map to either short or long encodings depending on the size of the offset llvm-svn: 186831
-
Rafael Espindola authored
This matches gnu archive behavior and since archive member order can change which member is used, not changing the order on replacement looks like the right thing to do. This patch also refactors the logic for which archive member to keep and whether to move it to a helper function (computeInsertAction). The nesting in computeNewArchiveMembers was getting a bit confusing. llvm-svn: 186829
-
Reid Kleckner authored
Based on Peter Collingbourne's destructor patches. Prior to this change, clang was considering ?1 to be the complete destructor and the base destructor, which was wrong. This lead to crashes when clang tried to emit two LLVM functions with the same name. In this ABI, TUs with non-inline dtors might not emit a complete destructor. They are emitted as inline thunks in TUs that need them, and they always delegate to the base dtors of the complete class and its virtual bases. This change uses the DeferredDecls machinery to emit complete dtors as needed. Currently in clang try body destructors can catch exceptions thrown by virtual base destructors. In the Microsoft C++ ABI, clang may not have the destructor definition, in which case clang won't wrap the virtual virtual base destructor calls in a try-catch. Diagnosing this in user code is TODO. Finally, for classes that don't use virtual inheritance, MSVC always calls the base destructor (?1) directly. This is a useful code size optimization that avoids emitting lots of extra thunks or aliases. Implementing it also means our existing tests continue to pass, and is consistent with MSVC's output. We can do the same for Itanium by tweaking GetAddrOfCXXDestructor, but it will require further testing. Reviewers: rjmccall CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1066 llvm-svn: 186828
-
Reid Kleckner authored
Now we can save GD.getDecl() in D and shorten some casts. llvm-svn: 186826
-
Daniel Jasper authored
llvm-svn: 186825
-
Reid Kleckner authored
llvm-svn: 186824
-
Rafael Espindola authored
GNU ar when not given the a or b modifiers replaces archive members in the same location of the old ones. I am about to implement that in llvm-ar. For now, just don't depend on the current llvm-ar behavior on this test. llvm-svn: 186823
-
Ed Maste authored
llvm-svn: 186822
-
Sergey Matveev authored
Also move detect_leaks to common flags. llvm-svn: 186821
-
Justin Holewinski authored
.ftz to instructions if the nvptx-f32ftz attribute is set to "true" llvm-svn: 186820
-
Sergey Matveev authored
Direct leaks are higher priority, so it makes sense to have them on top. llvm-svn: 186819
-
Tim Northover authored
This reverts commit r186813, which broke the bots. llvm-svn: 186818
-
Enea Zaffanella authored
when initializing aggregate/union types, no matter if static or not. llvm-svn: 186817
-
Enea Zaffanella authored
No functionality change. In Sema helper functions: * renamed isTypeName as HasTypenameKeyword In UsingDecl: * renamed get/setUsingLocation to get/setUsingLoc * renamed is/setTypeName as has/setTypename llvm-svn: 186816
-
Craig Topper authored
llvm-svn: 186815
-
Craig Topper authored
llvm-svn: 186814
-
Craig Topper authored
llvm-svn: 186813
-
Craig Topper authored
llvm-svn: 186812
-
Craig Topper authored
llvm-svn: 186811
-
Tim Northover authored
After Ulrich's r180677 (thanks!) TableGen is intelligent enough to handle tied constraints involving complex operands properly, so virtually all of the ARM custom converters are now unnecessary. llvm-svn: 186810
-
Craig Topper authored
llvm-svn: 186809
-
Nadav Rotem authored
llvm-svn: 186808
-
Robert Wilhelm authored
llvm-svn: 186807
-
Tobias Grosser authored
llvm-svn: 186806
-
Tobias Grosser authored
Contributed-by:
Star Tan <tanmx_star@yeah.net> llvm-svn: 186805
-
Richard Smith authored
any default template arguments, not if it inherits some. llvm-svn: 186804
-
Richard Smith authored
A constructor for an abstract class does not call constructors for virtual base classes, so it is not an error if no initializer is present for the virtual base and the virtual base cannot be default initialized. Also provide a (disabled by default, for now) warning for the case where a virtual base class's initializer is ignored in an abstract class's constructor, and address a defect in DR257 where it was not carried through to C++11's rules for implicit deletion of special member functions. Based on a patch by Maurice Bos. llvm-svn: 186803
-
NAKAMURA Takumi authored
llvm-svn: 186802
-
Michael Gottesman authored
Added missing - in the header of PrologEpilogInserter.h so that editors properly realize it is a c++ header and not a c header. llvm-svn: 186801
-
Richard Smith authored
llvm-svn: 186800
-
Richard Smith authored
optimize, to follow the permissions granted in N3664. Under those rules, only calls generated by new-expressions and delete-expressions are permitted to be optimized, and direct calls to ::operator new and ::operator delete must be treated as normal calls. llvm-svn: 186799
-
Richard Smith authored
deallocation functions. llvm-svn: 186798
-
Craig Topper authored
llvm-svn: 186797
-
- Jul 21, 2013
-
-
Craig Topper authored
Replace 'unsigned short' with 'uint16_t' in a packed data structure for consistency with other fields and to be explicit about bit count. llvm-svn: 186796
-
Craig Topper authored
llvm-svn: 186795
-
Robert Wilhelm authored
llvm-svn: 186794
-
Lubos Lunak authored
llvm-svn: 186793
-