llvm-project/clang/lib/Sema
Saleem Abdulrasool a2823578e6 Sema: analyze I,J,K,M,N,O constraints
Add additional constraint checking for target specific behaviour for inline
assembly constraints.  We would previously silently let all arguments through
for these constraints.  In cases where the constraints were violated, we could
end up failing to select instructions and triggering assertions or worse,
silently ignoring instructions.

llvm-svn: 225244
2015-01-06 04:26:34 +00:00
..
AnalysisBasedWarnings.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
AttributeList.cpp Automate attribute argument count semantic checking when there are variadic or optional arguments present. With this, the only time you should have to manually check attribute argument counts is when HasCustomParsing is set to true, or when you have variadic arguments that aren't really variadic (like ownership_holds and friends). 2014-07-31 16:37:04 +00:00
CMakeLists.txt Split off CUDA-specific Sema parts to a new file 2014-09-03 15:27:03 +00:00
CodeCompleteConsumer.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
DeclSpec.cpp [OpenCL] Generic address space has been added in OpenCL v2.0. 2014-11-26 14:10:06 +00:00
DelayedDiagnostic.cpp Objective-C. Diagnose when property access is using declared 2014-06-16 17:25:41 +00:00
IdentifierResolver.cpp PR20769: Fix confusion when checking whether a prior default argument was in 2014-08-27 22:31:34 +00:00
JumpDiagnostics.cpp ms-inline-asm: Scope inline asm labels to functions 2014-09-22 02:21:54 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
Scope.cpp Revert r213437 2014-07-25 20:52:51 +00:00
ScopeInfo.cpp Objective-C ARC. Fixes a crash when checking for 'weak' propery 2014-11-21 21:12:11 +00:00
Sema.cpp Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
SemaAccess.cpp Don't assume friended C++ method decls have qualifiers 2014-12-17 23:40:46 +00:00
SemaAttr.cpp MS Compat: mark globals emitted in read-only sections const 2014-10-16 20:52:46 +00:00
SemaCUDA.cpp Consider calls from implict host device functions as valid in SemaCUDA. 2014-12-16 20:12:38 +00:00
SemaCXXScopeSpec.cpp Remove a comment that appears a second time 22 lines further down. 2014-12-30 20:13:37 +00:00
SemaCast.cpp Sema: Check value dependent casts when possible 2014-12-16 00:46:30 +00:00
SemaChecking.cpp [x86] Add range checking to the constant argument of cmpps/pd/ss/sd builtinas. 2014-12-27 07:00:08 +00:00
SemaCodeComplete.cpp Address review feedback on r221933. 2014-12-27 03:58:08 +00:00
SemaConsumer.cpp
SemaDecl.cpp Sema: Don't crash when solitary :: token appears before { in struct def 2014-12-29 05:17:46 +00:00
SemaDeclAttr.cpp Attributes accepting an EnumArgument are allowed to pass a string literal, or an identifier. VariadicEnumArguments now behave consistently instead of only accepting a string literal. 2014-12-19 16:42:04 +00:00
SemaDeclCXX.cpp Sema: Variable templates cannot be static bitfield members 2014-12-28 22:51:45 +00:00
SemaDeclObjC.cpp Objective-C: Tweak unavailability warning. 2014-12-27 07:09:37 +00:00
SemaExceptionSpec.cpp Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
SemaExpr.cpp WIP 2014-12-26 06:06:53 +00:00
SemaExprCXX.cpp Sema: Permit an atomic type to be initialized by the same atomic type 2014-12-28 21:47:31 +00:00
SemaExprMember.cpp Fix diagnostic for static methods referencing fields from using decls 2014-12-18 00:42:51 +00:00
SemaExprObjC.cpp Address review feedback on r221933. 2014-12-27 03:58:08 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp Handle use of default member initializers before end of outermost class 2014-11-17 23:36:45 +00:00
SemaLambda.cpp DR1048: drop top-level cv-qualifiers when deducing the return type of a 2014-12-19 22:10:51 +00:00
SemaLookup.cpp Add a new flag, -fspell-checking-limit=<number> to control how many times we'll do spell checking. Note that spell checking will change the produced AST, so we don't automatically change this value when someone sets -ferror-limit=. With this, merge test typo-correction-pt2.cpp into typo-correction.cpp. 2014-12-16 21:39:02 +00:00
SemaObjCProperty.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
SemaOpenMP.cpp Renamed RefersToEnclosingLocal bitfield to RefersToCapturedVariable. 2014-12-16 08:01:48 +00:00
SemaOverload.cpp Improve handling of value dependent expressions in __attribute__((enable_if)), both in the condition expression and at the call site. Fixes PR20988! 2014-12-16 06:12:01 +00:00
SemaPseudoObject.cpp Objective-C. Prevents a crash generating AST for a 2014-09-15 21:19:39 +00:00
SemaStmt.cpp DR1048: drop top-level cv-qualifiers when deducing the return type of a 2014-12-19 22:10:51 +00:00
SemaStmtAsm.cpp Sema: analyze I,J,K,M,N,O constraints 2015-01-06 04:26:34 +00:00
SemaStmtAttr.cpp Allow constant expressions in pragma loop hints. 2014-10-12 20:46:07 +00:00
SemaTemplate.cpp This reverts commit r224668 and r224667. 2014-12-23 15:57:12 +00:00
SemaTemplateDeduction.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
SemaTemplateInstantiate.cpp Fix crash-on-valid if a lambda-expression appears lexically directly within a 2014-11-20 22:56:34 +00:00
SemaTemplateInstantiateDecl.cpp Instantiation of a CXXMethodDecl may fail when the parameter type cannot be instantiated. Do not crash in this case. Fixes PR22040! 2015-01-02 01:33:12 +00:00
SemaTemplateVariadic.cpp Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
SemaType.cpp Wrap to 80 columns, no behavior change. 2015-01-04 07:59:35 +00:00
TreeTransform.h Handle errors in lambda prototype instantiation correctly 2014-12-15 21:07:16 +00:00
TypeLocBuilder.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
TypeLocBuilder.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00