summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some cleanup and refactoring of rewriter.Fariborz Jahanian2009-12-231-4/+26
| | | | llvm-svn: 92049
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-1/+1
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92048
* Tidy up ~ASTContext a bit by turning orphan compound statements intoTed Kremenek2009-12-231-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 meansDavid Greene2009-12-231-7/+8
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92046
* Diagnose the use of incomplete types in C++ typeid expressionsDouglas Gregor2009-12-234-6/+30
| | | | llvm-svn: 92045
* Rename test file.Ted Kremenek2009-12-231-0/+0
| | | | llvm-svn: 92044
* Change test case to use 'clang -cc1' (without --disable-free) instead of ↵Ted Kremenek2009-12-231-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 meansDavid Greene2009-12-231-7/+7
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92042
* Remove cv-qualifiers from the argument to typeidDouglas Gregor2009-12-232-15/+37
| | | | llvm-svn: 92041
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-7/+7
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92040
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-1/+2
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92039
* This patch concludes rewriteing of __block variables to allowFariborz Jahanian2009-12-231-2/+10
| | | | | | a small test case using Block_copy(...) API to pass. llvm-svn: 92038
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-5/+5
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92037
* Remove an XFAIL.Daniel Dunbar2009-12-231-1/+0
| | | | llvm-svn: 92036
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-5/+5
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92035
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-2/+3
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92034
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-56/+56
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92033
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-32/+33
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92032
* Mangle template template parameters. Fixes PR5861.Anders Carlsson2009-12-232-9/+28
| | | | llvm-svn: 92030
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-3/+4
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92029
* Removed a FIXME comment.Fariborz Jahanian2009-12-231-3/+2
| | | | llvm-svn: 92028
* More rewriting of __block variables.Fariborz Jahanian2009-12-231-4/+18
| | | | llvm-svn: 92027
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-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 Lattner2009-12-232-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 meansDavid Greene2009-12-231-16/+17
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92024
* Alternative fix to make sure that the extern declarations used byDouglas Gregor2009-12-231-23/+29
| | | | | | | DynamicLibrary::SearchForAddressOfSymbol refer to declarations in the global namespace. llvm-svn: 92023
* update commentsChris Lattner2009-12-231-3/+3
| | | | llvm-svn: 92022
* Revert 92020 until I figure out a more portable fixDouglas Gregor2009-12-232-47/+28
| | | | llvm-svn: 92021
* Move the extern symbol declarations outside ofDouglas Gregor2009-12-232-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 insteadChris Lattner2009-12-233-10/+10
| | | | | | of printf, patch by Christian Adaker! llvm-svn: 92019
* Fix the overflow calculation in Sema::CheckTemplateArgument to be a bit moreEli Friedman2009-12-232-2/+19
| | | | | | accurate. llvm-svn: 92018
* Fix another -Wmismatched-tags warningDouglas Gregor2009-12-231-1/+1
| | | | llvm-svn: 92017
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-1/+1
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92016
* When using a default function argument for a function template (orDouglas Gregor2009-12-234-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 RewriteObjCKovarththanan Rajaratnam2009-12-2310-1215/+0
| | | | llvm-svn: 92014
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-15/+15
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92013
* move a few more symbols to .rodata/.data.rel.roNuno Lopes2009-12-235-5/+5
| | | | llvm-svn: 92012
* move a few more symbols to .rodataNuno Lopes2009-12-232-2/+2
| | | | llvm-svn: 92011
* Don't commit my silly little local changesDouglas Gregor2009-12-232-3/+1
| | | | llvm-svn: 92010
* Don't disable smart pointers, sillyDouglas Gregor2009-12-231-1/+1
| | | | llvm-svn: 92009
* Fix DISABLE_SMART_POINTERS buildDouglas Gregor2009-12-234-7/+10
| | | | llvm-svn: 92008
* Add support for handling initializers in RewriteObjC::RewriteByRefVar().Steve Naroff2009-12-231-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 meansDavid Greene2009-12-231-1/+2
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92006
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-2/+2
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92005
* Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by ClangDouglas Gregor2009-12-232-4/+2
| | | | llvm-svn: 92004
* De-bork CMake buildDouglas Gregor2009-12-231-0/+1
| | | | llvm-svn: 92003
* Provide dbgs(), a circular-buffering debug output stream. By default itDavid Greene2009-12-232-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 queueDavid Greene2009-12-232-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 Glushenkov2009-12-231-0/+6
| | | | llvm-svn: 92000
* Regenerate.Mikhail Glushenkov2009-12-231-6/+8
| | | | llvm-svn: 91999
OpenPOWER on IntegriCloud