fcdd2cb2fdf35f806dd800b369fe0772a1c8c26c |
|
10-Oct-2011 |
Douglas Gregor <dgregor@apple.com> |
Don't suggest 'noreturn' for function template instantiations, because it might be wrong for other instantiations of the same function template. Fixes PR10801. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
b0656ec72e25e5c8e463c2dc39914636f0cb06d1 |
|
31-Aug-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Improve the diagnostic text for -Wmissing-noreturn to include the name of the function in question when applicable (that is, not for blocks). Patch by Joerg Sonnenberger with some stylistic tweaks by me. When discussing this weth Joerg, streaming the decl directly into the diagnostic didn't work because we have a pointer-to-const, and the overload doesn't accept such. In order to make my style tweaks to the patch, I first changed the overload to accept a pointer-to-const, and then changed the diagnostic printing layer to also use a pointer-to-const, cleaning up a gross line of code along the way. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
5811f5978feaa7b89bd89e174fa7ad077b48413e |
|
26-Jan-2011 |
Ted Kremenek <kremenek@apple.com> |
Teach -Wreturn-type that destructors can appear after a 'return' in a CFGBlock. This accidentally was working before, but the false assumption that 'return' always appeared at the end of the block was uncovered by a recent change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
8b3b3db2f6eef4080c9c99c3c3af582f9e8fa41e |
|
25-Jan-2011 |
Ted Kremenek <kremenek@apple.com> |
Tweak return-noreturn.cpp test to have its original contents, with the additional warning flag (and still marked XFAIL). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
22c412060e82dbe577dd8374677219dc68baec87 |
|
17-Jan-2011 |
Anders Carlsson <andersca@mac.com> |
Handle base and member destructors in CheckFallThrough. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
0dc5f9aea3597f2ed400dd0c1bf45ebbb4a051f3 |
|
16-Jan-2011 |
Anders Carlsson <andersca@mac.com> |
Fix a bug where the -Wmissing-noreturn would always treat constructors with base or member initializers as noreturn. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
01b0cfaf653eead65aa1eeab3dcb4f2500c91385 |
|
13-May-2010 |
Ted Kremenek <kremenek@apple.com> |
Add test case for <rdar://problem/7880658>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
259d48e1486044093131c8c078f70a28b1503e70 |
|
30-Apr-2010 |
John McCall <rjmccall@apple.com> |
An edge from a call expression to the exit block is only an abnormal edge if *none* of the successors of the call expression is the exit block. This matters when a call of bool type is the condition of (say) a while loop in a function with no statements after the loop. This *can* happen in C, but it's much more common in C++ because of overloaded operators. Suppresses some substantial number of spurious -Wmissing-noreturn warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
ca7eaeeed817001dc7cee4852a7e41f0982da1ef |
|
17-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
If a non-noreturn virtual member function is guaranteed not to return, do *not* suggest that the function could be attribute 'noreturn'; overridden functions may end up returning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|
4855a52d2a4598883deafefea9029f454a4343ee |
|
06-Feb-2010 |
Anders Carlsson <andersca@mac.com> |
Don't diagnose missing noreturns for uninstantiated templates. Fixes PR6247. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-missing-noreturn.cpp
|