Searched refs:getSpelling (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp37 *OS << PP.getSpelling(*I);
H A DRewriteMacros.cpp197 Expansion += ' ' + PP.getSpelling(PPTok);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/
H A DArg.cpp105 OS << getSpelling();
116 getIndex(), getSpelling(), getValue(0)));
121 Output.push_back(Args.MakeArgString(getSpelling()));
/freebsd-13-stable/contrib/llvm-project/lld/Common/
H A DReproduce.cpp54 std::string k = std::string(arg.getSpelling());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp62 unsigned length = PP.getSpelling(Tok, TokPtr);
66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
127 /// avoiding calls to getSpelling where possible.
142 PP.getSpelling(Tok, TokPtr);
145 return PP.getSpelling(Tok)[0];
H A DMacroArgs.cpp238 std::string TokStr = PP.getSpelling(Tok, &Invalid);
252 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid);
255 // If getSpelling returned a pointer to an already uniqued version of
H A DMacroInfo.cpp125 if (PP.getSpelling(A) != PP.getSpelling(B))
H A DPragma.cpp263 std::string StrVal = getSpelling(StrTok);
509 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid);
539 Message += getSpelling(DependencyTok) + " ";
560 << getSpelling(PragmaTok);
568 << getSpelling(PragmaTok);
578 std::string StrVal = getSpelling(Tok);
584 << getSpelling(PragmaTok);
686 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer);
706 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer);
1336 Specifier = PP.getSpelling(To
[all...]
H A DPreprocessor.cpp237 << getSpelling(Tok) << "'";
462 /// getSpelling - This method is used to get the spelling of a token into a
465 StringRef Preprocessor::getSpelling(const Token &Tok, function in class:Preprocessor
480 unsigned Len = getSpelling(Tok, Ptr, Invalid);
713 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer);
1042 unsigned ActualLen = getSpelling(FilenameTok, BufPtr);
1070 StringRef Str = getSpelling(FilenameTok, FilenameBuffer);
1370 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Option/
H A DArg.h85 StringRef getSpelling() const { return Spelling; } function in class:llvm::opt::Arg
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h292 /// getSpelling - This method is used to get the spelling of a token into a
302 static unsigned getSpelling(const Token &Tok, const char *&Buffer,
307 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a
312 static std::string getSpelling(const Token &Tok,
317 /// getSpelling - This method is used to get the spelling of the
325 static StringRef getSpelling(SourceLocation loc,
H A DPreprocessor.h1702 StringRef getSpelling(SourceLocation loc, function in class:clang::Preprocessor
1705 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid);
1716 std::string getSpelling(const Token &Tok, bool *Invalid = nullptr) const { function in class:clang::Preprocessor
1717 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid);
1732 unsigned getSpelling(const Token &Tok, const char *&Buffer, function in class:clang::Preprocessor
1734 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid);
1741 StringRef getSpelling(const Token &Tok,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp97 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp176 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok));
188 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok));
590 : getOpenMPClauseKind(PP.getSpelling(Tok));
826 StringRef Name = P.getPreprocessor().getSpelling(Tok, Buffer);
1071 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer);
1411 : getOpenMPClauseKind(PP.getSpelling(Tok));
1476 Kind, Tok.isAnnotation() ? "" : P.getPreprocessor().getSpelling(Tok));
1716 : getOpenMPClauseKind(PP.getSpelling(Tok));
1757 : getOpenMPClauseKind(PP.getSpelling(Tok));
2119 : getOpenMPClauseKind(PP.getSpelling(To
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp56 Value << PP.getSpelling(T, SpellingBuffer);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp24 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
852 StringRef Lexer::getSpelling(const Token &Tok,
H A DRawCommentList.cpp395 llvm::StringRef TokText = L.getSpelling(Tok, SourceMgr);
427 Result += L.getSpelling(Tok, SourceMgr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp70 OS << PP.getSpelling(T, SpellingBuffer);
341 const std::string TokenText = PP.getSpelling(IncludeTok);
360 << "#" << PP.getSpelling(IncludeTok) << " "
695 std::string TokSpell = PP.getSpelling(PragmaTok);
794 unsigned Len = PP.getSpelling(Tok, TokPtr);
802 std::string S = PP.getSpelling(Tok);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp621 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok));
649 Expansion += EscapeText(TmpPP.getSpelling(Tok));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp30 << Attr.getSpelling() << St->getBeginLoc();
205 << NMA.getSpelling();
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DDriverUtils.cpp195 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue()))
H A DDriver.cpp838 return alias->getSpelling();
839 return arg->getSpelling();
1097 arg->getSpelling());
1100 parseClangOption(std::string("-") + arg->getValue(), arg->getSpelling());
1107 error(arg->getSpelling() + ": unknown plugin option '" + arg->getValue() +
1112 parseClangOption(arg->getValue(), arg->getSpelling());
1120 error(arg->getSpelling() + ": expected a positive integer, but got '" +
1216 error(arg->getSpelling() + ": " + toString(pat.takeError()));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp77 << "-fxray-instrument" << A->getSpelling();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAttr.h91 const char *getSpelling() const;
H A DCommentLexer.h355 StringRef getSpelling(const Token &Tok, const SourceManager &SourceMgr) const;

Completed in 125 milliseconds

123