Home
last modified time | relevance | path

Searched refs:Spelling (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm/lib/Option/
DOption.cpp108 StringRef Spelling; in accept() local
111 Spelling = StringRef(Args.getArgString(Index), ArgSize); in accept()
113 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) + in accept()
122 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
141 return new Arg(UnaliasedOption, Spelling, Index++, Value); in accept()
146 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
182 return new Arg(UnaliasedOption, Spelling, in accept()
194 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept()
205 return new Arg(*this, Spelling, Index++, Value); in accept()
214 return new Arg(UnaliasedOption, Spelling, in accept()
[all …]
DArg.cpp22 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
27 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
34 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Option/
DOption.cpp114 StringRef Spelling; in accept() local
117 Spelling = StringRef(Args.getArgString(Index), ArgSize); in accept()
119 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) + in accept()
128 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
147 return new Arg(UnaliasedOption, Spelling, Index++, Value); in accept()
152 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
188 return new Arg(UnaliasedOption, Spelling, in accept()
200 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept()
211 return new Arg(*this, Spelling, Index++, Value); in accept()
220 return new Arg(UnaliasedOption, Spelling, in accept()
[all …]
DArg.cpp23 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
28 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
35 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg()
/external/clang/test/Index/
Dget-cursor.m149 // CHECK-MEMBERREF: 40:9 MemberRefExpr=name:23:21 Extent=[40:3 - 40:13] Spelling=name ([40:9 - 40:1…
150 // CHECK-MEMBERREF: 50:17 MemberRefExpr=implicitProp:45:7 Extent=[50:11 - 50:29] Spelling=implicitP…
151 // CHECK-MEMBERREF: 51:9 MemberRefExpr=setImplicitProp::46:8 Extent=[51:3 - 51:21] Spelling=setImpl…
152 // CHECK-MEMBERREF: 52:11 MemberRefExpr=setImplicitProp::46:8 Extent=[52:5 - 52:23] Spelling=setImp…
158 … 56:8 ObjCInstanceMethodDecl=setFoo:withBar::56:8 Extent=[56:1 - 56:37] Spelling=setFoo:withBar: (…
159 // CHECK-SPELLRANGE: 60:3 ObjCMessageExpr=setFoo:withBar::56:8 Extent=[60:3 - 60:29] Spelling=setFo…
160 // CHECK-SPELLRANGE: 65:12 ObjCCategoryDecl=Dido:65:12 Extent=[65:1 - 66:5] Spelling=Dido ([65:18 -…
161 …67:17 ObjCCategoryImplDecl=Dido:67:17 (Definition) Extent=[67:1 - 68:2] Spelling=Dido ([67:23 - 67…
163 // CHECK-SPELLRANGE: 70:8 ObjCClassRef=Forw1:70:8 Extent=[70:8 - 70:13] Spelling=Forw1 ([70:8 - 70:…
164 // CHECK-SPELLRANGE: 70:15 ObjCClassRef=Forw2:70:15 Extent=[70:15 - 70:20] Spelling=Forw2 ([70:15 -…
[all …]
Dboxed-exprs.m15 // CHECK-CURSOR: 7:19 DeclRefExpr=glob_str:4:13 Extent=[7:19 - 7:27] Spelling=glob_str ([7:19 - 7:2…
19 // CHECK-CURSOR2: 9:19 DeclRefExpr=cs:8:38 Extent=[9:19 - 9:21] Spelling=cs ([9:19 - 9:21])
/external/llvm/include/llvm/Option/
DArg.h44 StringRef Spelling; variable
62 Arg(const Option Opt, StringRef Spelling, unsigned Index,
64 Arg(const Option Opt, StringRef Spelling, unsigned Index,
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
71 StringRef getSpelling() const { return Spelling; } in getSpelling()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Option/
DArg.h45 StringRef Spelling; variable
63 Arg(const Option Opt, StringRef Spelling, unsigned Index,
65 Arg(const Option Opt, StringRef Spelling, unsigned Index,
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
74 StringRef getSpelling() const { return Spelling; } in getSpelling()
/external/clang/tools/libclang/
DCXString.cpp100 char *Spelling = static_cast<char *>(malloc(String.size() + 1)); in createDup() local
101 memmove(Spelling, String.data(), String.size()); in createDup()
102 Spelling[String.size()] = 0; in createDup()
103 Result.data = Spelling; in createDup()
DCXLoadedDiagnostic.h86 const char *Spelling; variable
DCXLoadedDiagnostic.cpp109 return cxstring::createRef(Spelling); in getSpelling()
388 D.Spelling = TopDiags->copyString(Message); in visitDiagnosticRecord()
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp52 explicit FlattenedSpelling(const Record &Spelling) : in FlattenedSpelling() argument
53 V(Spelling.getValueAsString("Variety")), in FlattenedSpelling()
54 N(Spelling.getValueAsString("Name")) { in FlattenedSpelling()
59 NS = Spelling.getValueAsString("Namespace"); in FlattenedSpelling()
61 K = Spelling.getValueAsBitOrUnset("KnownToGCC", Unset); in FlattenedSpelling()
77 for (const auto &Spelling : Spellings) { in GetFlattenedSpellings() local
78 if (Spelling->getValueAsString("Variety") == "GCC") { in GetFlattenedSpellings()
80 Ret.emplace_back("GNU", Spelling->getValueAsString("Name"), "", true); in GetFlattenedSpellings()
81 Ret.emplace_back("CXX11", Spelling->getValueAsString("Name"), "gnu", in GetFlattenedSpellings()
84 Ret.push_back(FlattenedSpelling(*Spelling)); in GetFlattenedSpellings()
[all …]
DClangCommentHTMLTagsEmitter.cpp44 std::string Spelling = Tag->getValueAsString("Spelling"); in EmitClangCommentHTMLTagsProperties() local
45 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties()
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp58 std::string Spelling = Tag.getValueAsString("Spelling"); in EmitClangCommentHTMLNamedCharacterReferences() local
70 StringMatcher::StringPair Match(Spelling, CLiteral.str()); in EmitClangCommentHTMLNamedCharacterReferences()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp78 LoopHintAttr::Spelling Spelling; in handleLoopHintAttr() local
83 Spelling = LoopHintAttr::Pragma_nounroll; in handleLoopHintAttr()
87 Spelling = LoopHintAttr::Pragma_unroll; in handleLoopHintAttr()
99 Spelling = LoopHintAttr::Pragma_clang_loop; in handleLoopHintAttr()
138 return LoopHintAttr::CreateImplicit(S.Context, Spelling, Option, State, in handleLoopHintAttr()
/external/clang/include/clang/AST/
DOperationKinds.h29 #define BINARY_OPERATION(Name, Spelling) BO_##Name, argument
34 #define UNARY_OPERATION(Name, Spelling) UO_##Name, argument
DCommentHTMLTags.td2 string Spelling = spelling;
61 string Spelling = spelling;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCExpr.cpp23 const char * const Spelling; member
198 return Modifier->Spelling; in getName()
206 [&Name](ModifierEntry const &Mod) { return Mod.Spelling == Name; }); in getKindByName()
/external/clang/include/clang/Basic/
DOperatorKinds.def27 /// Spelling: A string that provides a canonical spelling for the
51 # define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly)
55 # define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly) \
56 OVERLOADED_OPERATOR(Name,Spelling,unknown,Unary,Binary,MemberOnly)
DOperatorKinds.h24 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \ argument
/external/clang/lib/Rewrite/
DTokenRewriter.cpp89 const char *Spelling; in AddTokenBefore() local
90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); in AddTokenBefore()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp169 MSInheritanceAttr::Spelling CXXRecordDecl::calculateInheritanceModel() const { in calculateInheritanceModel()
179 MSInheritanceAttr::Spelling
224 MSInheritanceAttr::Spelling Inheritance = RD->getMSInheritanceModel(); in getMSMemberPointerSlots()
/external/clang/lib/Parse/
DParseAST.cpp79 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print() local
84 OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n"; in print()
DParseExprCXX.cpp2269 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \ in ParseUnqualifiedIdOperator() argument
2274 #define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly) in ParseUnqualifiedIdOperator() argument
2930 #define TYPE_TRAIT_1(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2931 case tok::kw_ ## Spelling: return UTT_ ## Name; in TypeTraitFromTokKind()
2932 #define TYPE_TRAIT_2(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2933 case tok::kw_ ## Spelling: return BTT_ ## Name; in TypeTraitFromTokKind()
2935 #define TYPE_TRAIT_N(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2936 case tok::kw_ ## Spelling: return TT_ ## Name; in TypeTraitFromTokKind()
2960 #define TYPE_TRAIT(N,Spelling,K) case tok::kw_##Spelling: return N; in TypeTraitArity() argument
/external/clang/lib/Lex/
DLexer.cpp232 const LangOptions &LangOpts, char *Spelling) { in getSpellingSlow() argument
242 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts); in getSpellingSlow()
245 if (Spelling[Length - 1] == '"') in getSpellingSlow()
253 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') { in getSpellingSlow()
261 memcpy(Spelling + Length, BufPtr, RawLength); in getSpellingSlow()
271 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts); in getSpellingSlow()
2193 std::string Spelling = PP->getSpelling(Result, &Invalid); in SaveLineComment() local
2197 assert(Spelling[0] == '/' && Spelling[1] == '/' && "Not line comment?"); in SaveLineComment()
2198 Spelling[1] = '*'; // Change prefix to "/*". in SaveLineComment()
2199 Spelling += "*/"; // add suffix. in SaveLineComment()
[all …]

123