1//===--- SemaType.cpp - Semantic Analysis for Types -----------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 91 unchanged lines hidden (view full) --- 100// Function type attributes. 101#define FUNCTION_TYPE_ATTRS_CASELIST \ 102 case AttributeList::AT_NoReturn: \ 103 case AttributeList::AT_CDecl: \ 104 case AttributeList::AT_FastCall: \ 105 case AttributeList::AT_StdCall: \ 106 case AttributeList::AT_ThisCall: \ 107 case AttributeList::AT_Pascal: \ |
108 case AttributeList::AT_MSABI: \ 109 case AttributeList::AT_SysVABI: \ |
110 case AttributeList::AT_Regparm: \ 111 case AttributeList::AT_Pcs: \ 112 case AttributeList::AT_PnaclCall: \ 113 case AttributeList::AT_IntelOclBicc \ 114 115namespace { 116 /// An object which stores processing state for the entire 117 /// GetTypeForDeclarator process. --- 3175 unchanged lines hidden (view full) --- 3293 case AttributedType::attr_pascal: 3294 return AttributeList::AT_Pascal; 3295 case AttributedType::attr_pcs: 3296 return AttributeList::AT_Pcs; 3297 case AttributedType::attr_pnaclcall: 3298 return AttributeList::AT_PnaclCall; 3299 case AttributedType::attr_inteloclbicc: 3300 return AttributeList::AT_IntelOclBicc; |
3301 case AttributedType::attr_ms_abi: 3302 return AttributeList::AT_MSABI; 3303 case AttributedType::attr_sysv_abi: 3304 return AttributeList::AT_SysVABI; |
3305 } 3306 llvm_unreachable("unexpected attribute kind!"); 3307} 3308 3309static void fillAttributedTypeLoc(AttributedTypeLoc TL, 3310 const AttributeList *attrs) { 3311 AttributedType::Kind kind = TL.getAttrKind(); 3312 --- 1810 unchanged lines hidden --- |