Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Cosmetic issue: more consistent naming. | Mikhail Glushenkov | 2009-12-23 | 1 | -55/+55 |
| | | | | llvm-svn: 91998 | ||||
* | Allow (set_option SwitchOption, true). | Mikhail Glushenkov | 2009-12-23 | 3 | -20/+45 |
| | | | | llvm-svn: 91997 | ||||
* | Reapply 91904. | Sanjiv Gupta | 2009-12-23 | 4 | -10/+59 |
| | | | | llvm-svn: 91996 | ||||
* | Added missing patterns for subtract instruction. | Sanjiv Gupta | 2009-12-23 | 2 | -34/+64 |
| | | | | llvm-svn: 91995 | ||||
* | deleting empty file. | Sanjiv Gupta | 2009-12-23 | 1 | -0/+0 |
| | | | | llvm-svn: 91994 | ||||
* | Reverting back 91904. | Sanjiv Gupta | 2009-12-23 | 4 | -60/+10 |
| | | | | llvm-svn: 91993 | ||||
* | Register call inliner as the last checker. | Zhongxing Xu | 2009-12-23 | 1 | -2/+3 |
| | | | | llvm-svn: 91992 | ||||
* | Migrate the call inliner to the Checker interface. | Zhongxing Xu | 2009-12-23 | 5 | -38/+77 |
| | | | | llvm-svn: 91991 | ||||
* | Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child ↵ | Ted Kremenek | 2009-12-23 | 4 | -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 Xu | 2009-12-23 | 1 | -3/+3 |
| | | | | | | So we should use the current program point. llvm-svn: 91989 | ||||
* | Use more sensible type for flags in asms. PR 5570. | Dale Johannesen | 2009-12-23 | 3 | -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 Kremenek | 2009-12-23 | 4 | -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 Kremenek | 2009-12-23 | 2 | -0/+30 |
| | | | | | | CXXExprTemporaries. llvm-svn: 91986 | ||||
* | Add stack trace pretty printing in GRExprEngine::VisitLValue(). | Ted Kremenek | 2009-12-23 | 1 | -0/+4 |
| | | | | llvm-svn: 91985 | ||||
* | Fix CXXConstructExpr::getSourceRange() to not include the source ranges of ↵ | Ted Kremenek | 2009-12-23 | 2 | -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 intrinsic | Eric Christopher | 2009-12-23 | 4 | -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 Kremenek | 2009-12-23 | 1 | -0/+1 |
| | | | | llvm-svn: 91982 | ||||
* | Fix PR 5857. When casting from a symbolic region to an integer back to a ↵ | Ted Kremenek | 2009-12-23 | 2 | -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. Fix | Eric Christopher | 2009-12-23 | 4 | -7/+7 |
| | | | | | | lowering code and update testcases. llvm-svn: 91979 | ||||
* | Remove CharUnits::toString() to eliminate dependence on <string>. | Ken Dyck | 2009-12-23 | 3 | -26/+0 |
| | | | | llvm-svn: 91978 |