Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclAttr.cpp925 StringRef StateString; in handleCallableWhenAttr() local
929 StateString = Ident->Ident->getName(); in handleCallableWhenAttr()
932 if (!S.checkStringLiteralArgumentAttr(Attr, ArgIndex, StateString, &Loc)) in handleCallableWhenAttr()
936 if (!CallableWhenAttr::ConvertStrToConsumedState(StateString, in handleCallableWhenAttr()
939 << Attr.getName() << StateString; in handleCallableWhenAttr()
957 StringRef StateString = Ident->Ident->getName(); in handleParamTypestateAttr() local
959 if (!ParamTypestateAttr::ConvertStrToConsumedState(StateString, in handleParamTypestateAttr()
962 << Attr.getName() << StateString; in handleParamTypestateAttr()
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp1203 StringRef StateString; in handleCallableWhenAttr() local
1207 StateString = Ident->Ident->getName(); in handleCallableWhenAttr()
1210 if (!S.checkStringLiteralArgumentAttr(AL, ArgIndex, StateString, &Loc)) in handleCallableWhenAttr()
1214 if (!CallableWhenAttr::ConvertStrToConsumedState(StateString, in handleCallableWhenAttr()
1216 S.Diag(Loc, diag::warn_attribute_type_not_supported) << AL << StateString; in handleCallableWhenAttr()
1232 StringRef StateString = Ident->Ident->getName(); in handleParamTypestateAttr() local
1234 if (!ParamTypestateAttr::ConvertStrToConsumedState(StateString, in handleParamTypestateAttr()
1237 << AL << StateString; in handleParamTypestateAttr()