Aaron Ballman
7eb66ba14a
expected-no-diagnostics@ does not make sense, switching to a more idiomatic form; NFC.
...
llvm-svn: 355601
2019-03-07 15:03:06 +00:00
Charles Li
542f04cc4d
[Lit Test] Updated 26 Lit tests to be C++11 compatible.
...
Expected diagnostics have been expanded to vary by C++ dialect.
RUN line has also been expanded to: default, C++98/03 and C++11.
llvm-svn: 252785
2015-11-11 19:34:47 +00:00
Chad Rosier
d1956e46dd
[frontend] Don't allow a mapping to a warning override an error/fatal mapping.
...
rdar://10736625
llvm-svn: 149662
2012-02-03 01:49:51 +00:00
John McCall
85f9055955
When pretty-printing tag types, only print the tag if we're in C (and
...
therefore not creating ElaboratedTypes, which are still pretty-printed
with the written tag).
Most of these testcase changes were done by script, so don't feel too
sorry for my fingers.
llvm-svn: 98149
2010-03-10 11:27:22 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- 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
2009-12-15 20:14:24 +00:00
Fariborz Jahanian
0a47cdfeef
Make tests use the new clang -cc1 flag.
...
llvm-svn: 91298
2009-12-14 17:43:07 +00:00
Chris Lattner
56caf31afb
Give the "cannot pass object of non-POD type 'class C' through variadic constructor; call will abort at runtime" warning a -W flag (non-pod-varargs) and default it being an error by default. There is no good reason to allow users to get bitten by this sort of thing by default.
...
llvm-svn: 91094
2009-12-11 01:52:50 +00:00
Daniel Dunbar
a45cf5b6b0
Rename clang to clang-cc.
...
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
2009-03-24 02:24:46 +00:00
Anders Carlsson
ac0d7bd709
id<Foo> is a POD type.
...
llvm-svn: 64175
2009-02-09 21:53:01 +00:00
Anders Carlsson
a7d069d63c
Use a single function for doing vararg argument promotion. Also, make sure to do the promotion before checking the type - fixes PR3340.
...
llvm-svn: 62323
2009-01-16 16:48:51 +00:00
Anders Carlsson
6393773c4b
Warn when someone tries to pass a variable with a non-POD type to a varargs function/method/block.
...
llvm-svn: 62148
2009-01-13 05:48:52 +00:00