]> granicus.if.org Git - clang/commit
fix PR7280 by making the warning on code like this:
authorChris Lattner <sabre@nondot.org>
Sun, 11 Jul 2010 23:34:02 +0000 (23:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 11 Jul 2010 23:34:02 +0000 (23:34 +0000)
commit184aa4e6ded190bfb3bbe207040467f8d7e28a04
tree721351053208d03bded51047c87bff7245d68cd3
parent9b3215d5aba6c687a3ee46b0f36367f416ac34cc
fix PR7280 by making the warning on code like this:

int test1() {
  return;
}

default to an error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108108 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
test/Analysis/null-deref-ps.c
test/CodeGen/statements.c
test/Rewriter/dllimport-typedef.c
test/Rewriter/missing-dllimport.c
test/Sema/function.c
test/Sema/implicit-decl.c
test/Sema/return.c
test/SemaTemplate/instantiate-function-1.cpp