Searched refs:AttrName (Results 1 - 15 of 15) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h62 const IdentifierInfo *AttrName = nullptr; member in class:clang::AttributeCommonInfo
84 AttributeCommonInfo(const IdentifierInfo *AttrName, argument
87 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange),
89 AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)),
92 AttributeCommonInfo(const IdentifierInfo *AttrName, argument
95 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange),
99 AttributeCommonInfo(const IdentifierInfo *AttrName, argument
103 : AttrName(AttrNam
107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, Syntax SyntaxUsed) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp53 static StringRef normalizeAttrName(StringRef AttrName, argument
64 if (ShouldNormalize && AttrName.size() >= 4 && AttrName.startswith("__") &&
65 AttrName.endswith("__"))
66 AttrName = AttrName.slice(2, AttrName.size() - 2);
68 return AttrName;
81 StringRef AttrName = Name->getName(); local
87 AttrName
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp210 for (StringRef AttrName : AttrNames)
211 handleAttr(Parent, Callee, AttrName);
295 StringRef AttrName = intrinsicToAttrName(IID, local
297 if (!AttrName.empty() && (IsFunc || !NonKernelOnly)) {
298 F.addFnAttr(AttrName);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp175 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
176 if (!AttrName)
182 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0,
188 if (!LateAttrs || !isAttributeLateParsed(*AttrName)) {
189 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc, nullptr,
196 new LateParsedAttribute(this, *AttrName, AttrNameLoc);
301 void Parser::ParseAttributeWithTypeArg(IdentifierInfo &AttrName, argument
322 Attrs.addNewTypeAttr(&AttrName,
326 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()),
331 IdentifierInfo *AttrName, SourceLocatio
330 ParseAttributeArgsCommon( IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument
429 ParseGNUAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax, Declarator *D) argument
484 ParseClangAttributeArgs( IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument
517 ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs) argument
694 IdentifierInfo *AttrName; local
746 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
797 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
807 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
815 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
828 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
1560 ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc, ParsedAttr::Syntax Syntax) argument
3543 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
[all...]
H A DParseDeclCXX.cpp1245 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
1247 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0,
3985 static bool IsBuiltInOrStandardCXX11Attribute(IdentifierInfo *AttrName, argument
3988 ParsedAttr::getParsedKind(AttrName, ScopeName, ParsedAttr::AS_CXX11)) {
3996 return !ScopeName && AttrName->getName().equals("nodiscard");
3998 return !ScopeName && AttrName->getName().equals("maybe_unused");
4018 bool Parser::ParseCXX11AttributeArgs(IdentifierInfo *AttrName, argument
4033 AttrName, getTargetInfo(), getLangOpts())) {
4043 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
4051 NumArgs = ParseClangAttributeArgs(AttrName, AttrNameLo
4148 IdentifierInfo *ScopeName = nullptr, *AttrName = nullptr; local
[all...]
H A DParseObjc.cpp860 SourceLocation AttrName = ConsumeToken(); // consume last attribute name local
961 Diag(AttrName, diag::err_objc_expected_property_attr) << II;
2377 SourceLocation AttrName = ConsumeToken(); // consume attribute name local
2386 Diag(AttrName, diag::err_objc_expected_property_attr) << II;
H A DParsePragma.cpp1448 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); local
1452 Attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0,
1455 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, /*EndLoc=*/nullptr,
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1196 IdentifierInfo &AttrName; member in struct:clang::LateParsedAttribute
1203 : Self(P), AttrName(Name), AttrNameLoc(Loc) {}
2522 ParseAttributeArgsCommon(IdentifierInfo *AttrName, SourceLocation AttrNameLoc,
2546 void ParseGNUAttributeArgs(IdentifierInfo *AttrName,
2554 ParseClangAttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc,
2589 bool ParseCXX11AttributeArgs(IdentifierInfo *AttrName,
2613 bool ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName,
2664 void ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName,
2673 ParseAttributeWithTypeArg(IdentifierInfo &AttrName,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h504 auto AttrName = "sample-profile-suffix-elision-policy"; local
505 auto Attr = F.getFnAttribute(AttrName).getValueAsString();
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp135 static StringRef NormalizeAttrName(StringRef AttrName) { argument
136 AttrName.consume_front("__");
137 AttrName.consume_back("__");
138 return AttrName;
3270 static bool isArgVariadic(const Record &R, StringRef AttrName) {
3271 return createArgument(R, AttrName)->isVariadic();
3743 std::string AttrName;
3746 AttrName = Attr.getValueAsString("ParseKind");
3747 if (Seen.find(AttrName) != Seen.end())
3749 Seen.insert(AttrName);
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp335 StringRef AttrName = cast<MDString>(NameMD)->getString();
338 return !AttrName.startswith(InheritOptionsExceptPrefix);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp21 const char *AttrName = nullptr; local
25 AttrName = #X"Attr"; \
31 JOS.attribute("kind", AttrName);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp1678 static bool normalizeName(StringRef &AttrName) { argument
1679 if (AttrName.size() > 4 && AttrName.startswith("__") &&
1680 AttrName.endswith("__")) {
1681 AttrName = AttrName.drop_front(2).drop_back(2);
6330 StringRef AttrName = AL.getAttrName()->getName(); local
6331 normalizeName(AttrName);
6332 StringRef SanitizerName = llvm::StringSwitch<StringRef>(AttrName)
H A DSemaType.cpp7548 StringRef AttrName = Attr.getAttrName()->getName(); local
7549 if (PrevAccessQual == AttrName.ltrim("_")) {
7552 << AttrName << Attr.getRange();
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2765 IdentifierInfo *AttrName = Record.readIdentifier(); local
2773 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc,

Completed in 366 milliseconds