Searched refs:Spelling (Results 1 - 25 of 42) sorted by relevance

12

/external/clang/include/clang/AST/
H A DOperationKinds.h29 #define BINARY_OPERATION(Name, Spelling) BO_##Name,
34 #define UNARY_OPERATION(Name, Spelling) UO_##Name,
/external/clang/include/clang/Basic/
H A DOperatorKinds.h24 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
H A DIdentifierTable.h806 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
/external/llvm/include/llvm/Option/
H A DArg.h44 StringRef Spelling; member in class:llvm::opt::Arg
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; }
/external/llvm/lib/Option/
H A DOption.cpp108 StringRef Spelling; local
111 Spelling = StringRef(Args.getArgString(Index), ArgSize);
113 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) +
122 Arg *A = new Arg(UnaliasedOption, Spelling, Index++);
141 return new Arg(UnaliasedOption, Spelling, Index++, Value);
146 Arg *A = new Arg(UnaliasedOption, Spelling, Index++);
182 return new Arg(UnaliasedOption, Spelling,
194 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(),
205 return new Arg(*this, Spelling, Index++, Value);
214 return new Arg(UnaliasedOption, Spelling,
[all...]
H A DArg.cpp22 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false),
27 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false),
34 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false),
/external/clang/utils/TableGen/
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp58 std::string Spelling = Tag.getValueAsString("Spelling"); local
70 StringMatcher::StringPair Match(Spelling, CLiteral.str());
H A DClangCommentHTMLTagsEmitter.cpp27 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;");
44 std::string Spelling = Tag->getValueAsString("Spelling"); local
45 StringMatcher::StringPair Match(Spelling, "return true;");
H A DClangAttrEmitter.cpp52 explicit FlattenedSpelling(const Record &Spelling) : argument
53 V(Spelling.getValueAsString("Variety")),
54 N(Spelling.getValueAsString("Name")) {
59 NS = Spelling.getValueAsString("Namespace");
61 K = Spelling.getValueAsBitOrUnset("KnownToGCC", Unset);
77 for (const auto &Spelling : Spellings) {
78 if (Spelling->getValueAsString("Variety") == "GCC") {
80 Ret.emplace_back("GNU", Spelling->getValueAsString("Name"), "", true);
81 Ret.emplace_back("CXX11", Spelling->getValueAsString("Name"), "gnu",
84 Ret.push_back(FlattenedSpelling(*Spelling));
1297 llvm::SmallString<64> Spelling; local
1334 " OS << \\"" << Prefix << Spelling; local
1390 getSpellingListIndex(const std::vector<FlattenedSpelling> &SpellingList, const FlattenedSpelling &Spelling) argument
1458 const std::string &Spelling = S.name(); local
[all...]
/external/clang/tools/libclang/
H A DCXString.cpp100 char *Spelling = static_cast<char *>(malloc(String.size() + 1)); local
101 memmove(Spelling, String.data(), String.size());
102 Spelling[String.size()] = 0;
103 Result.data = Spelling;
H A DCXLoadedDiagnostic.h86 const char *Spelling; member in class:clang::CXLoadedDiagnostic
H A DCXLoadedDiagnostic.cpp109 return cxstring::createRef(Spelling);
388 D.Spelling = TopDiags->copyString(Message);
/external/clang/lib/Rewrite/
H A DTokenRewriter.cpp89 const char *Spelling; local
90 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling));
/external/clang/lib/Sema/
H A DSemaStmtAttr.cpp78 LoopHintAttr::Spelling Spelling; local
83 Spelling = LoopHintAttr::Pragma_nounroll;
87 Spelling = LoopHintAttr::Pragma_unroll;
99 Spelling = LoopHintAttr::Pragma_clang_loop;
138 return LoopHintAttr::CreateImplicit(S.Context, Spelling, Option, State,
/external/clang/lib/Parse/
H A DParseAST.cpp79 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); local
84 OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n";
H A DParseExprCXX.cpp2269 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
2274 #define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly)
2930 #define TYPE_TRAIT_1(Spelling, Name, Key) \
2931 case tok::kw_ ## Spelling: return UTT_ ## Name;
2932 #define TYPE_TRAIT_2(Spelling, Name, Key) \
2933 case tok::kw_ ## Spelling: return BTT_ ## Name;
2935 #define TYPE_TRAIT_N(Spelling, Name, Key) \
2936 case tok::kw_ ## Spelling: return TT_ ## Name;
2960 #define TYPE_TRAIT(N,Spelling,K) case tok::kw_##Spelling
[all...]
H A DParseTentative.cpp745 #define OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemOnly) \
747 #define OVERLOADED_OPERATOR_MULTI(Name, Spelling, Unary, Binary, MemOnly)
1009 #define TYPE_TRAIT(N,Spelling,K) \
1010 case tok::kw_##Spelling:
H A DParser.cpp159 const char *Spelling = nullptr; local
161 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
164 Spelling
165 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling)
/external/clang/lib/AST/
H A DMicrosoftCXXABI.cpp169 MSInheritanceAttr::Spelling CXXRecordDecl::calculateInheritanceModel() const {
179 MSInheritanceAttr::Spelling
224 MSInheritanceAttr::Spelling Inheritance = RD->getMSInheritanceModel();
H A DStmtPrinter.cpp1803 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
1804 Spelling,
2287 #define TYPE_TRAIT_1(Spelling, Name, Key) \
2288 case clang::UTT_##Name: return #Spelling;
2289 #define TYPE_TRAIT_2(Spelling, Name, Key) \
2290 case clang::BTT_##Name: return #Spelling;
2291 #define TYPE_TRAIT_N(Spelling, Name, Key) \
2292 case clang::TT_##Name: return #Spelling;
H A DDeclarationName.cpp180 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
181 Spelling,
/external/clang/lib/Lex/
H A DLexer.cpp226 // Token Spelling
232 const LangOptions &LangOpts, char *Spelling) {
242 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
245 if (Spelling[Length - 1] == '"')
253 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
261 memcpy(Spelling + Length, BufPtr, RawLength);
271 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
2193 std::string Spelling = PP->getSpelling(Result, &Invalid); local
2197 assert(Spelling[
231 getSpellingSlow(const Token &Tok, const char *BufPtr, const LangOptions &LangOpts, char *Spelling) argument
[all...]
H A DPPExpressions.cpp263 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer, local
268 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP);
/external/clang/lib/Basic/
H A DIdentifierTable.cpp643 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
644 case OO_##Name: return Spelling;
/external/clang/tools/c-index-test/
H A Dc-index-test.c2393 CXString Spelling; local
2400 Spelling = clang_getCursorSpelling(Cursor);
2401 cspell = clang_getCString(Spelling);
2404 printf(" Spelling=%s (", cspell);
2414 clang_disposeString(Spelling);
2498 CXString Spelling; local
2507 Spelling = clang_getCursorSpelling(Cursor);
2508 cspell = clang_getCString(Spelling);
2511 printf(" Spelling=%s (", cspell);
2521 clang_disposeString(Spelling);
2535 CXString Spelling; local
[all...]

Completed in 320 milliseconds

12