Home
last modified time | relevance | path

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

123

/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])
Dannotate-module.m49 … 3:1 ModuleImport=DependsOnModule:3:1 (Definition) Extent=[3:1 - 3:24] Spelling=DependsOnModule (…
/external/llvm/lib/Option/
DOption.cpp107 StringRef Spelling; in accept() local
110 Spelling = StringRef(Args.getArgString(Index), ArgSize); in accept()
112 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) + in accept()
121 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
140 return new Arg(UnaliasedOption, Spelling, Index++, Value); in accept()
145 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
181 return new Arg(UnaliasedOption, Spelling, in accept()
193 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept()
204 return new Arg(*this, Spelling, Index++, Value); in accept()
213 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/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/clang/lib/Sema/
DSemaStmtAttr.cpp68 LoopHintAttr::Spelling Spelling; in handleLoopHintAttr() local
73 Spelling = LoopHintAttr::Pragma_nounroll; in handleLoopHintAttr()
77 Spelling = LoopHintAttr::Pragma_unroll; in handleLoopHintAttr()
89 Spelling = LoopHintAttr::Pragma_clang_loop; in handleLoopHintAttr()
126 return LoopHintAttr::CreateImplicit(S.Context, Spelling, Option, State, in handleLoopHintAttr()
/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.cpp40 explicit FlattenedSpelling(const Record &Spelling) : in FlattenedSpelling() argument
41 V(Spelling.getValueAsString("Variety")), in FlattenedSpelling()
42 N(Spelling.getValueAsString("Name")) { in FlattenedSpelling()
47 NS = Spelling.getValueAsString("Namespace"); in FlattenedSpelling()
49 K = Spelling.getValueAsBitOrUnset("KnownToGCC", Unset); in FlattenedSpelling()
64 for (const auto &Spelling : Spellings) { in GetFlattenedSpellings() local
65 if (Spelling->getValueAsString("Variety") == "GCC") { in GetFlattenedSpellings()
67 Ret.emplace_back("GNU", Spelling->getValueAsString("Name"), "", true); in GetFlattenedSpellings()
68 Ret.emplace_back("CXX11", Spelling->getValueAsString("Name"), "gnu", in GetFlattenedSpellings()
71 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/Rewrite/
DTokenRewriter.cpp89 const char *Spelling; in AddTokenBefore() local
90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); in AddTokenBefore()
/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
DAttr.td191 class Spelling<string name, string variety> {
197 class GNU<string name> : Spelling<name, "GNU">;
198 class Declspec<string name> : Spelling<name, "Declspec">;
200 : Spelling<name, "CXX11"> {
204 class Keyword<string name> : Spelling<name, "Keyword">;
205 class Pragma<string namespace, string name> : Spelling<name, "Pragma"> {
212 class GCC<string name> : Spelling<name, "GCC"> {
216 class Accessor<string name, list<Spelling> spellings> {
218 list<Spelling> Spellings = spellings;
264 list<Spelling> Spellings;
[all …]
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp169 MSInheritanceAttr::Spelling CXXRecordDecl::calculateInheritanceModel() const { in calculateInheritanceModel()
179 MSInheritanceAttr::Spelling
224 MSInheritanceAttr::Spelling Inheritance = RD->getMSInheritanceModel(); in getMSMemberPointerSlots()
DStmtPrinter.cpp1675 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \ in VisitCXXOperatorCallExpr() argument
1676 Spelling, in VisitCXXOperatorCallExpr()
2152 #define TYPE_TRAIT_1(Spelling, Name, Key) \ in getTypeTraitName() argument
2153 case clang::UTT_##Name: return #Spelling; in getTypeTraitName()
2154 #define TYPE_TRAIT_2(Spelling, Name, Key) \ in getTypeTraitName() argument
2155 case clang::BTT_##Name: return #Spelling; in getTypeTraitName()
2156 #define TYPE_TRAIT_N(Spelling, Name, Key) \ in getTypeTraitName() argument
2157 case clang::TT_##Name: return #Spelling; in getTypeTraitName()
DDeclarationName.cpp171 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \ in operator <<() argument
172 Spelling, in operator <<()
/external/clang/lib/Parse/
DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print() local
85 OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n"; in print()
DParseExprCXX.cpp2190 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \ in ParseUnqualifiedIdOperator() argument
2195 #define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly) in ParseUnqualifiedIdOperator() argument
2854 #define TYPE_TRAIT_1(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2855 case tok::kw_ ## Spelling: return UTT_ ## Name; in TypeTraitFromTokKind()
2856 #define TYPE_TRAIT_2(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2857 case tok::kw_ ## Spelling: return BTT_ ## Name; in TypeTraitFromTokKind()
2859 #define TYPE_TRAIT_N(Spelling, Name, Key) \ in TypeTraitFromTokKind() argument
2860 case tok::kw_ ## Spelling: return TT_ ## Name; in TypeTraitFromTokKind()
2884 #define TYPE_TRAIT(N,Spelling,K) case tok::kw_##Spelling: return N; in TypeTraitArity() argument
DParseTentative.cpp676 #define OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemOnly) \ in TryParseOperatorId() argument
678 #define OVERLOADED_OPERATOR_MULTI(Name, Spelling, Unary, Binary, MemOnly) in TryParseOperatorId() argument
940 #define TYPE_TRAIT(N,Spelling,K) \ in isExpressionOrTypeSpecifierSimple() argument
941 case tok::kw_##Spelling: in isExpressionOrTypeSpecifierSimple()
/external/clang/include/clang/AST/
DCommentHTMLTags.td2 string Spelling = spelling;
61 string Spelling = spelling;
/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()
2165 std::string Spelling = PP->getSpelling(Result, &Invalid); in SaveLineComment() local
2169 assert(Spelling[0] == '/' && Spelling[1] == '/' && "Not line comment?"); in SaveLineComment()
2170 Spelling[1] = '*'; // Change prefix to "/*". in SaveLineComment()
2171 Spelling += "*/"; // add suffix. in SaveLineComment()
[all …]

123