summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Cosmetic issue: more consistent naming.Mikhail Glushenkov2009-12-231-55/+55
| | | | llvm-svn: 91998
* Allow (set_option SwitchOption, true).Mikhail Glushenkov2009-12-233-20/+45
| | | | llvm-svn: 91997
* Reapply 91904.Sanjiv Gupta2009-12-234-10/+59
| | | | llvm-svn: 91996
* Added missing patterns for subtract instruction.Sanjiv Gupta2009-12-232-34/+64
| | | | llvm-svn: 91995
* deleting empty file.Sanjiv Gupta2009-12-231-0/+0
| | | | llvm-svn: 91994
* Reverting back 91904.Sanjiv Gupta2009-12-234-60/+10
| | | | llvm-svn: 91993
* Register call inliner as the last checker.Zhongxing Xu2009-12-231-2/+3
| | | | llvm-svn: 91992
* Migrate the call inliner to the Checker interface.Zhongxing Xu2009-12-235-38/+77
| | | | llvm-svn: 91991
* Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child ↵Ted Kremenek2009-12-234-0/+25
| | | | | | expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>. llvm-svn: 91990
* For inter-procedural analysis, predecessor node may be in another function.Zhongxing Xu2009-12-231-3/+3
| | | | | | So we should use the current program point. llvm-svn: 91989
* Use more sensible type for flags in asms. PR 5570.Dale Johannesen2009-12-233-5/+31
| | | | | | Patch by Sylve`re Teissier (sorry, ASCII only). llvm-svn: 91988
* Add CFG support for the condition variable that can appear in IfStmts in C++ ↵Ted Kremenek2009-12-234-1/+62
| | | | | | | | mode. Add transfer function support in GRExprEngine for IfStmts with initialized condition variables. llvm-svn: 91987
* Suppress dead store warnings involving objects initialized with ↵Ted Kremenek2009-12-232-0/+30
| | | | | | CXXExprTemporaries. llvm-svn: 91986
* Add stack trace pretty printing in GRExprEngine::VisitLValue().Ted Kremenek2009-12-231-0/+4
| | | | llvm-svn: 91985
* Fix CXXConstructExpr::getSourceRange() to not include the source ranges of ↵Ted Kremenek2009-12-232-7/+13
| | | | | | CXXDefaultArgExprs when computing its range (since these expressions have no source range, and using them will make the encompassing range invalid). llvm-svn: 91984
* Update for the intrinsic changes in llvm: the object size intrinsicEric Christopher2009-12-234-3/+14
| | | | | | | only takes a boolean second argument now. Update tests accordingly. Currently the builtin still accepts the full range for compatibility. llvm-svn: 91983
* Teach GRExprEngine::VisitLValue to ignore CXXExprWithTempories (for now).Ted Kremenek2009-12-231-0/+1
| | | | llvm-svn: 91982
* Fix PR 5857. When casting from a symbolic region to an integer back to a ↵Ted Kremenek2009-12-232-9/+36
| | | | | | pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion. llvm-svn: 91981
* Update objectsize intrinsic and associated dependencies. FixEric Christopher2009-12-234-7/+7
| | | | | | lowering code and update testcases. llvm-svn: 91979
* Remove CharUnits::toString() to eliminate dependence on <string>.Ken Dyck2009-12-233-26/+0
| | | | llvm-svn: 91978
OpenPOWER on IntegriCloud