summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
OpenPOWER on IntegriCloud