Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | When emitting HTML messages, take into account margin fusing due to tabs. | Ted Kremenek | 2008-03-31 | 1 | -1/+8 | |
| | | | | llvm-svn: 48998 | |||||
* | Inlined clang/Analysis/Analyses/GRSimpleVals.h into LocalCheckers.h and removed | Ted Kremenek | 2008-03-31 | 3 | -17/+35 | |
| | | | | | | | | | | GRSimpleVals.h Added a PathDiagnosticClient option to the driver functions for the CFRefCountChecker and the GRSimpleVals analysis. Both analyses now accept a "-o" argument from the driver that specifies where HTML reports should be dumped. llvm-svn: 48989 | |||||
* | Disable timing diagnostics for GRSimpleVals. | Ted Kremenek | 2008-03-31 | 1 | -0/+4 | |
| | | | | llvm-svn: 48981 | |||||
* | Only have the rewriter produce a file when there are no errors. | Steve Naroff | 2008-03-28 | 1 | -30/+39 | |
| | | | | llvm-svn: 48926 | |||||
* | Add some of Ted's recent work to the VC++ project file. | Steve Naroff | 2008-03-27 | 1 | -1/+2 | |
| | | | | | | Fix a couple bozo bugs in the rewriter. llvm-svn: 48903 | |||||
* | Collect all the preamble code and don't insert it until the end. | Steve Naroff | 2008-03-27 | 1 | -79/+75 | |
| | | | | llvm-svn: 48899 | |||||
* | For HTMLDiagnostics, when emitting the name of the directory, substitute the ↵ | Ted Kremenek | 2008-03-27 | 1 | -2/+10 | |
| | | | | | | current working directory for "." llvm-svn: 48888 | |||||
* | Add html::EscapeText for std::string; use this function to escape text in ↵ | Ted Kremenek | 2008-03-27 | 1 | -3/+3 | |
| | | | | | | message bubbles. llvm-svn: 48884 | |||||
* | Don't emit any timings for GRSimple if the CFG is not going to be built. | Ted Kremenek | 2008-03-27 | 1 | -0/+3 | |
| | | | | llvm-svn: 48882 | |||||
* | Output directory as well as file name. | Ted Kremenek | 2008-03-27 | 1 | -1/+2 | |
| | | | | llvm-svn: 48870 | |||||
* | Added <h3> tag in HTML file output that contains the name of the source file. | Ted Kremenek | 2008-03-27 | 1 | -1/+12 | |
| | | | | llvm-svn: 48869 | |||||
* | Added "HTMLDiagnostic", a generic DiagnosticClient (that also implements ↵ | Ted Kremenek | 2008-03-27 | 3 | -16/+303 | |
| | | | | | | | | PathDiagnostic) so that all diagnostics can be piped to HTML files instead of as text diagnostics using --html-diags. llvm-svn: 48865 | |||||
* | Fixed copy-paste error. | Ted Kremenek | 2008-03-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 48863 | |||||
* | Add a couple files to VC++ project and cleanup an "#if 0". | Steve Naroff | 2008-03-24 | 1 | -2/+0 | |
| | | | | llvm-svn: 48748 | |||||
* | debian amd64 testing | Andrew Lenharth | 2008-03-24 | 1 | -1/+4 | |
| | | | | llvm-svn: 48745 | |||||
* | debian ia32 testing | Andrew Lenharth | 2008-03-24 | 1 | -0/+5 | |
| | | | | llvm-svn: 48742 | |||||
* | Teach the rewriter how to respect the -o option. | Chris Lattner | 2008-03-22 | 3 | -8/+32 | |
| | | | | llvm-svn: 48669 | |||||
* | Added HTML highlighting for ranges. | Ted Kremenek | 2008-03-19 | 1 | -2/+32 | |
| | | | | llvm-svn: 48572 | |||||
* | Misc. cleanups to HTML printing: make code rendered using tables; add | Ted Kremenek | 2008-03-19 | 1 | -14/+8 | |
| | | | | | | better div positioning for messages. llvm-svn: 48555 | |||||
* | Initial experimentation with adding boxed "annotations" to HTMLized source. | Ted Kremenek | 2008-03-19 | 3 | -7/+168 | |
| | | | | llvm-svn: 48540 | |||||
* | Moved generation of html header/footer with builtin CSS to the rewriter library. | Ted Kremenek | 2008-03-19 | 1 | -33/+1 | |
| | | | | llvm-svn: 48537 | |||||
* | More cleanups to the HTML rewriter (with line formatting), with better | Ted Kremenek | 2008-03-19 | 1 | -7/+14 | |
| | | | | | | pretty-printing of line numbers. llvm-svn: 48533 | |||||
* | More cleanups to HTML rewriter API: remove the InsertTag method; was too ↵ | Ted Kremenek | 2008-03-19 | 1 | -11/+21 | |
| | | | | | | | | | complicated and clients can achieve a cleaner design just by inserting tags directly. Reserve the "html" namespace for meta-level operations (e.g., escaping text, etc.) llvm-svn: 48524 | |||||
* | More HTML rewriter cleanups. Preliminary CSS support in code pretty-printing. | Ted Kremenek | 2008-03-18 | 1 | -4/+17 | |
| | | | | llvm-svn: 48518 | |||||
* | Some cleanups to the HTMLRewrite API. Added support for printing out line | Ted Kremenek | 2008-03-18 | 1 | -3/+4 | |
| | | | | | | numbers (more work to be done on aesthetics). llvm-svn: 48512 | |||||
* | Added HTML pretty-printer. | Ted Kremenek | 2008-03-18 | 1 | -0/+62 | |
| | | | | llvm-svn: 48507 | |||||
* | Added the beginning of a set of rewriter functions for pretty-printing source | Ted Kremenek | 2008-03-18 | 2 | -1/+10 | |
| | | | | | | | code as HTML. Added a new driver option "--emit-html" to dump the source of the main input file as HTML. llvm-svn: 48505 | |||||
* | Fix <rdar://problem/5716940> rewriter generates invalid C code when no ↵ | Steve Naroff | 2008-03-18 | 1 | -1/+2 | |
| | | | | | | selector found. llvm-svn: 48479 | |||||
* | Wrap up __NSConstantStringImpl (the replacement for ↵ | Steve Naroff | 2008-03-18 | 1 | -7/+5 | |
| | | | | | | __builtin___CFStringMakeConstantString). llvm-svn: 48477 | |||||
* | clean up iteration over propertydecls. | Chris Lattner | 2008-03-17 | 1 | -6/+7 | |
| | | | | llvm-svn: 48435 | |||||
* | clean up property memory allocation to move it into the ast classes | Chris Lattner | 2008-03-17 | 1 | -2/+2 | |
| | | | | | | like the rest of the classes. llvm-svn: 48434 | |||||
* | make property addition work list all other "add" methods. Do | Chris Lattner | 2008-03-16 | 1 | -3/+3 | |
| | | | | | | the allocation in the class, not in sema. llvm-svn: 48433 | |||||
* | Convert more counts to be zero based instead of -1 based, make them unsigned. | Chris Lattner | 2008-03-16 | 2 | -7/+8 | |
| | | | | llvm-svn: 48429 | |||||
* | minor cleanups, make getNumInstanceMethods always return unsigned. | Chris Lattner | 2008-03-16 | 1 | -7/+5 | |
| | | | | llvm-svn: 48423 | |||||
* | Make the parameter count of ObjCMethodDecl unsigned, you | Chris Lattner | 2008-03-16 | 2 | -3/+3 | |
| | | | | | | can't have negative arguments. llvm-svn: 48407 | |||||
* | switch the rest of the C decl classes to do their | Chris Lattner | 2008-03-16 | 1 | -2/+4 | |
| | | | | | | allocation through ASTContext. llvm-svn: 48403 | |||||
* | move the ASTContext argument to be first in the argument list of | Chris Lattner | 2008-03-15 | 1 | -15/+14 | |
| | | | | | | all Create methods. llvm-svn: 48398 | |||||
* | Switch over functiondecl. This makes it obvious that the ASTContext | Chris Lattner | 2008-03-15 | 1 | -10/+11 | |
| | | | | | | argument to Create should be first, not last. llvm-svn: 48397 | |||||
* | switch the VarDecl allocation model to go through ASTContext. | Chris Lattner | 2008-03-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 48396 | |||||
* | start switching decls over to using an allocator controlled by ASTContext. | Chris Lattner | 2008-03-15 | 1 | -31/+40 | |
| | | | | | | | | | | Right now only some ctors are switched over. I need to switch them all over so I can change the dtor over. This lets us experiment with region allocation and other things in the future. llvm-svn: 48390 | |||||
* | Link against the correct ObjC string class ↵ | Steve Naroff | 2008-03-15 | 1 | -5/+4 | |
| | | | | | | (__CFConstantStringClassReference) and fix length computation (removing a FIXME). llvm-svn: 48384 | |||||
* | Remove ObjC rewriter dependency on GCC's __builtin___CFStringMakeConstantString. | Steve Naroff | 2008-03-15 | 1 | -64/+69 | |
| | | | | llvm-svn: 48383 | |||||
* | Emit warnings for undefined control-flow. | Ted Kremenek | 2008-03-14 | 1 | -4/+7 | |
| | | | | llvm-svn: 48368 | |||||
* | Path-sensitive analyses no longer take a FunctionDecl, but any Decl representing | Ted Kremenek | 2008-03-14 | 1 | -30/+68 | |
| | | | | | | | | | a block of "code". Patched various ASTConsumers (such as ASTDumper) to have more support for processing ObjCMethodDecl. CFGVisitor now builds CFGs for ObjCMethodDecls. llvm-svn: 48363 | |||||
* | Only compute targetinfo once and don't leak it. Patch by Sam Bishop! | Chris Lattner | 2008-03-14 | 1 | -13/+12 | |
| | | | | llvm-svn: 48358 | |||||
* | The LiveVariables analysis no longer requires a FunctionDecl&; this allows it | Ted Kremenek | 2008-03-13 | 1 | -2/+2 | |
| | | | | | | to be run on other declarations of blocks of code (e.g., Objective-C methods.) llvm-svn: 48339 | |||||
* | Added bandaid support in CFG construction for ObjCForEachStmt and ObjCAtTryStmt: | Ted Kremenek | 2008-03-13 | 1 | -2/+7 | |
| | | | | | | | | | | we gracefully back out and return NULL for the CFG, allowing clients to skip analyzing functions with these CFGs. We will add support later. Modified base ASTConsumer "CFGVisitor" to detect when a CFG is not constructed and to emit a warning. llvm-svn: 48322 | |||||
* | Two fixes to RewriteTest::RewriteObjCIvarRefExpr(): | Steve Naroff | 2008-03-12 | 1 | -7/+8 | |
| | | | | | | | | - For explicit ivar refers, make sure the cast is propagated to the AST. - Don't free the base (since it is still in use). This fixes the recent regression to test/Rewriter/objc-ivar-receiver-1.m. llvm-svn: 48309 | |||||
* | Minor aesthetic improvement (after I reviewed my last commit). | Steve Naroff | 2008-03-12 | 1 | -4/+2 | |
| | | | | llvm-svn: 48304 | |||||
* | Avoid using the "unnamed struct field" extension (enabled with ↵ | Steve Naroff | 2008-03-12 | 1 | -17/+11 | |
| | | | | | | -fms-extensions). This feature/extension silently does the wrong thing in g++. As far as I can tell, g++ simply throws the field away entirely (note that it works fine with gcc). Since I am now always casting the object (for other reasons), accessing protected/public fields simply requires the cast refer to the defining class. This solution is simpler all around (thanks to Chris for suggesting it). llvm-svn: 48302 |