Searched refs:StateName (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaARM.cpp | 1221 FunctionType::ArmStateValue CurrentState, StringRef StateName) { in checkNewAttrMutualExclusion() argument 1227 << (std::string("'__arm_new(\"") + StateName.str() + "\")'") in checkNewAttrMutualExclusion() 1229 StateName.str() + "\")'") in checkNewAttrMutualExclusion() 1258 StringRef StateName; in handleNewAttr() local 1260 if (!SemaRef.checkStringLiteralArgumentAttr(AL, I, StateName, &LiteralLoc)) in handleNewAttr() 1263 if (StateName == "za") in handleNewAttr() 1265 else if (StateName == "zt0") in handleNewAttr() 1268 Diag(LiteralLoc, diag::err_unknown_arm_state) << StateName; in handleNewAttr() 1273 if (!llvm::is_contained(NewState, StateName)) // Avoid adding duplicates. in handleNewAttr() 1274 NewState.push_back(StateName); in handleNewAttr()
|
H A D | SemaType.cpp | 7623 StringRef StateName; in handleArmStateAttribute() local 7625 if (!S.checkStringLiteralArgumentAttr(Attr, I, StateName, &LiteralLoc)) in handleArmStateAttribute() 7630 if (StateName == "za") { in handleArmStateAttribute() 7633 } else if (StateName == "zt0") { in handleArmStateAttribute() 7637 S.Diag(LiteralLoc, diag::err_unknown_arm_state) << StateName; in handleArmStateAttribute() 7647 << StateName; in handleArmStateAttribute()
|