Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some cleanup and refactoring of rewriter. | Fariborz Jahanian | 2009-12-23 | 1 | -4/+26 |
| | | | | llvm-svn: 92049 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -1/+1 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92048 | ||||
* | Tidy up ~ASTContext a bit by turning orphan compound statements into | Ted Kremenek | 2009-12-23 | 1 | -25/+24 |
| | | | | | | | | for loops. Also do not manually free the Type objects when the 'FreeMemory' flag is set, as they will be deallocated when the BumpPtrAllocator is destroyed. llvm-svn: 92047 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -7/+8 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92046 | ||||
* | Diagnose the use of incomplete types in C++ typeid expressions | Douglas Gregor | 2009-12-23 | 4 | -6/+30 |
| | | | | llvm-svn: 92045 | ||||
* | Rename test file. | Ted Kremenek | 2009-12-23 | 1 | -0/+0 |
| | | | | llvm-svn: 92044 | ||||
* | Change test case to use 'clang -cc1' (without --disable-free) instead of ↵ | Ted Kremenek | 2009-12-23 | 1 | -5/+6 |
| | | | | | | c-index-test (whose memory management behavior may change in the future). llvm-svn: 92043 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -7/+7 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92042 | ||||
* | Remove cv-qualifiers from the argument to typeid | Douglas Gregor | 2009-12-23 | 2 | -15/+37 |
| | | | | llvm-svn: 92041 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -7/+7 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92040 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -1/+2 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92039 | ||||
* | This patch concludes rewriteing of __block variables to allow | Fariborz Jahanian | 2009-12-23 | 1 | -2/+10 |
| | | | | | | a small test case using Block_copy(...) API to pass. llvm-svn: 92038 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -5/+5 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92037 | ||||
* | Remove an XFAIL. | Daniel Dunbar | 2009-12-23 | 1 | -1/+0 |
| | | | | llvm-svn: 92036 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -5/+5 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92035 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -2/+3 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92034 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -56/+56 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92033 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -32/+33 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92032 | ||||
* | Mangle template template parameters. Fixes PR5861. | Anders Carlsson | 2009-12-23 | 2 | -9/+28 |
| | | | | llvm-svn: 92030 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -3/+4 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92029 | ||||
* | Removed a FIXME comment. | Fariborz Jahanian | 2009-12-23 | 1 | -3/+2 |
| | | | | llvm-svn: 92028 | ||||
* | More rewriting of __block variables. | Fariborz Jahanian | 2009-12-23 | 1 | -4/+18 |
| | | | | llvm-svn: 92027 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -22/+23 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92026 | ||||
* | fix the microsoft "charify" extension to return the charified token | Chris Lattner | 2009-12-23 | 2 | -1/+7 |
| | | | | | | | as a character literal, not a string literal. This might fix rdar://7486575 llvm-svn: 92025 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -16/+17 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92024 | ||||
* | Alternative fix to make sure that the extern declarations used by | Douglas Gregor | 2009-12-23 | 1 | -23/+29 |
| | | | | | | | DynamicLibrary::SearchForAddressOfSymbol refer to declarations in the global namespace. llvm-svn: 92023 | ||||
* | update comments | Chris Lattner | 2009-12-23 | 1 | -3/+3 |
| | | | | llvm-svn: 92022 | ||||
* | Revert 92020 until I figure out a more portable fix | Douglas Gregor | 2009-12-23 | 2 | -47/+28 |
| | | | | llvm-svn: 92021 | ||||
* | Move the extern symbol declarations outside of | Douglas Gregor | 2009-12-23 | 2 | -28/+47 |
| | | | | | | | | | | | | | DynamicLibrary::SearchForAddressOfSymbol and force them to have "C" linkage. Interestingly, GCC treats the block-scoped "extern" declarations we previously had as if they were extern "C" declarations (or, at least, were in the global namespace), so that GCC bug papered over this LLVM bug. Clang and EDG get the linkage correct; this new variant seems to work for both GCC and Clang. llvm-svn: 92020 | ||||
* | switch -Werror/-Wfatal-errors error conditions to use diagnostics instead | Chris Lattner | 2009-12-23 | 3 | -10/+10 |
| | | | | | | of printf, patch by Christian Adaker! llvm-svn: 92019 | ||||
* | Fix the overflow calculation in Sema::CheckTemplateArgument to be a bit more | Eli Friedman | 2009-12-23 | 2 | -2/+19 |
| | | | | | | accurate. llvm-svn: 92018 | ||||
* | Fix another -Wmismatched-tags warning | Douglas Gregor | 2009-12-23 | 1 | -1/+1 |
| | | | | llvm-svn: 92017 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -1/+1 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92016 | ||||
* | When using a default function argument for a function template (or | Douglas Gregor | 2009-12-23 | 4 | -13/+91 |
| | | | | | | | | | | | | | | | | | member function thereof), perform the template instantiation each time the default argument is needed. This ensures that (1) We get different CXXTemporary objects for each instantiation, and (2) Any other instantiations or definitions triggered by the instantiation of the default argument expression are guaranteed to happen; previously, they might have been suppressed, e.g., because they happened in an unevaluated context. This fixes the majority of PR5810. However, it does not address the problem where we may have multiple uses of the same CXXTemporary within an expression when the temporary came from a non-instantiated default argument expression. llvm-svn: 92015 | ||||
* | Remove RewriteBlocks. It has been superseded by RewriteObjC | Kovarththanan Rajaratnam | 2009-12-23 | 10 | -1215/+0 |
| | | | | llvm-svn: 92014 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -15/+15 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92013 | ||||
* | move a few more symbols to .rodata/.data.rel.ro | Nuno Lopes | 2009-12-23 | 5 | -5/+5 |
| | | | | llvm-svn: 92012 | ||||
* | move a few more symbols to .rodata | Nuno Lopes | 2009-12-23 | 2 | -2/+2 |
| | | | | llvm-svn: 92011 | ||||
* | Don't commit my silly little local changes | Douglas Gregor | 2009-12-23 | 2 | -3/+1 |
| | | | | llvm-svn: 92010 | ||||
* | Don't disable smart pointers, silly | Douglas Gregor | 2009-12-23 | 1 | -1/+1 |
| | | | | llvm-svn: 92009 | ||||
* | Fix DISABLE_SMART_POINTERS build | Douglas Gregor | 2009-12-23 | 4 | -7/+10 |
| | | | | llvm-svn: 92008 | ||||
* | Add support for handling initializers in RewriteObjC::RewriteByRefVar(). | Steve Naroff | 2009-12-23 | 1 | -5/+16 |
| | | | | | | As the FIXME indicates, RewriteByRefVar() won't work for multiple declarators (in general). I've discussed this with Fariborz and he is aware of the limitation. llvm-svn: 92007 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -1/+2 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92006 | ||||
* | Convert debug messages to use dbgs(). Generally this means | David Greene | 2009-12-23 | 1 | -2/+2 |
| | | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92005 | ||||
* | Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang | Douglas Gregor | 2009-12-23 | 2 | -4/+2 |
| | | | | llvm-svn: 92004 | ||||
* | De-bork CMake build | Douglas Gregor | 2009-12-23 | 1 | -0/+1 |
| | | | | llvm-svn: 92003 | ||||
* | Provide dbgs(), a circular-buffering debug output stream. By default it | David Greene | 2009-12-23 | 2 | -4/+73 |
| | | | | | | | | simply passes output to errs(). If -debug-buffer-size=N is set N > 0, dbgs() buffers its output until program termination and dumps the last N characters sent to it. This is handy when debugging very large inputs. llvm-svn: 92002 | ||||
* | Add circular_raw_ostream, which buffers its output in a circular queue | David Greene | 2009-12-23 | 2 | -0/+218 |
| | | | | | | | | and outputs it when explicitly flushed. The intent is to use it in situations such as debug output logging where a signal handler can take care of flushing the buffer at program termination. llvm-svn: 92001 | ||||
* | Make it easier to regenerate docs when srcdir != objdir. | Mikhail Glushenkov | 2009-12-23 | 1 | -0/+6 |
| | | | | llvm-svn: 92000 | ||||
* | Regenerate. | Mikhail Glushenkov | 2009-12-23 | 1 | -6/+8 |
| | | | | llvm-svn: 91999 |