[llvm-testresults] buildbot failure in smooshlab on clang-i386-darwin9

daniel_dunbar at apple.com daniel_dunbar at apple.com
Wed Jul 22 17:05:37 PDT 2009


The Buildbot has detected a new failure of clang-i386-darwin9 on smooshlab.
Full details are available at:
 http://smooshlab.apple.com:8010/builders/clang-i386-darwin9/builds/2408

Buildbot URL: http://smooshlab.apple.com:8010/

Buildslave for this Build: ddunbar2.apple.com

Build Reason: 
Build Source Stamp: 76821
Blamelist: mrs

BUILD FAILED: failed compile

sincerely,
 -The Buildbot


================================================================================

CHANGES:
Files:
 include/clang/Basic/DiagnosticSemaKinds.td
 lib/Sema/Sema.h
 lib/Sema/SemaDecl.cpp
 test/Sema/return.c
 test/SemaCXX/return.cpp
 test/SemaObjC/return.m
At: Wed 22 Jul 2009 16:58:12
Changed By: mrs
Comments: Add warning for falling off the end of a function that should return a
value.  This is on by default, and controlled by -Wreturn-type (-Wmost
-Wall).  I believe there should be very few false positives, though
the most interesting case would be:

  int() { bar(); }

when bar does:

  bar() { while (1) ; }

Here, we assume functions return, unless they are marked with the
noreturn attribute.  I can envision a fixit note for functions that
never return normally that don't have a noreturn attribute to add a
noreturn attribute.

If anyone spots other false positives, let me know!




LOGS:
Last 10 lines of 'compile.stdio':
	llvm[4]: Building Debug Archive Library libclangCodeGen.a
	llvm[4]: Compiling SimpleSValuator.cpp for Debug build 
	llvm[4]: Compiling Store.cpp for Debug build 
	llvm[4]: Compiling SymbolManager.cpp for Debug build 
	llvm[4]: Compiling UninitializedValues.cpp for Debug build 
	llvm[4]: Compiling ValueManager.cpp for Debug build 
	llvm[4]: Building Debug Archive Library libclangAnalysis.a
	make[2]: *** [all] Error 1
	make[1]: *** [clang/.makeall] Error 2
	make: *** [all] Error 1

Last 10 lines of 'compile.warnings':
	/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/tools/clang/lib/Sema/../../include/clang/Parse/Action.h:422: warning: 'virtual clang::OpaquePtr<0> clang::Action::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, bool&)' was hidden
	Sema.h:526: warning:   by 'virtual clang::OpaquePtr<0> clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::ASTMultiPtr<&clang::ActionBase::DeleteTemplateParams>, bool&)'
	/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/tools/clang/lib/Sema/../../include/clang/Parse/Action.h:422: warning: 'virtual clang::OpaquePtr<0> clang::Action::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, bool&)' was hidden
	Sema.h:526: warning:   by 'virtual clang::OpaquePtr<0> clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::ASTMultiPtr<&clang::ActionBase::DeleteTemplateParams>, bool&)'
	/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/tools/clang/lib/Sema/../../include/clang/Parse/Action.h:422: warning: 'virtual clang::OpaquePtr<0> clang::Action::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, bool&)' was hidden
	Sema.h:526: warning:   by 'virtual clang::OpaquePtr<0> clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::ASTMultiPtr<&clang::ActionBase::DeleteTemplateParams>, bool&)'
	/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/tools/clang/lib/Sema/../../include/clang/Parse/Action.h:422: warning: 'virtual clang::OpaquePtr<0> clang::Action::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, bool&)' was hidden
	Sema.h:526: warning:   by 'virtual clang::OpaquePtr<0> clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::ASTMultiPtr<&clang::ActionBase::DeleteTemplateParams>, bool&)'
	/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/tools/clang/lib/Sema/../../include/clang/Parse/Action.h:422: warning: 'virtual clang::OpaquePtr<0> clang::Action::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, bool&)' was hidden
	Sema.h:526: warning:   by 'virtual clang::OpaquePtr<0> clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Action::TagKind, clang::SourceLocation, const clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::ASTMultiPtr<&clang::ActionBase::DeleteTemplateParams>, bool&)'




More information about the llvm-testresults mailing list