/external/clang/lib/Sema/ |
AttributeList.cpp | 112 static StringRef normalizeAttrName(StringRef AttrName, StringRef ScopeName, 118 if (IsGNU && AttrName.size() >= 4 && AttrName.startswith("__") && 119 AttrName.endswith("__")) 120 AttrName = AttrName.slice(2, AttrName.size() - 2); 122 return AttrName; 128 StringRef AttrName = Name->getName(); 134 AttrName = normalizeAttrName(AttrName, FullName, SyntaxUsed) [all...] |
SemaDeclAttr.cpp | [all...] |
/external/clang/test/Index/ |
recursive-cxx-member-calls.cpp | 101 llvm::StringRef AttrName = Name->getName(); 102 if (AttrName.startswith("__") && AttrName.endswith("__")) 103 AttrName = AttrName.substr(2, AttrName.size() - 4); 105 return llvm::StringSwitch < AttributeList::Kind > (AttrName) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPUAnnotateKernelFeatures.cpp | 217 for (StringRef AttrName : AttrNames) 218 handleAttr(Parent, Callee, AttrName); 252 StringRef AttrName = intrinsicToAttrName(IID, 254 if (!AttrName.empty() && (IsFunc || !NonKernelOnly)) { 255 F.addFnAttr(AttrName);
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUAnnotateKernelFeatures.cpp | 30 void addAttrToCallers(Function *Intrin, StringRef AttrName); 142 StringRef AttrName) { 151 CallingFunction->addFnAttr(AttrName);
|
/external/clang/lib/Parse/ |
ParseDecl.cpp | 150 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); 151 if (!AttrName) 157 attrs.addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, nullptr, 0, 163 if (!LateAttrs || !isAttributeLateParsed(*AttrName)) { 164 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc, nullptr, 171 new LateParsedAttribute(this, *AttrName, AttrNameLoc); 242 void Parser::ParseAttributeWithTypeArg(IdentifierInfo &AttrName, 263 Attrs.addNewTypeAttr(&AttrName, 267 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()), 272 IdentifierInfo *AttrName, SourceLocation AttrNameLoc [all...] |
ParseDeclCXX.cpp | [all...] |
ParseObjc.cpp | 875 SourceLocation AttrName = ConsumeToken(); // consume last attribute name [all...] |
/external/clang/include/clang/Sema/ |
AttributeList.h | 113 IdentifierInfo *AttrName; 237 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 241 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), 252 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 261 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), 275 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 281 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange) [all...] |
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 122 static StringRef NormalizeAttrName(StringRef AttrName) { 123 if (AttrName.startswith("__")) 124 AttrName = AttrName.substr(2, AttrName.size()); 126 if (AttrName.endswith("__")) 127 AttrName = AttrName.substr(0, AttrName.size() - 2); 129 return AttrName; [all...] |
/external/clang/include/clang/Parse/ |
Parser.h | [all...] |
/external/clang/unittests/AST/ |
CommentParser.cpp | 388 StringRef AttrName, 404 if (ActualName != AttrName) 407 "expected \"" << AttrName.str() << "\""; [all...] |