Disallow most calling convention attributes on PS4
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 19 Jul 2019 21:38:34 +0000 (21:38 +0000)
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 19 Jul 2019 21:38:34 +0000 (21:38 +0000)
commitf4038e75d20257742063826fd0adc2971b3e2367
tree26a9ed304ebcde3dfb9fe1212d43101d33bdfd13
parent7b5a54e369035a5754be2e836b7b583b3db8c884
Disallow most calling convention attributes on PS4

PS4 now only allows "cdecl", and its equivalent on PS4, "sysv_abi".

Differential Revision: https://reviews.llvm.org/D64780

llvm-svn: 366617
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/TargetInfo.h
clang/lib/Basic/Targets/OSTargets.h
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/Sema/no_callconv.cpp [new file with mode: 0644]
clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp