HomeSort by: relevance | last modified time | path
    Searched defs:Spelling (Results 1 - 21 of 21) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangCommentHTMLTagsEmitter.cpp 26 Matches.emplace_back(std::string(Tag->getValueAsString("Spelling")),
44 std::string Spelling = std::string(Tag->getValueAsString("Spelling"));
45 StringMatcher::StringPair Match(Spelling, "return true;");
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp 57 std::string Spelling = std::string(Tag.getValueAsString("Spelling"));
69 StringMatcher::StringPair Match(Spelling, std::string(CLiteral.str()));
ClangAttrEmitter.cpp 57 explicit FlattenedSpelling(const Record &Spelling)
58 : V(std::string(Spelling.getValueAsString("Variety"))),
59 N(std::string(Spelling.getValueAsString("Name"))) {
61 "Given a GCC spelling, which means this hasn't been flattened!");
63 NS = std::string(Spelling.getValueAsString("Namespace"));
79 for (const auto &Spelling : Spellings) {
80 StringRef Variety = Spelling->getValueAsString("Variety");
81 StringRef Name = Spelling->getValueAsString("Name");
85 if (Spelling->getValueAsBit("AllowInC"))
90 if (Spelling->getValueAsBit("AllowInC")
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Rewrite/
TokenRewriter.cpp 90 const char *Spelling;
91 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling));
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
Synthesis.cpp 38 StringRef Spelling) {
40 FactoryImpl::lexBuffer(A, llvm::MemoryBuffer::getMemBufferCopy(Spelling))
44 "spelling is not lexed into the expected kind of token");
53 const auto *Spelling = tok::getPunctuatorSpelling(K);
54 if (!Spelling)
55 Spelling = tok::getKeywordSpelling(K);
56 assert(Spelling &&
57 "Cannot infer the spelling of the token from its token kind.");
58 return createLeaf(A, K, Spelling);
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseAST.cpp 80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid);
85 OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n";
Parser.cpp 138 const char *Spelling = nullptr;
140 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
143 Spelling
144 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling)
ParseDeclCXX.cpp 4016 StringRef Spelling = PP.getSpelling(ExpansionLoc, ExpansionBuf);
4017 if (Spelling == "__clang__") {
4041 // Alternative tokens do not have identifier info, but their spelling
4046 StringRef Spelling = PP.getSpelling(SpellingLoc, SpellingBuf);
4047 if (isLetter(Spelling[0])) {
4049 return &PP.getIdentifierTable().get(Spelling);
4381 // quotes in the parens. Just append the spelling of all tokens encountered
4389 // tok::numeric_constant (0000) should be enough. But the spelling of the
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXLoadedDiagnostic.h 36 /// Return the spelling of the diagnostic.
85 const char *Spelling;
CXString.cpp 98 char *Spelling = static_cast<char *>(llvm::safe_malloc(String.size() + 1));
99 memmove(Spelling, String.data(), String.size());
100 Spelling[String.size()] = 0;
101 Result.data = Spelling;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/
AVRMCExpr.cpp 22 const char * const Spelling;
204 return Modifier->Spelling;
212 return Mod.Spelling == Name;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Option/
Arg.h 44 StringRef Spelling;
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; }
  /src/external/apache2/llvm/dist/clang/lib/Lex/
PPExpressions.cpp 244 // If this token's spelling is a pp-identifier, check to see if it is
293 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer,
298 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(),
Preprocessor.cpp 456 /// getSpelling - This method is used to get the spelling of a token into a
510 // FIXME: We could consider re-using spelling for tokens we see repeatedly.
512 SourceLocation Spelling =
514 return SM.createTokenSplitLoc(Spelling, Loc, Loc.getLocWithOffset(Length));
1027 // Append the spelling of this token to the buffer. If there was a space
1032 // Get the spelling of the token, directly into FilenameBuffer if
1366 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid);
1369 NumericLiteralParser Literal(Spelling, Tok.getLocation(), getSourceManager(),
Lexer.cpp 179 /// spelling loc that indicates the bytes to be lexed for the token and an
268 // Token Spelling
272 /// spelling of this token from the provided input buffer.
274 const LangOptions &LangOpts, char *Spelling) {
284 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
287 if (Spelling[Length - 1] == '"')
295 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
302 // Everything between the quotes is included verbatim in the spelling.
303 memcpy(Spelling + Length, BufPtr, RawLength)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Option/
OptTable.cpp 511 // message includes a suggested alternative option spelling if available.
514 std::string Spelling = A->getAsString(Args);
515 if (findNearest(Spelling, Nearest) > 1)
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ParsedAttr.h 65 struct Spelling {
69 ArrayRef<Spelling> Spellings;
104 /// Convert the spelling index of Attr to a semantic spelling enum value.
625 /// have a semantic Spelling enumeration (due to having semantically-distinct
626 /// spelling variations), return the value of that semantic spelling. If the
628 /// a Spelling enumeration, the value UINT_MAX is returned.
  /src/external/apache2/llvm/dist/clang/lib/AST/
JSONNodeDumper.cpp 38 // FIXME: it would be useful for us to output the spelling kind as well as
39 // the actual spelling. This would allow us to distinguish between the
42 //JOS.attribute("spelling", A->getSpelling());
250 SourceLocation Spelling = SM.getSpellingLoc(Loc);
253 if (Expansion != Spelling) {
254 // If the expansion and the spelling are different, output subobjects
256 JOS.attributeObject("spellingLoc", [Spelling, this] {
257 writeBareSourceLocation(Spelling, /*IsSpelling*/ true);
267 writeBareSourceLocation(Spelling, /*IsSpelling*/ true);
StmtPrinter.cpp 1264 const char *Spelling = getTraitSpelling(Node->getKind());
1267 Spelling = "alignof";
1269 Spelling = "_Alignof";
1271 Spelling = "__alignof";
1274 OS << Spelling;
  /src/external/apache2/llvm/dist/clang/tools/c-index-test/
c-index-test.c 1115 CXString Spelling = clang_getCursorSpelling(Cursor);
1117 const char *CSpelling = clang_getCString(Spelling);
1121 clang_disposeString(Spelling);
1127 CXString Spelling = clang_getCursorSpelling(Cursor);
1129 const char *CSpelling = clang_getCString(Spelling);
1137 clang_disposeString(Spelling);
2916 CXString Spelling;
2923 Spelling = clang_getCursorSpelling(Cursor);
2924 cspell = clang_getCString(Spelling);
2927 printf(" Spelling=%s (", cspell)
4266 CXString spelling = clang_getTokenSpelling(TU, tokens[i]); local
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/
ARMAsmParser.cpp 6339 const char *Spelling;
6351 return PE.Spelling == IDVal;

Completed in 90 milliseconds