llvm-project/clang/lib/Sema
Fariborz Jahanian 48c69106e4 c: assignment/init of a function pointer whose function(s)
return to one which does not return (has noreturn attribute) 
should warn as it is an unsafe assignment. // rdar://10095762
c++ already handles this. This is the c version.

llvm-svn: 141141
2011-10-05 00:05:34 +00:00
..
AnalysisBasedWarnings.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
AttributeList.cpp Propagate __attribute__((returns_twice)) from C to IL. 2011-10-03 14:59:42 +00:00
CMakeLists.txt Update CMake build. 2011-09-24 18:21:37 +00:00
CodeCompleteConsumer.cpp When performing code completion after at @interface, allow both 2011-07-30 06:55:39 +00:00
DeclSpec.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
DelayedDiagnostic.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
IdentifierResolver.cpp Switch assert(0/false) llvm_unreachable. 2011-09-23 05:06:16 +00:00
JumpDiagnostics.cpp Move the "jump bypasses variable initialization" error -> warning downgrade from -fms-extensions to -fms-compatibility. 2011-09-18 21:48:27 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiInitializer.cpp Correctly parse braced member initializers (even in delayed parsing) and correctly pass 2011-09-24 17:48:25 +00:00
Scope.cpp Store a parameter index and function prototype depth in every 2011-05-01 22:35:37 +00:00
Sema.cpp Only print _Bool as 'bool' when 'bool' is defined as an object-like 2011-09-27 23:30:47 +00:00
SemaAccess.cpp Enforce access control for conversion operators used in contextual 2011-09-21 08:36:56 +00:00
SemaAttr.cpp Add explicit attributes to mark functions as having had their 2011-09-30 05:12:12 +00:00
SemaCXXCast.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
SemaCXXScopeSpec.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
SemaChecking.cpp Do not warn about empty format strings when there are no data arguments. Fixes <rdar://problem/9473155>. 2011-09-29 05:52:16 +00:00
SemaCodeComplete.cpp [libclang] Introduce CXCursor_CXXAccessSpecifier for C++'s public:/private:/protected: specifiers. 2011-09-30 17:58:23 +00:00
SemaDecl.cpp objc arc: Suppress certain arc diagnostics on unavailable 2011-10-03 22:11:57 +00:00
SemaDeclAttr.cpp objc arc: Suppress certain arc diagnostics on unavailable 2011-10-03 22:11:57 +00:00
SemaDeclCXX.cpp CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaDeclObjC.cpp Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
SemaExceptionSpec.cpp Only print _Bool as 'bool' when 'bool' is defined as an object-like 2011-09-27 23:30:47 +00:00
SemaExpr.cpp c: assignment/init of a function pointer whose function(s) 2011-10-05 00:05:34 +00:00
SemaExprCXX.cpp Get rid of useless helper Sema::CastCategory. 2011-09-27 21:58:52 +00:00
SemaExprMember.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
SemaExprObjC.cpp ArrayRef'ize ObjCMessageExpr 2011-10-03 06:36:45 +00:00
SemaFixItUtils.cpp Refactor the */& mismatch fixit generation out of SemaOverload and provide a simple conversion checking function. 2011-07-28 19:46:48 +00:00
SemaInit.cpp Remove a nonsensical bit of code from InitListChecker::getStructuredSubobjectInit which was increasing the reserved size for an init list past its maximum possible size. Fixes PR11056, a case where we were reserving a bunch of memory for arrays that was never actually used. 2011-10-04 20:31:48 +00:00
SemaLookup.cpp Fix Sema::CorrectTypo to ignore found but unresolved symbols 2011-09-07 20:25:59 +00:00
SemaObjCProperty.cpp objc: Turn diagnostic on property type mismatch in 2011-10-04 18:44:26 +00:00
SemaOverload.cpp Don't allow an rvalue reference to bind to the result of a calling a 2011-10-04 23:59:32 +00:00
SemaStmt.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
SemaTemplate.cpp Fixed source range for template implicit instantiations. 2011-10-03 20:34:03 +00:00
SemaTemplateDeduction.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
SemaTemplateInstantiate.cpp Fixed source range for template implicit instantiations. 2011-10-03 20:34:03 +00:00
SemaTemplateInstantiateDecl.cpp constexpr: semantic checking for constexpr functions and constructors. Based in 2011-10-01 02:31:28 +00:00
SemaTemplateVariadic.cpp ArrayRef-ifying the UnexpandedParameterPacks passed to Sema::CheckParameterPacksForExpansion 2011-09-22 02:34:54 +00:00
SemaType.cpp Parse attributes written in an ObjC method parameter type as 2011-10-01 09:56:14 +00:00
TargetAttributesSema.cpp Fix compiler warning about && in ||. 2011-09-30 20:32:22 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Allow getting all source locations of selector identifiers in a ObjCMessageExpr. 2011-10-03 06:36:51 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00