Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve diagnostics when we fail to convert from a source type to a | Douglas Gregor | 2010-04-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | destination type for initialization, assignment, parameter-passing, etc. The main issue fixed here is that we used rather confusing wording for diagnostics such as t.c:2:9: warning: initializing 'char const [2]' discards qualifiers, expected 'char *' [-pedantic] char *name = __func__; ^ ~~~~~~~~ We're not initializing a 'char const [2]', we're initializing a 'char *' with an expression of type 'char const [2]'. Similar problems existed for other diagnostics in this area, so I've normalized them all with more precise descriptive text to say what we're initializing/converting/assigning/etc. from and to. The warning for the code above is now: t.c:2:9: warning: initializing 'char *' from an expression of type 'char const [2]' discards qualifiers [-pedantic] char *name = __func__; ^ ~~~~~~~~ Fixes <rdar://problem/7447179>. llvm-svn: 100832 | ||||
* | add a bunch of missing prototypes to tests | Chris Lattner | 2010-01-09 | 1 | -0/+1 |
| | | | | llvm-svn: 93072 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
| | | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -6/+4 |
| | | | | llvm-svn: 81346 | ||||
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | fix type of ?: operator. If one of the operator is void, the type should be ↵ | Nuno Lopes | 2008-06-04 | 1 | -1/+12 |
| | | | | | | | | void as well. Please confirm this is safe llvm-svn: 51957 | ||||
* | Fix an nice and subtle parser bug reported by Nico Weber. | Chris Lattner | 2007-12-18 | 1 | -0/+4 |
llvm-svn: 45149 |