summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Rename "Nodify" to "MakeNode"Ted Kremenek2008-03-215-31/+33
| | | | llvm-svn: 48659
* Only invoke the preprocessor; it's the only thing being tested. Also, checkSam Bishop2008-03-211-1/+2
| | | | | | the output to make sure that the macros and comments are being treated as such. llvm-svn: 48638
* Plug a memory leak in the "this macro expands into a single trivially-Sam Bishop2008-03-211-1/+4
| | | | | | expanded token" case. llvm-svn: 48637
* Use the -E option when invoking clang. Only the preprocessor isSam Bishop2008-03-212-2/+2
| | | | | | required to perform this test. llvm-svn: 48636
* Add ability to run clang tests under valgrind. Patch by Sam Bishop.Gabor Greif2008-03-203-8/+38
| | | | llvm-svn: 48621
* LiveVariables analysis now uses intersect for the merge of block-level ↵Ted Kremenek2008-03-202-3/+30
| | | | | | | | expression liveness information. The rationale is that a block-level expression cannot be live in a parent block unless it is live in all of the successor blocks. llvm-svn: 48618
* Use make's -C option to enter directories.Gabor Greif2008-03-201-4/+3
| | | | | | | Also, do not try to remove build/ dir when cleaning, this does not exist any more. llvm-svn: 48599
* reduce chattyness of makefilesGabor Greif2008-03-203-6/+8
| | | | llvm-svn: 48597
* scan testdirs only once, patch by Mike Stump, thanks!Gabor Greif2008-03-201-1/+1
| | | | llvm-svn: 48589
* Added HTML highlighting for ranges.Ted Kremenek2008-03-192-2/+35
| | | | llvm-svn: 48572
* Fix typo.Steve Naroff2008-03-191-1/+1
| | | | llvm-svn: 48571
* Fix http://llvm.org/bugs/show_bug.cgi?id=2161.Steve Naroff2008-03-191-2/+13
| | | | llvm-svn: 48568
* Change colors of HTML message bubble.Ted Kremenek2008-03-191-3/+6
| | | | llvm-svn: 48563
* More CSS enhancements to HTML code printing.Ted Kremenek2008-03-191-0/+1
| | | | llvm-svn: 48557
* Misc. cleanups to HTML printing: make code rendered using tables; addTed Kremenek2008-03-192-40/+31
| | | | | | better div positioning for messages. llvm-svn: 48555
* Minor speed tweak per Chris's suggestion: use &S[0] instead of S.c_str().Ted Kremenek2008-03-191-2/+2
| | | | llvm-svn: 48544
* Integrated some of Chris's comments; check for an empty string in InsertStrXXX()Ted Kremenek2008-03-191-2/+2
| | | | | | before descending into the bowels of the Rewriter. llvm-svn: 48541
* Initial experimentation with adding boxed "annotations" to HTMLized source.Ted Kremenek2008-03-194-9/+175
| | | | llvm-svn: 48540
* Convert tabs to spaces.Ted Kremenek2008-03-191-7/+7
| | | | llvm-svn: 48539
* Moved generation of html header/footer with builtin CSS to the rewriter library.Ted Kremenek2008-03-193-33/+48
| | | | llvm-svn: 48537
* simplify code by using the variadic StructType::get method.Chris Lattner2008-03-193-27/+24
| | | | llvm-svn: 48535
* simplify the clang codegen by using the new Builder.CreateStructGEP method.Chris Lattner2008-03-194-49/+23
| | | | llvm-svn: 48534
* More cleanups to the HTML rewriter (with line formatting), with betterTed Kremenek2008-03-192-15/+40
| | | | | | pretty-printing of line numbers. llvm-svn: 48533
* Added InsertStrXXX/InsertCStrXXX methods to the Rewriter to provide a simplerTed Kremenek2008-03-191-1/+22
| | | | | | interface to the rewriter when clients have NULL terminated strings or std::string. llvm-svn: 48532
* Change "style" to "class" in HTML output.Ted Kremenek2008-03-191-2/+2
| | | | llvm-svn: 48525
* More cleanups to HTML rewriter API: remove the InsertTag method; was too ↵Ted Kremenek2008-03-193-123/+30
| | | | | | | | | 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 Kremenek2008-03-183-40/+68
| | | | llvm-svn: 48518
* Some cleanups to the HTMLRewrite API. Added support for printing out lineTed Kremenek2008-03-183-29/+124
| | | | | | numbers (more work to be done on aesthetics). llvm-svn: 48512
* Added HTML pretty-printer.Ted Kremenek2008-03-181-0/+62
| | | | llvm-svn: 48507
* Modified "InsertTag" (HTML rewriter) to have an optional "OutermostTag" flag toTed Kremenek2008-03-182-4/+19
| | | | | | | indicate whether or not the new tag should be the outermost tag at the specified location (in the case that other tags have been inserted at the same spot). llvm-svn: 48506
* Added the beginning of a set of rewriter functions for pretty-printing sourceTed Kremenek2008-03-184-1/+124
| | | | | | | code as HTML. Added a new driver option "--emit-html" to dump the source of the main input file as HTML. llvm-svn: 48505
* Added variant of "InsertText" in the Rewriter to support inserting text bothTed Kremenek2008-03-182-11/+52
| | | | | | *before* and after a specific location. llvm-svn: 48504
* Bug fix in RewriteBuffer::getMappedOffset: potentially multiple deltas Ted Kremenek2008-03-181-4/+6
| | | | | | | need to be skipped over when AfterInserts == true, as multiple deltas may share the same FileLoc. llvm-svn: 48503
* Fix comment.Ted Kremenek2008-03-181-1/+2
| | | | llvm-svn: 48501
* Update project files.Steve Naroff2008-03-183-5/+29
| | | | llvm-svn: 48500
* Test.Steve Naroff2008-03-181-1/+1
| | | | llvm-svn: 48499
* Added method "getSourceMgr" to class Rewriter.Ted Kremenek2008-03-181-0/+1
| | | | llvm-svn: 48496
* add 'clean' targets, make sure that 'make test' works after 'make clean'Gabor Greif2008-03-182-1/+10
| | | | llvm-svn: 48488
* let the %t magic happen, thanks Chris!Gabor Greif2008-03-181-1/+1
| | | | llvm-svn: 48487
* Switch over to the parallelized makefile, but keep old serialGabor Greif2008-03-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | makefile around (just change Makefile.parallel to Makefile to get back old functionality). To run parallel tests, specify make -jN test # where N = num of CPUs * 2 to get detailed output, run make -jN test VERBOSE=1 to only get error descriptions *after the tests have run*, type make report this gives you the extra information which was omitted in non-VERBOSE mode. llvm-svn: 48486
* move #include to the file that needs it.Chris Lattner2008-03-182-1/+1
| | | | llvm-svn: 48485
* Fix a typoNate Begeman2008-03-181-1/+1
| | | | llvm-svn: 48482
* Fix <rdar://problem/5716940> rewriter generates invalid C code when no ↵Steve Naroff2008-03-181-1/+2
| | | | | | selector found. llvm-svn: 48479
* Wrap up __NSConstantStringImpl (the replacement for ↵Steve Naroff2008-03-181-7/+5
| | | | | | __builtin___CFStringMakeConstantString). llvm-svn: 48477
* Fix assertion.Ted Kremenek2008-03-171-1/+1
| | | | llvm-svn: 48470
* Fix integer overflow bug when processing switch statements.Ted Kremenek2008-03-171-4/+9
| | | | llvm-svn: 48469
* Properly hook up inline asm transfer function logic to the main GRExprEngine ↵Ted Kremenek2008-03-171-0/+4
| | | | | | logic. llvm-svn: 48468
* Updated VS project files to reference all libraries in the "lib" subdirectory.Ted Kremenek2008-03-178-89/+89
| | | | llvm-svn: 48467
* Added initial transfer function support for inline asm.Ted Kremenek2008-03-172-0/+75
| | | | llvm-svn: 48466
* Added "inputs" and "outputs" iterator (expression) for AsmStmt.Ted Kremenek2008-03-171-0/+26
| | | | llvm-svn: 48465
OpenPOWER on IntegriCloud