Do not allow functions or kernels called 'main' in OpenCL.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194068 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test that wasn't testing anything

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194069 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test that was not being run

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194070 91177308-0d34-0410-b5e6-96231b3b80d8
Make test run reliably

llc waits for input on stdin, which was not provided in this test. It
was running only thanks to a quirk in the way lit concatenates
commands.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194071 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a test that was never being run, mark it XFAIL

Turns out this has always been crashing since the test landed in
r186647:

  Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function CheckAccessDeclContext, file clang/lib/AST/DeclBase.cpp, line 690.

Needs attention.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194072 91177308-0d34-0410-b5e6-96231b3b80d8
Disable the test that crashes

XFAIL wasn't enough for some of the build servers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194073 91177308-0d34-0410-b5e6-96231b3b80d8