summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the other excludes syntax.Daniel Dunbar2009-11-151-4/+2
| | | | llvm-svn: 88836
* Use 'eq' operator, and enable regular experimental checks when ↵Ted Kremenek2009-11-132-1/+2
| | | | | | --experimental-checks is passed to scan-build. llvm-svn: 88673
* Add clang-cc option "--analyzer-experimental-internal-checks". ThisTed Kremenek2009-11-132-0/+13
| | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671
* Turn off -Wsign-compare warnings by defaultDouglas Gregor2009-11-061-1/+1
| | | | llvm-svn: 86233
* When we encounter a derived-to-base conversion when performing anDouglas Gregor2009-11-061-1/+4
| | | | | | | implicit conversion sequence, check the validity of this conversion and then perform it. llvm-svn: 86210
* Fixed two places where we needed to force completion of a typeDouglas Gregor2009-11-051-0/+1
| | | | | | | | | | | | (without complaining if it fails) to get proper semantics: reference binding with a derived-to-base conversion and the enumeration of constructors for user-defined conversions. There are probably more cases to fix, but my prior attempt at statically ensuring that complete-type checking always happens failed. Perhaps I'll try again. With this change, Clang can parse include/llvm/*.h! llvm-svn: 86129
* Experimental, ultra-hacking Emacs minor mode for Clang-based code completion.Douglas Gregor2009-10-091-0/+257
| | | | llvm-svn: 83681
* Turn on 'RegionStore' as the default store manager both for 'clang ↵Ted Kremenek2009-09-252-5/+7
| | | | | | --analyze' and 'scan-build'. Leave 'BasicStore' as the default store manager in 'clang-cc'. While there are still known warts with RegionStore, it's ready to be tested by general users. llvm-svn: 82752
* Remove old test runner, this has moved to LLVM/utils/lit and all known clientsDaniel Dunbar2009-09-2211-1467/+0
| | | | | | | have been updated. - Please let me know of any problems. llvm-svn: 82524
* A toy for Doug: Add some 'lit' tests which just run clang++ -fsyntax-only ↵Daniel Dunbar2009-09-163-0/+57
| | | | | | | | | | over all the files in a directory. - 'lit utils/C++Tests' to run, you may need to fix the stdc++ include path, and your mileage may vary. - A handful of the LLVM headers are XFAIL because they don't include the right headers. llvm-svn: 81990
* Also compare stdout and stderr lines.Daniel Dunbar2009-09-041-5/+31
| | | | llvm-svn: 81018
* Make CmpDriver less stupid.Daniel Dunbar2009-09-041-32/+22
| | | | llvm-svn: 81012
* Add a valgrind suppressions file for x86_64-pc-linux-gnu and gcc-4.3.3 whichDaniel Dunbar2009-09-041-0/+23
| | | | | | suppresses the overlapped memcpy in stable_sort that clang triggers. llvm-svn: 80982
* Add --vg-arg option to clang test runner.Daniel Dunbar2009-09-043-3/+9
| | | | | | | | - Passes additional argument through to valgrind. Also, don't run valgrind with --leak-check=no by default. llvm-svn: 80981
* Whoops, did not mean to commit thisAnders Carlsson2009-08-161-1/+1
| | | | llvm-svn: 79201
* Store the delete operator for delete expressions.Anders Carlsson2009-08-161-1/+1
| | | | llvm-svn: 79200
* lit: flush stdout in no-fancy-progress-bar mode as well.Benjamin Kramer2009-08-141-0/+2
| | | | llvm-svn: 79056
* Pass '-Wno-' options to clang-cc. This fixes <rdar://problem/6943988>.Ted Kremenek2009-08-141-2/+11
| | | | llvm-svn: 79011
* Add a simple tool for comparing two static analyzer runs, primarily for use fromDaniel Dunbar2009-08-061-0/+230
| | | | | | buildbot. llvm-svn: 78336
* Fix locating the 'lit.cfg' file when running on only a single file in theDaniel Dunbar2009-08-061-1/+2
| | | | | | current directory. llvm-svn: 78271
* Renable "html" indexing by default.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78077
* lit: Some sample tests, for testing the testerDaniel Dunbar2009-08-045-0/+20
| | | | llvm-svn: 78050
* Recognize '-M' and '-MM' options.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78027
* 'unlink' file directly instead of invoking system shell.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78026
* Have scan-build clue off of 'BUGMETAEND' to know when to stop processing an ↵Ted Kremenek2009-08-031-8/+1
| | | | | | HTML file. llvm-svn: 78022
* lit: Don't treat '\' as an escape in unquoted strings, on Win32. This turns outDaniel Dunbar2009-08-032-11/+12
| | | | | | to not be a very good idea. llvm-svn: 77957
* Include '-o' arguments in verbose output.Ted Kremenek2009-08-021-11/+11
| | | | llvm-svn: 77881
* lit: Catch (internal) exceptions when using --no-sh.Daniel Dunbar2009-08-011-12/+10
| | | | llvm-svn: 77830
* lit: Fix thinko in finding config file.Daniel Dunbar2009-08-011-2/+2
| | | | llvm-svn: 77828
* lit: Add internal script execution.Daniel Dunbar2009-08-013-6/+137
| | | | | | | | | | | | | | | | | | | | - Off by default, you can test it with the --no-sh argument. - For me it works for all but 3 tests, but there a number of FIXMEs and QOI issues: o Redirection isn't completely accurate -- in practice it can't portably be, but I would like to error out if someone writes something which isn't going to work. This is the source of the 3 test failures. o Some pipe configurations have the potential to deadlock. o It is significantly slower when multithreaded. I believe this is due to locking happening under the hood, there is probably some kind of solution but I haven't investigated yet. o Log output is ugly. llvm-svn: 77784
* lit: Two more sh lex/parse bugs (but its so simple!)Daniel Dunbar2009-08-011-5/+20
| | | | | | | - Empty arguments weren't handled correctly. - Escapes outside quoted strings weren't handled. llvm-svn: 77783
* lit: Fix two sh lexing bugs.Daniel Dunbar2009-08-011-4/+14
| | | | | | | - '\\\\' inside a "..." string becomes '\\'. - The '<' token wasn't being recognized. llvm-svn: 77777
* lit: Fix a name lookup problem, which only occurred on a race condition. This isDaniel Dunbar2009-08-012-2/+1
| | | | | | why dynamic binding sucks. llvm-svn: 77773
* lit: Pull a few more variables into the TestingConfig object.Daniel Dunbar2009-08-013-31/+19
| | | | llvm-svn: 77772
* lit: Don't use threads when only running one test, or with -j 1.Daniel Dunbar2009-08-011-11/+23
| | | | llvm-svn: 77766
* MultiTestRunner: Add 'sh' parsing to ShUtil.Daniel Dunbar2009-08-011-7/+246
| | | | llvm-svn: 77765
* MultiTestRunner: Fix invalid warning when pointing 'lit' directly at a test.Daniel Dunbar2009-07-311-0/+1
| | | | llvm-svn: 77690
* MultiTestRunner: Add module for lexing 'sh' commands.Daniel Dunbar2009-07-311-0/+126
| | | | llvm-svn: 77668
* MultiTestRunner: Simplify, cleanup, and rename!Daniel Dunbar2009-07-314-188/+228
| | | | | | | | | | | | | | | | | | | | | - MultiTestRunner will eventually be renamed to 'lit', for LLVM integrated tester/testing. This has the pros of being pronouncable and short. - "Project" level configuration lives in 'lit.cfg', which is also what lit uses to find the root testing directory in some cases. This can be overridden for use in project files which want to precisely specify where things are. - TestRunner.py is not longer able to be invoked directly. - Moved some code to Util.py. - Introduced a configuration object. - Cleaned up --help, removed a few not-very-useful options. - Tried not to break anything that works. :) llvm-svn: 77665
* Add scan-build option '-no-failure-reports' to supress the creation of a ↵Ted Kremenek2009-07-302-40/+54
| | | | | | 'failures' subdirectory that includes crash reports, preprocessed files, etc. llvm-svn: 77644
* MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have anyDaniel Dunbar2009-07-301-2/+1
| | | | | | value. llvm-svn: 77566
* scan-build: Don't try to index plist-html output directoriesDaniel Dunbar2009-07-291-5/+5
| | | | llvm-svn: 77465
* Make the Python TestRunner work for individual testsDouglas Gregor2009-07-291-1/+5
| | | | llvm-svn: 77456
* MultiTestRunner: Reenable --vg option.Daniel Dunbar2009-07-292-7/+16
| | | | | | | - Simplified from before and using --error-exitcode so failures show up as failures. llvm-svn: 77424
* Only generate preprocessed files during crashes using Clang, not GCC.Ted Kremenek2009-07-281-8/+2
| | | | llvm-svn: 77281
* Add scan-build support for 'plist-html', a hybrid mode that supports theTed Kremenek2009-07-272-19/+26
| | | | | | | | creation of both HTML and plist files. Plist files are currently not generated using the same layout algorithm as just specifying '-plist', so this is mainly intended to help support automated runs of the analyzer. llvm-svn: 77263
* Tweak MultiTestRunner --path argument.Daniel Dunbar2009-07-272-7/+11
| | | | | | | | - Accept multiple values instead of embedding separator. - Make sure this gets used when searching for 'clang' binary. - Switch makefiles to using --path to stay in sync with cmake. llvm-svn: 77234
* MultiTestRunner: Make sure to point at src dir, for out of tree builds.Daniel Dunbar2009-07-251-31/+31
| | | | | | Factor out routine for executing the script commands. llvm-svn: 77075
* MultiTestRunner: Cleanup test execution & output.Daniel Dunbar2009-07-252-121/+84
| | | | | | | | - Stop writing everything to files. - Make test output more standard. llvm-svn: 77074
* MultiTestRunner: Drop external script and DejaGNU compatibility options for now.Daniel Dunbar2009-07-252-41/+6
| | | | | | - We don't use the former, and the latter doesn't actually work. llvm-svn: 77073
OpenPOWER on IntegriCloud