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

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOperationKinds.h26 #define BINARY_OPERATION(Name, Spelling) BO_##Name,
31 #define UNARY_OPERATION(Name, Spelling) UO_##Name,
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrSubjectMatchRules.h20 #define ATTR_MATCH_RULE(X, Spelling, IsAbstract) X,
H A DOperatorKinds.h23 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
H A DAttributeCommonInfo.h102 unsigned Spelling)
105 SpellingIndex(Spelling) {}
119 unsigned Spelling)
121 AttrKind(K), SyntaxUsed(SyntaxUsed), SpellingIndex(Spelling) {}
163 "Spelling cannot be found");
99 AttributeCommonInfo(const IdentifierInfo *AttrName, const IdentifierInfo *ScopeName, SourceRange AttrRange, SourceLocation ScopeLoc, Kind AttrKind, Syntax SyntaxUsed, unsigned Spelling) argument
118 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed, unsigned Spelling) argument
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Option/
H A DArg.h44 StringRef Spelling; member in class:llvm::opt::Arg
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
69 Arg(const Option Opt, StringRef Spelling, unsigned Index,
71 Arg(const Option Opt, StringRef Spelling, unsigned Index,
85 StringRef getSpelling() const { return Spelling; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Option/
H A DOption.cpp111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize); local
116 return new Arg(*this, Spelling, Index++);
120 return new Arg(*this, Spelling, Index++, Value);
125 Arg *A = new Arg(*this, Spelling, Index++);
161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1));
172 Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(),
183 return new Arg(*this, Spelling, Index++, Value);
192 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1));
201 return new Arg(*this, Spelling, Index - 2,
209 Arg *A = new Arg(*this, Spelling, Inde
[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),
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp125 static std::string disambiguateSpellingInScope(StringRef Spelling, argument
130 assert(QName.endswith(Spelling));
131 if (Spelling.startswith("::"))
132 return Spelling;
134 auto UnspelledSpecifier = QName.drop_back(Spelling.size());
149 // Lookup the first component of Spelling in all enclosing namespaces
171 std::string Disambiguated = Spelling;
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp57 std::string Spelling = Tag.getValueAsString("Spelling"); local
69 StringMatcher::StringPair Match(Spelling, CLiteral.str());
H A DClangCommentHTMLTagsEmitter.cpp26 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;");
43 std::string Spelling = Tag->getValueAsString("Spelling"); local
44 StringMatcher::StringPair Match(Spelling, "return true;");
H A DClangAttrEmitter.cpp57 explicit FlattenedSpelling(const Record &Spelling) : argument
58 V(Spelling.getValueAsString("Variety")),
59 N(Spelling.getValueAsString("Name")) {
64 NS = Spelling.getValueAsString("Namespace");
66 K = Spelling.getValueAsBitOrUnset("KnownToGCC", Unset);
82 for (const auto &Spelling : Spellings) {
83 StringRef Variety = Spelling->getValueAsString("Variety");
84 StringRef Name = Spelling->getValueAsString("Name");
92 if (Spelling->getValueAsBit("AllowInC"))
95 Ret.push_back(FlattenedSpelling(*Spelling));
1391 llvm::SmallString<64> Spelling; local
1431 " OS << \\"" << Prefix << Spelling; local
1534 getSpellingListIndex(const std::vector<FlattenedSpelling> &SpellingList, const FlattenedSpelling &Spelling) argument
1612 const std::string &Spelling = S.name(); local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DTokenRewriter.cpp90 const char *Spelling; local
91 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling));
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); local
85 OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n";
H A DParseTentative.cpp835 #define OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemOnly) \
837 #define OVERLOADED_OPERATOR_MULTI(Name, Spelling, Unary, Binary, MemOnly)
1104 #define TYPE_TRAIT(N,Spelling,K) \
1105 case tok::kw_##Spelling:
H A DParseExprCXX.cpp2505 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
2510 #define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly)
3568 #define TYPE_TRAIT_1(Spelling, Name, Key) \
3569 case tok::kw_ ## Spelling: return UTT_ ## Name;
3570 #define TYPE_TRAIT_2(Spelling, Name, Key) \
3571 case tok::kw_ ## Spelling: return BTT_ ## Name;
3573 #define TYPE_TRAIT_N(Spelling, Name, Key) \
3574 case tok::kw_ ## Spelling: return TT_ ## Name;
3598 #define TYPE_TRAIT(N,Spelling,K) case tok::kw_##Spelling
[all...]
H A DParser.cpp137 const char *Spelling = nullptr; local
139 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
142 Spelling
143 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp22 const char * const Spelling; member in struct:llvm::__anon5108::ModifierEntry
197 return Modifier->Spelling;
205 [&Name](ModifierEntry const &Mod) { return Mod.Spelling == Name; });
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp606 #define ATTR_MATCH_RULE(Value, Spelling, IsAbstract)
607 #define ATTR_MATCH_SUB_RULE(Value, Spelling, IsAbstract, Parent, IsNegated) \
619 #define ATTR_MATCH_RULE(Value, Spelling, IsAbstract)
620 #define ATTR_MATCH_SUB_RULE(Value, Spelling, IsAbstract, Parent, IsNegated) \
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp2165 #define TYPE_TRAIT_1(Spelling, Name, Key) \
2166 case clang::UTT_##Name: return #Spelling;
2167 #define TYPE_TRAIT_2(Spelling, Name, Key) \
2168 case clang::BTT_##Name: return #Spelling;
2169 #define TYPE_TRAIT_N(Spelling, Name, Key) \
2170 case clang::TT_##Name: return #Spelling;
H A DJSONNodeDumper.cpp240 SourceLocation Spelling = SM.getSpellingLoc(Loc); local
243 if (Expansion != Spelling) {
246 JOS.attributeObject("spellingLoc", [Spelling, this] {
247 writeBareSourceLocation(Spelling, /*IsSpelling*/ true);
257 writeBareSourceLocation(Spelling, /*IsSpelling*/ true);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp345 #define OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemberOnly) \
349 #define OVERLOADED_OPERATOR_MULTI(Name, Spelling, Unary, Binary, MemberOnly)
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp691 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
692 case OO_##Name: return Spelling;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp516 SourceLocation Spelling = local
518 return SM.createTokenSplitLoc(Spelling, Loc, Loc.getLocWithOffset(Length));
1350 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid); local
1353 NumericLiteralParser Literal(Spelling, Tok.getLocation(), *this);
H A DLexer.cpp265 // Token Spelling
271 const LangOptions &LangOpts, char *Spelling) {
281 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
284 if (Spelling[Length - 1] == '"')
292 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
300 memcpy(Spelling + Length, BufPtr, RawLength);
310 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
2398 std::string Spelling = PP->getSpelling(Result, &Invalid); local
2402 assert(Spelling[
270 getSpellingSlow(const Token &Tok, const char *BufPtr, const LangOptions &LangOpts, char *Spelling) argument
[all...]
H A DPPExpressions.cpp275 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer, local
280 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP);

Completed in 158 milliseconds

12