summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks2011-11-081-2/+6
| | | | llvm-svn: 144142
* [analyzer] Testing: support for regenerate reference outputAnna Zaks2011-11-081-12/+15
| | | | | | | Change the flow of the SATestAdd so that it could be used for regenerating the reference output without exiting with an error. llvm-svn: 144141
* [analyzer] Testing: Display the number of reported differences in the main log.Anna Zaks2011-11-082-13/+16
| | | | llvm-svn: 144113
* Check pointer types for arguments of Neon load/store macros. rdar://9958031Bob Wilson2011-11-081-10/+18
| | | | | | | | | | | The Neon load/store intrinsics need to be implemented as macros to avoid hiding alignment attributes on the pointer arguments, and the macros can only evaluate those pointer arguments once (in case they have side effects), so it has been hard to get the right type checking for those pointers. I tried various alternatives in the arm_neon.h header, but it's much more straightforward to just check directly in Sema. llvm-svn: 144075
* Clean up type flags for overloaded Neon builtins. No functional change.Bob Wilson2011-11-082-13/+43
| | | | | | | | | This patch just adds a simple NeonTypeFlags class to replace the various hardcoded constants that had been used until now. Unfortunately I couldn't figure out a good way to avoid duplicating that class between clang and TableGen, but since it's small and rarely changes, that's not so bad. llvm-svn: 144054
* [analyzer] Testing infrastructure: flush the output between projects.Anna Zaks2011-11-081-0/+1
| | | | llvm-svn: 144051
* Use StringRef's case transformation methods.Benjamin Kramer2011-11-061-2/+1
| | | | llvm-svn: 143889
* [analyzer] Relax the cmp criteria for analyzer reports.Anna Zaks2011-11-051-1/+1
| | | | | | Until we find out a way to easily find out what changed by looking at the logs. llvm-svn: 143789
* [analyzer] Add support for testing with individual preprocessed files.Anna Zaks2011-11-052-34/+133
| | | | llvm-svn: 143786
* [analyzer] Tweak the test scriptAnna Zaks2011-11-021-9/+13
| | | | | | | | Rename the pre_run_static_analyzer script into cleanup_run_static_analyzer and use it to clean up after the reference build - which is done as part of adding a new project to the system. llvm-svn: 143568
* Update the CMake build for clang-tblgen to reflect that it directlyChandler Carruth2011-11-021-0/+1
| | | | | | | depends on the Support library rather than relying on TableGen's transitive dependency. llvm-svn: 143532
* Remove the Alpha backend.Dan Gohman2011-10-273-6/+0
| | | | llvm-svn: 143165
* Remove the Blackfin backend.Dan Gohman2011-10-253-6/+0
| | | | llvm-svn: 142881
* Remove the SystemZ backend.Dan Gohman2011-10-243-6/+0
| | | | llvm-svn: 142879
* Add __nodebug__ attribute to functions in arm_neon.hBob Wilson2011-10-141-1/+1
| | | | | | This matches what we do for Intel vector intrinsics. <rdar://problem/10280207> llvm-svn: 141958
* Constant expression evaluation refactoring:Richard Smith2011-10-101-1/+1
| | | | | | | | | | | - Remodel Expr::EvaluateAsInt to behave like the other EvaluateAs* functions, and add Expr::EvaluateKnownConstInt to capture the current fold-or-assert behaviour. - Factor out evaluation of bitfield bit widths. - Fix a few places which would evaluate an expression twice: once to determine whether it is a constant expression, then again to get the value. llvm-svn: 141561
* Make clang-tblgen's Makefile independent of Clang's top-level Makefile,Peter Collingbourne2011-10-081-2/+2
| | | | | | | to avoid having to make it available for the cross build when it builds only clang-tblgen. llvm-svn: 141453
* [analyzer] Static Analyzer Qualification Infrastructure: Scripts to support ↵Anna Zaks2011-10-062-0/+378
| | | | | | basic testing of the analyzer on external projects. This can be used as a basis for setting up a buildbot. llvm-svn: 141337
* Add the Clang tblgen backends to Clang, and flip the switch to causePeter Collingbourne2011-10-0615-0/+4098
| | | | | | the build systems to use clang-tblgen. llvm-svn: 141291
* [analyzer] CmpRuns can now optionally delete empty reports.Anna Zaks2011-09-121-5/+7
| | | | llvm-svn: 139550
* [analyzer] CmpRuns.cmpScanBuildResults() should be easy to call from other ↵Anna Zaks2011-09-121-18/+32
| | | | | | modules. llvm-svn: 139543
* Rename CmpRuns into CmpRuns.py so that it could be used as a module.Anna Zaks2011-09-121-0/+0
| | | | llvm-svn: 139540
* Easier debugging with Visual Studio Visualizers, from Nikola Smiljanic!Douglas Gregor2011-07-271-0/+44
| | | | llvm-svn: 136207
* fix a bunch of comment typos found by codespell. Patch byChris Lattner2011-04-152-2/+2
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559
* 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
OpenPOWER on IntegriCloud