Home
last modified time | relevance | path

Searched refs:StateName (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp8962 FunctionType::ArmStateValue CurrentState, StringRef StateName) { in checkArmNewAttrMutualExclusion() argument
8968 << (std::string("'__arm_new(\"") + StateName.str() + "\")'") in checkArmNewAttrMutualExclusion()
8970 StateName.str() + "\")'") in checkArmNewAttrMutualExclusion()
8999 StringRef StateName; in handleArmNewAttr() local
9001 if (!S.checkStringLiteralArgumentAttr(AL, I, StateName, &LiteralLoc)) in handleArmNewAttr()
9004 if (StateName == "za") in handleArmNewAttr()
9006 else if (StateName == "zt0") in handleArmNewAttr()
9009 S.Diag(LiteralLoc, diag::err_unknown_arm_state) << StateName; in handleArmNewAttr()
9014 if (!llvm::is_contained(NewState, StateName)) // Avoid adding duplicates. in handleArmNewAttr()
9015 NewState.push_back(StateName); in handleArmNewAttr()
H A DSemaType.cpp7931 StringRef StateName; in handleArmStateAttribute() local
7933 if (!S.checkStringLiteralArgumentAttr(Attr, I, StateName, &LiteralLoc)) in handleArmStateAttribute()
7938 if (StateName == "za") { in handleArmStateAttribute()
7941 } else if (StateName == "zt0") { in handleArmStateAttribute()
7945 S.Diag(LiteralLoc, diag::err_unknown_arm_state) << StateName; in handleArmStateAttribute()
7955 << StateName; in handleArmStateAttribute()