summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
* Minor fix for clang-completion-mode, from Dve AbrahamsDouglas Gregor2010-12-141-2/+2
| | | | llvm-svn: 121771
* utils/ABITest: Factor out type naming code slightly.Daniel Dunbar2010-09-272-10/+24
| | | | llvm-svn: 114867
* utils/ABITest: Tweak default bit-field types to cover some more interesting ↵Daniel Dunbar2010-09-271-2/+4
| | | | | | cases. llvm-svn: 114866
* utils/ABITest: Add a workaround for mismatches due to PR5579.Daniel Dunbar2010-09-271-1/+7
| | | | llvm-svn: 114865
* utils/ABITest: Add option to skip individual tests by index.Daniel Dunbar2010-09-271-0/+6
| | | | llvm-svn: 114864
* Fix typo in test programDouglas Gregor2010-07-141-1/+1
| | | | llvm-svn: 108298
* FuzzTest: Add support for reading list of replacements from a file.Daniel Dunbar2010-05-301-0/+16
| | | | llvm-svn: 105177
* utils: Add a generic fuzz testing tool.Daniel Dunbar2010-05-301-0/+324
| | | | llvm-svn: 105176
* Wrap 'data' key in quotes.Ted Kremenek2010-04-171-1/+1
| | | | llvm-svn: 101594
* Make script actually work.Ted Kremenek2010-04-171-1/+1
| | | | llvm-svn: 101591
* Log code completion data in json format.Ted Kremenek2010-04-171-4/+7
| | | | llvm-svn: 101587
* Include sender address in completion log.Ted Kremenek2010-04-151-0/+2
| | | | llvm-svn: 101358
* Add simple python server for recording code completion timings.Ted Kremenek2010-04-151-0/+39
| | | | llvm-svn: 101327
* More magic.Anders Carlsson2010-03-291-4/+4
| | | | llvm-svn: 99803
* Sprinkle some sed dust over check-ztt to make it work with newer clang asm ↵Anders Carlsson2010-03-291-2/+2
| | | | | | output. (I am not a sed expert so this might be terribly inefficient :) llvm-svn: 99802
* Didn't mean to commit this.Anders Carlsson2010-03-261-1/+1
| | | | llvm-svn: 99607
* Use the new vtable layout code for construction vtables.Anders Carlsson2010-03-261-1/+1
| | | | llvm-svn: 99606
* make the vtable tester a little friendlier, with a clean target and without ↵Douglas Gregor2010-03-241-3/+6
| | | | | | requiring . to be in your path llvm-svn: 99433
* Implement promotion for enumeration types.Douglas Gregor2010-02-022-1/+96
| | | | | | | | | | | | | | | | | | | | | | | | | WHAT!?! It turns out that Type::isPromotableIntegerType() was not considering enumeration types to be promotable, so we would never do the promotion despite having properly computed the promotion type when the enum was defined. Various operations on values of enum type just "worked" because we could still compute the integer rank of an enum type; the oddity, however, is that operations such as "add an enum and an unsigned" would often have an enum result type (!). The bug actually showed up as a spurious -Wformat diagnostic (<rdar://problem/7595366>), but in theory it could cause miscompiles. In this commit: - Enum types with a promotion type of "int" or "unsigned int" are promotable. - Tweaked the computation of promotable types for enums - For all of the ABIs, treat enum types the same way as their underlying types (*not* their promotion types) for argument passing and return values - Extend the ABI tester with support for enumeration types llvm-svn: 95117
* Include <stdlib.h>, so that we're sure to get atoi.Douglas Gregor2010-02-021-1/+2
| | | | llvm-svn: 95095
* Extern darwin-clang_rt.c test to also test targetting ARM ({armv6, armv7} xDaniel Dunbar2010-01-231-10/+90
| | | | | | {thumb,no-thumb}). llvm-svn: 94264
* Add a test for clang_rt support on Darwin. With appropriate massaging, thisDaniel Dunbar2010-01-211-0/+258
| | | | | | | | checks that the runtime library can be linked and works for compiling on 10.6 for 10.{4,5,6} targets. Currently test is only for x86, and misses some compiler-rt functions. llvm-svn: 94083
* Tweak OptionalTests paths.Daniel Dunbar2010-01-211-1/+10
| | | | llvm-svn: 94082
* Add utils/OptionalTests, a dumping ground for additional (lit) tests which forDaniel Dunbar2010-01-213-0/+24
| | | | | | | | | one reason or another don't belong in the regular test suite. Inside is utils/OptionalTests/Extra which is specifically for tests that match the layout of the regular tests. llvm-svn: 94080
* Insert clang-flags into the clang command. Currently it needs to be a list;John McCall2010-01-131-18/+18
| | | | | | future work should permit strings (by splitting them into a list o' strings). llvm-svn: 93299
* Remove unused code.Mike Stump2010-01-121-3/+0
| | | | llvm-svn: 93262
* Improve covariance tester to randomize the return value more.Mike Stump2010-01-121-16/+57
| | | | llvm-svn: 93254
* Add covariance tester.Mike Stump2010-01-121-8/+35
| | | | llvm-svn: 93226
* Allow N_FIELDS to be 0.Mike Stump2010-01-121-1/+1
| | | | llvm-svn: 93211
* Fix indentation.Mike Stump2010-01-081-1/+1
| | | | llvm-svn: 93023
* Add in final overrider logic.Mike Stump2010-01-084-14/+72
| | | | llvm-svn: 93022
* Add checker for type infos.Mike Stump2010-01-071-0/+20
| | | | llvm-svn: 92956
* Add checked for VTTs.Mike Stump2010-01-071-0/+20
| | | | llvm-svn: 92954
* Detailed vtable checker.Mike Stump2010-01-072-1/+19
| | | | llvm-svn: 92953
* 1/2 off all structs should not have any virtual functions.Mike Stump2010-01-071-8/+13
| | | | | | Replace magic numbers with uuids. llvm-svn: 92941
* Add a descriptive tag to each line to make the exact differencesMike Stump2010-01-071-12/+12
| | | | | | easier to understand. llvm-svn: 92932
* Don't use two argument mixing function.Mike Stump2010-01-071-2/+1
| | | | llvm-svn: 92929
* Also generate the .s files.Mike Stump2010-01-071-2/+4
| | | | llvm-svn: 92928
* Add a testcase generator for vtable/rtti testing. WIP.Mike Stump2010-01-072-0/+242
| | | | llvm-svn: 92927
* Tests: Tweak LLVM-Code-Symbols test to ignore common and undefined symbols forDaniel Dunbar2009-12-261-10/+22
| | | | | | now, let's start small. llvm-svn: 92170
* Sketch a simple new C++Tests suite for checking that llvm-gcc and clang generateDaniel Dunbar2009-12-243-0/+99
| | | | | | the same visible symbols, useful for finding ABI/Mangler/vtable/etc. issues. llvm-svn: 92147
* Don't commit my silly little local changesDouglas Gregor2009-12-232-3/+1
| | | | llvm-svn: 92010
* Fix DISABLE_SMART_POINTERS buildDouglas Gregor2009-12-232-1/+3
| | | | llvm-svn: 92008
* Revert accidental commitDouglas Gregor2009-12-222-2/+0
| | | | llvm-svn: 91930
* Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequenceDouglas Gregor2009-12-222-0/+2
| | | | llvm-svn: 91927
* C++Tests: Add target paths for LLVM-Code-Compile checks as well.Daniel Dunbar2009-12-181-1/+33
| | | | llvm-svn: 91716
* Add a couple more paths to the LLVM-Code-Syntax testDouglas Gregor2009-12-171-0/+6
| | | | llvm-svn: 91627
* Remove accidental commit containing local paths for the LLVM-Code-Syntax testDouglas Gregor2009-12-141-1/+0
| | | | llvm-svn: 91326
* Minor cleanups for constructor initialization in InitializationSequenceDouglas Gregor2009-12-141-0/+1
| | | | llvm-svn: 91325
* Switch the Emacs clang-completion-mode over to clang -cc1Douglas Gregor2009-12-111-19/+19
| | | | llvm-svn: 91185
OpenPOWER on IntegriCloud