llvm-project/clang/lib/Sema
Tom Stellard 96d5dc77fa Revert "OpenCL: handle shift operator with vector operands"
This reverts commit r228382.

This breaks the following case:  Reported by Jeroen Ketema:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150202/122961.html

typedef __attribute__((ext_vector_type(3))) char char3;

void foo() {
 char3 v = {1,1,1};
 char3 w = {1,2,3};

 w <<= v;
}

If I compile with:

 clang -x cl file.c

Then an error is produced:

file.c:10:5: error: expression is not assignable
 w <<= v;
 ~ ^
1 error generated.

llvm-svn: 228406
2015-02-06 17:30:04 +00:00
..
AnalysisBasedWarnings.cpp Thread Safety Analysis: add support for before/after annotations on mutexes. 2015-02-03 22:11:04 +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 Improves overload completion result chunks. 2015-01-28 14:17:22 +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 Wrap to 80 columns. No behavior change. 2015-02-03 23:10:18 +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 Initial support for Win64 SEH IR emission 2015-01-22 01:36:17 +00:00
ScopeInfo.cpp SEH: Diagnose use of C++ EH and SEH in the same function 2015-02-02 22:15:31 +00:00
Sema.cpp Thread Safety Analysis: add support for before/after annotations on mutexes. 2015-02-03 22:11:04 +00:00
SemaAccess.cpp Don't assume friended C++ method decls have qualifiers 2014-12-17 23:40:46 +00:00
SemaAttr.cpp The prefix 'Ms-' should be 'MS-' 2015-02-02 19:30:52 +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 Handle unscoped enumeration in nested name specifier. 2015-01-18 20:04:35 +00:00
SemaCast.cpp PR 17456 2015-01-28 21:31:26 +00:00
SemaChecking.cpp [X86] Add immediate range checking for a couple XOP builtins. 2015-01-31 08:57:52 +00:00
SemaCodeComplete.cpp Sema: Turn some applicable functions static. NBC. 2015-01-29 05:54:59 +00:00
SemaConsumer.cpp
SemaDecl.cpp [MSVC2012] Allow 'mutable' references 2015-02-04 04:45:32 +00:00
SemaDeclAttr.cpp Sema: Add support for __declspec(restrict) 2015-02-04 07:23:21 +00:00
SemaDeclCXX.cpp Code cleanup 2015-01-30 14:21:35 +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 Revert "OpenCL: handle shift operator with vector operands" 2015-02-06 17:30:04 +00:00
SemaExprCXX.cpp Sema: Add support for __declspec(restrict) 2015-02-04 07:23:21 +00:00
SemaExprMember.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
SemaExprObjC.cpp Patch fixes PR21932 crash on invalid code. Using 2015-01-20 16:53:34 +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 Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +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 Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
SemaObjCProperty.cpp Suggest objc_method_family(none) for a property named -newFoo or similar. 2015-01-16 23:04:31 +00:00
SemaOpenMP.cpp [OPENMP] Fixed DSA processing for predetermined shared variables. 2015-01-20 07:03:46 +00:00
SemaOverload.cpp Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
SemaPseudoObject.cpp Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
SemaStmt.cpp Re-land r228258 and make clang-cl's /EHs- disable -fexceptions again 2015-02-05 18:56:03 +00:00
SemaStmtAsm.cpp [inlineasm] Fix an incorrect warning about register constraint and modifier. 2015-02-04 00:27:13 +00:00
SemaStmtAttr.cpp Allow constant expressions in pragma loop hints. 2014-10-12 20:46:07 +00:00
SemaTemplate.cpp Wrap to 80 cols by removing trailing whitespace. No behavior change. 2015-01-30 02:35:21 +00:00
SemaTemplateDeduction.cpp Initial support for C++ parameter completion 2015-01-21 16:24:11 +00:00
SemaTemplateInstantiate.cpp Sema: Disable template instantiation once a fatal error is raised 2015-01-30 05:01:23 +00:00
SemaTemplateInstantiateDecl.cpp Address review feedback from r215780: Use a flag insteda of the heap. No behavior change. 2015-01-18 01:50:35 +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 Fix OpenCL 1.2 double as an optional core feature behaviour 2015-01-30 10:51:46 +00:00
TreeTransform.h Various fixes to mangling of list-initialization. 2015-02-05 06:15:50 +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