llvm-project/clang/lib/Sema
David Blaikie 9455da0ea9 Warn on 64-to-32 for source value of x bits where 64 >= x > 32.
The codepath already only works for source bits > target bits, it's just that
it was testing for the source expr bits to be exactly 64. This meant simple
cases (int i = x_long / 2) were missed & ended up under the general
-Wconversion warning, which a user might not have enabled.

llvm-svn: 154626
2012-04-12 22:40:54 +00:00
..
AnalysisBasedWarnings.cpp ThreadSafetyReporter: Manage diagnostics in a std::list. 2012-03-26 14:05:40 +00:00
AttributeList.cpp Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CMakeLists.txt Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CodeCompleteConsumer.cpp [code-complete] Introduce CodeCompletionTUInfo which will be used for caching 2012-04-10 17:23:48 +00:00
DeclSpec.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp [Sema] Fix SemaDiagnosticBuilder to be inline. 2012-03-14 09:49:32 +00:00
SemaAccess.cpp Fix the access check performed as part of the determination of whether 2012-04-09 20:53:23 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Support for definitions of member enumerations of class templates outside the 2012-03-23 03:33:32 +00:00
SemaCast.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaChecking.cpp Warn on 64-to-32 for source value of x bits where 64 >= x > 32. 2012-04-12 22:40:54 +00:00
SemaCodeComplete.cpp Include the Objective-C parameter- and return-passing qualifiers when 2012-04-10 18:35:07 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp Fixed scoping error for late parsed attributes in nested classes. 2012-04-06 15:10:17 +00:00
SemaDeclAttr.cpp Thread safety analysis: downgraded requirement that mutex expressions refer to a lockable type from error to warning. 2012-04-06 20:02:30 +00:00
SemaDeclCXX.cpp My original patch missed the virtual-base case for destroying 2012-04-09 21:51:56 +00:00
SemaDeclObjC.cpp Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
SemaExceptionSpec.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaExpr.cpp objective-c literals: Issue warning and ignore 2012-04-12 21:24:56 +00:00
SemaExprCXX.cpp Fix some i1/i8 confusion within _Atomic(bool) in IR generation, both 2012-04-12 20:42:30 +00:00
SemaExprMember.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
SemaExprObjC.cpp objc-arc: provide a warning when 'receiver' of a message is 'weak' 2012-04-04 20:05:25 +00:00
SemaFixItUtils.cpp Use character literals for vexing initialization fixit hints. 2012-03-18 02:56:47 +00:00
SemaInit.cpp When we determine that an initialization sequence failed due to an 2012-04-10 20:43:46 +00:00
SemaLambda.cpp Move the computation of the lambda mangling information (mangling 2012-04-04 17:40:10 +00:00
SemaLookup.cpp Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +00:00
SemaObjCProperty.cpp Fix PR10447: lazily building name lookup tables for DeclContexts was broken. 2012-03-13 03:12:56 +00:00
SemaOverload.cpp s/isAtomicConversion/tryAtomicConversion/g, per Jordy's suggestion. 2012-04-12 20:48:09 +00:00
SemaPseudoObject.cpp Add info to ObjCPropertyRefExpr to indicate whether the dot syntax property 2012-03-30 00:19:18 +00:00
SemaStmt.cpp Handle placeholder expressions in an ObjC for-collection loop. 2012-03-30 05:43:39 +00:00
SemaTemplate.cpp Improve diagnostics in C++11 when a non-type template argument for a 2012-04-10 19:03:30 +00:00
SemaTemplateDeduction.cpp Implement support for null non-type template arguments for non-type 2012-04-06 22:40:38 +00:00
SemaTemplateInstantiate.cpp Implement support for null non-type template arguments for non-type 2012-04-06 22:40:38 +00:00
SemaTemplateInstantiateDecl.cpp If something already instantiated is reinstantiated as an explicit definition, 2012-04-04 02:38:36 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp Implement C90 pedantic warning for duplicate declaration specifiers which are duplicated via a typedef. Patch by Tim Northover. 2012-04-05 22:47:34 +00:00
TargetAttributesSema.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Fix a Sema invariant bug that I recently introduced involving 2012-04-06 18:20:53 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00