Anton Mitrokhin
d0c9b7c9b5
wiped out all LLVM 3.1 support
2014-08-01 14:54:08 +04:00
Dmitry Babokin
31b95b665b
Copyright update
2014-03-12 20:19:16 +04:00
Ilia Filippov
c4e35050b0
support of building with C++11
2014-03-04 16:01:18 +04:00
Matt Pharr
0c5742b6f8
Implement new naming scheme for --target.
...
Now targets are named like "<isa>-i<mask size>x<gang size>", e.g.
"sse4-i8x16", or "avx2-i32x16".
The old target names are still supported.
2013-08-08 19:23:44 -07:00
Matt Pharr
1276ea9844
Revert "Remove support for building with LLVM 3.1"
...
This reverts commit d3c567503b .
Conflicts:
opt.cpp
2013-08-06 17:00:35 -07:00
Matt Pharr
d3c567503b
Remove support for building with LLVM 3.1
2013-07-31 06:46:45 -07:00
Dmitry Babokin
549655bff4
Adding new line to error/warning message on Windows and fixing some typos.
2013-05-01 20:22:01 +02:00
Dmitry Babokin
a5f0e713d6
Fix for DataLayout inconsistency on win32
2013-04-17 17:20:17 +04:00
Dmitry Babokin
3c533f2ba4
Fix for the issue #449 : warning due to DataLayout mismatch
2013-04-02 19:08:44 +04:00
Dmitry Babokin
3f8a678c5a
Editorial change: fixing trailing white spaces and tabs
2013-03-18 16:17:55 +04:00
Matt Pharr
92b3ae41dd
Don't print request to file bug on fatal error twice.
2012-06-08 11:23:45 -07:00
Matt Pharr
1397dbdabc
Don't generate colorized output escapes when stderr isn't a TTY.
...
When piping to a pile, more/less, etc, this is generally undesirable.
This behavior can be overridden with the --colorized-output command-line
flag.
2012-06-04 09:20:57 -07:00
Matt Pharr
71198a0b54
Don't indent too much in errors/warnings if the filename is long.
2012-06-04 08:53:43 -07:00
Matt Pharr
64807dfb3b
Add AssertPos() macro that provides rough source location in error
...
It can sometimes be useful to know the general place we were in the program
when an assertion hit; when the position is available / applicable, this
macro is now used.
Issue #268 .
2012-05-25 10:59:45 -07:00
Matt Pharr
903714fd40
Merge pull request #248 from nipunn1313/master
...
Goto with incorrect label now suggests labels based on string distance
2012-04-21 14:43:57 -07:00
Nipunn Koorapati
138c7acf22
Error() and Warning() functions for reporting compiler errors/warnings now respects newlines as part of valid error messages.
2012-04-21 01:44:10 -04:00
Matt Pharr
4dfc596d38
Fix MSVC warnings.
2012-04-20 10:50:39 -07:00
Matt Pharr
e4b3d03da5
When available, use ANSI escapes to colorize diagnostic output.
...
Issue #245 .
2012-04-19 11:36:28 -07:00
Matt Pharr
1dead425e4
Don't indent *too* much on continued lines with warnings/errors.
2012-02-10 12:26:35 -08:00
Matt Pharr
724a843bbd
Add --quiet option to supress all diagnostic output
2012-02-06 12:39:09 -08:00
Pierre-Antoine Lacaze
a0e9793de3
Shut up warning wrt CONSOLE_SCREEN_BUFFER_INFO initialization
2012-01-09 10:19:46 +01:00
Pierre-Antoine Lacaze
da9200fcee
Fix alloca use on mingw.
2012-01-09 10:19:09 +01:00
Pierre-Antoine Lacaze
002f27a30f
Implement vasprintf and asprintf for platforms lacking them.
2012-01-09 09:44:58 +01:00
Matt Pharr
8d1b77b235
Have assertion macro and FATAL() text ask user to file a bug, provide URL to do so.
...
Switch to Assert() from assert() to make it clear it's not the C stdlib one we're
using any more.
2011-12-15 11:11:16 -08:00
Matt Pharr
9475e13d81
Issue a warning if no output file is specified.
2011-12-06 08:21:34 -08:00
Matt Pharr
c995902796
Add --werror flag to treat warnings as errors.
...
The specific need for it was so that tests in tests_errors
can test to see if a desired diagnostic warning is issued
(like ptrcast-lose-info does.)
2011-11-30 05:51:53 -08:00
Matt Pharr
79684a0bed
Add support for running tests that are expected to fail
...
Also add should-fail tests that exercise const and decl
initializers
2011-11-14 08:45:41 -08:00
Matt Pharr
4a2cbf2c4e
Fix regression from AST checkin that caused perf. warnings to be issued for stdlib code.
2011-10-07 09:20:48 -07:00
Matt Pharr
fa5050d5c7
Error reporting improvements.
...
Don't print more than 3 lines of source file context with errors.
(Any more than that is almost certainly not the Right Thing to do.)
Make some parsing error messages more clear.
2011-10-03 21:09:04 -07:00
Matt Pharr
d261105a86
Error/warning reporting improvements.
...
- Don't suggest matches when given an empty string or a single, non-alpha
character.
- Also fixed the parser to be a bit less confusing when it encounters an
unexpected EOF.
2011-09-23 15:51:23 -07:00
Matt Pharr
b8dae5cb9a
Fix GetDirectoryAndFileName() on Windows.
...
Use the Windows pathname manipulation routines to robustly implement this
on Windows. Fixes issue #30 .
2011-07-06 03:23:25 -07:00
Matt Pharr
18af5226ba
Initial commit.
2011-06-21 12:48:50 -07:00