summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.Daniel Dunbar2009-12-111-4/+4
| | | | llvm-svn: 91176
* Beef up Clang-on-LLVM testing a bit, by making LLVM-Syntax recursiveDouglas Gregor2009-12-102-5/+29
| | | | | | | (since we now parse all of the headers appropriately) and teaching LLVM-Code-Syntax about the extra paths needed to parse the backends. llvm-svn: 91068
* Add utils/TestUtils, and sink pch-test.pl there.Daniel Dunbar2009-12-032-0/+24
| | | | | | Also, add a test for generator a C file with a very deep call stack. llvm-svn: 90468
* Tuck away scan-build related files into tools/scan-buildKovarththanan Rajaratnam2009-12-014-2484/+0
| | | | llvm-svn: 90215
* Move ubiviz to analyzer directoryKovarththanan Rajaratnam2009-12-011-0/+0
| | | | llvm-svn: 90213
* Don't run the LLVM Code tests by default.Daniel Dunbar2009-11-261-8/+4
| | | | llvm-svn: 89937
* Add -Werror for Clang and LLVM on Clang (headers) syntax tests.Daniel Dunbar2009-11-262-0/+2
| | | | llvm-svn: 89936
* Add C++ tests to try to parse and compile the LLVM librariesDouglas Gregor2009-11-262-0/+47
| | | | llvm-svn: 89923
* Don't try to parse LinkAllParses.h for nowDouglas Gregor2009-11-251-1/+1
| | | | llvm-svn: 89820
* Remove '-checker-simple' reference from scan-build. Patch by Kovarththanan ↵Ted Kremenek2009-11-231-1/+1
| | | | | | Rajaratnam! llvm-svn: 89673
* Change Clang-Code-Compile tests to only -emit-llvm instead of runningDaniel Dunbar2009-11-231-1/+1
| | | | | | codegen/as. llvm-svn: 89634
* Add two new C++ lit tests suites, for testing Clang .cpp files withDaniel Dunbar2009-11-153-4/+62
| | | | | | -fsyntax-only and with -c. llvm-svn: 88845
* Add Clang-Syntax C++Tests; these don't run by default, use the lit argumentsDaniel Dunbar2009-11-152-0/+28
| | | | | | '--param run_clang_syntax=1' to run them. llvm-svn: 88839
OpenPOWER on IntegriCloud