- Jun 13, 2013
-
-
Rui Ueyama authored
Because the test does not actually cover basic features. llvm-svn: 183870
-
- Jun 12, 2013
-
-
Richard Smith authored
CXXCtorInitializers to the point where we perform the questionable lifetime extension. This exposed a selection of false negatives in the warning. llvm-svn: 183869
-
Rafael Espindola authored
llvm-svn: 183868
-
Richard Trieu authored
properly. This warning checks that the #ifndef and #define directives at the beginning of a header refer to the same macro name. Includes a fix-it hint to correct the header guard. llvm-svn: 183867
-
Rafael Espindola authored
llvm-svn: 183866
-
Rafael Espindola authored
llvm-svn: 183865
-
Rafael Espindola authored
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details. llvm-svn: 183864
-
David Blaikie authored
Now that the PRED_BAD has been removed, this is failing the Clang -Werror build due to -Wcovered-switch-default. llvm-svn: 183863
-
Rafael Espindola authored
llvm-svn: 183862
-
Rafael Espindola authored
llvm-svn: 183861
-
Rafael Espindola authored
This is a temporary stepping stone for moving them out of Program. llvm-svn: 183860
-
Richard Smith authored
were lacking ExprWithCleanups nodes in some cases where the new approach to lifetime extension needed them). Original commit message: Rework IR emission for lifetime-extended temporaries. Instead of trying to walk into the expression and dig out a single lifetime-extended entity and manually pull its cleanup outside the expression, instead keep a list of the cleanups which we'll need to emit when we get to the end of the full-expression. Also emit those cleanups early, as EH-only cleanups, to cover the case that the full-expression does not terminate normally. This allows IR generation to properly model temporary lifetime when multiple temporaries are extended by the same declaration. We have a pre-existing bug where an exception thrown from a temporary's destructor does not clean up lifetime-extended temporaries created in the same expression and extended to automatic storage duration; that is not fixed by this patch. llvm-svn: 183859
-
Bill Schmidt authored
I'm taking David Blaikie's suggestion to use an Optional<PPC::Predicate> return value instead. That's the right solution for this problem. Thanks for pointing out that possibility! llvm-svn: 183858
-
Andy Gibbs authored
llvm-svn: 183857
-
Edwin Vane authored
Moving RewriteContainer's constructor impl to Transform.cpp to reduce clutter. More things will soon be added to this header. llvm-svn: 183856
-
Edwin Vane authored
Next step toward supporting migrating headers. Instead of using ClangTool's ability to override all files at once, use a custom FrontendAction and override only the source (and eventually headers) the action is about to parse. Use of newFrontendActionFactory() is replaced with a new factory maker provided by Transform. llvm-svn: 183855
-
Bill Schmidt authored
Introducing PRED_BAD caused some unexpected warnings that are now suppressed. llvm-svn: 183854
-
Rui Ueyama authored
llvm-svn: 183853
-
Rui Ueyama authored
These records are mandatory for executables and are used by the loader. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D939 llvm-svn: 183852
-
Alexander Kornienko authored
Summary: Basically, don't special-case line comments in this regard. And fixed an incorrect test, that relied on the wrong behavior. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D962 llvm-svn: 183851
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D961 llvm-svn: 183850
-
Benjamin Kramer authored
llvm-svn: 183849
-
Eli Friedman authored
llvm-svn: 183847
-
Daniel Malea authored
- clang emits incomplete DWARF information for structures referenced via typedef llvm-svn: 183846
-
Rafael Espindola authored
Should fix the dragonegg build bots. llvm-svn: 183845
-
Bill Schmidt authored
This is a preparatory patch for fast-isel support. The instruction selector will need to access some functions in PPCGenCallingConv.inc, which in turn requires several helper functions to be defined. These are currently defined near the only use of PCCGenCallingConv.inc, inside PPCISelLowering.cpp. This patch moves the declaration of the functions into the associated header file to provide the needed visibility. No functional change intended. llvm-svn: 183844
-
Rafael Espindola authored
llvm-svn: 183843
-
Rafael Espindola authored
No functionality change. llvm-svn: 183842
-
Bill Schmidt authored
Allows returning a PPC::Predicate from a function with a no-predicate value possible. Preparatory patch for fast-isel on PPC64 ELF. No behavioral change intended. llvm-svn: 183841
-
Rafael Espindola authored
llvm-svn: 183840
-
Rafael Espindola authored
llvm-svn: 183839
-
Rafael Espindola authored
llvm-svn: 183838
-
Aaron Ballman authored
llvm-svn: 183837
-
Rafael Espindola authored
llvm-svn: 183836
-
Rafael Espindola authored
llvm-svn: 183835
-
Ulrich Weigand authored
[MC/DWARF] Support .debug_frame / .debug_line code alignment factors I've been comparing the object file output of LLVM's integrated assembler against the external assembler on PowerPC, and one area where differences still remain are in DWARF sections. In particular, the GNU assembler generates .debug_frame and .debug_line sections using a code alignment factor of 4, since all PowerPC instructions have size 4 and must be aligned to a multiple of 4. However, current MC code hard-codes a code alignment factor of 1. This patch changes this by adding a "minimum instruction alignment" data element to MCAsmInfo and using this as code alignment factor. This requires passing a MCContext into MCDwarfLineAddr::Encode and MCDwarfLineAddr::EncodeAdvanceLoc. Note that one caller, MCDwarfLineAddr::Write, didn't actually have that information available. However, it turns out that this routine is in fact never used in the whole code base, so the patch simply removes it. If it turns out to be needed again at a later time, it could be re-added with an updated interface. llvm-svn: 183834
-
Rafael Espindola authored
llvm-svn: 183833
-
Ashok Thirumurthi authored
llvm-svn: 183832
-
Rafael Espindola authored
llvm-svn: 183831
-
Patrik Hagglund authored
`typeinfo for llvm::cl::GenericOptionValue'). Remove an "anchor" method for an abstract class. (This does not increase the number of vtables.) llvm-svn: 183830
-