Home
last modified time | relevance | path

Searched refs:getSpelling (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp41 << XRayInstrument->getSpelling() << Triple.str(); in XRayArgs()
59 << XRayInstrument->getSpelling() << Triple.str(); in XRayArgs()
63 << XRayInstrument->getSpelling() << Triple.str(); in XRayArgs()
70 << XRayInstrument->getSpelling() << A->getSpelling(); in XRayArgs()
H A DSanitizerArgs.cpp266 << Arg->getSpelling() << toString(S); in parseSanitizeTrapArgs()
646 << Arg->getSpelling() << toString(SetToDiagnose); in SanitizerArgs()
661 << Arg->getSpelling() << toString(SetToDiagnose); in SanitizerArgs()
1001 << Arg->getSpelling() << Arg->getValue(); in SanitizerArgs()
1014 << Arg->getSpelling() << Arg->getValue(); in SanitizerArgs()
1424 << A->getSpelling() << Value; in parseArgValues()
1459 << A->getSpelling() << Value; in parseCoverageFeatures()
1482 << A->getSpelling() << Value; in parseBinaryMetadataFeatures()
/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DArg.cpp103 OS << getSpelling(); in render()
114 getIndex(), getSpelling(), getValue(0))); in render()
119 Output.push_back(Args.MakeArgString(getSpelling())); in render()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp62 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix()
66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix()
142 PP.getSpelling(Tok, TokPtr); in GetFirstChar()
145 return PP.getSpelling(Tok)[0]; in GetFirstChar()
H A DMacroInfo.cpp145 if (PP.getSpelling(A) != PP.getSpelling(B)) in isIdenticalTo()
H A DMacroArgs.cpp238 std::string TokStr = PP.getSpelling(Tok, &Invalid); in StringifyArgument()
252 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); in StringifyArgument()
H A DPreprocessor.cpp242 llvm::errs() << " '" << getSpelling(Tok) << "'"; in DumpToken()
469 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling() function in Preprocessor
484 unsigned Len = getSpelling(Tok, Ptr, Invalid); in getSpelling()
710 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer); in LookUpIdentifierInfo()
1053 unsigned ActualLen = getSpelling(FilenameTok, BufPtr); in LexHeaderName()
1081 StringRef Str = getSpelling(FilenameTok, FilenameBuffer); in LexHeaderName()
1395 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid); in parseSimpleIntegerLiteral()
H A DPragma.cpp267 StringRef StrValRef = getSpelling(StrTok, StrVal, &Invalid); in Handle_Pragma()
530 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency()
559 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency()
580 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
588 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
598 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro()
604 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
706 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
726 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp201 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind()
213 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind()
614 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclareMapperDirective()
852 StringRef Name = P.getPreprocessor().getSpelling(Tok, Buffer); in getNameFromIdOrString()
1111 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer); in parseContextScore()
1444 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOMPDeclareVariantClauses()
1558 : getOpenMPClauseKind(PP.getSpelling(Tok)); in parseOMPDeclareVariantMatchClause()
1653 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPClauses()
1808 Kind, Tok.isAnnotation() ? "" : P.getPreprocessor().getSpelling(Tok), in parseOpenMPSimpleClause()
2119 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriverUtils.cpp180 os << arg->getSpelling(); in createResponseFile()
186 os << arg->getSpelling() << quote(rewritePath(arg->getValue())) << "\n"; in createResponseFile()
201 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile()
H A DDriver.cpp1141 return alias->getSpelling(); in getAliasSpelling()
1142 return arg->getSpelling(); in getAliasSpelling()
1370 error(arg->getSpelling() + ": invalid argument '" + arg->getValue() + in readConfigs()
1516 remapInputs(value, arg->getSpelling()); in readConfigs()
1571 error(arg->getSpelling() + in readConfigs()
1576 auto type = getCompressionType(typeStr, arg->getSpelling()); in readConfigs()
1580 error(arg->getSpelling() + in readConfigs()
1587 error(arg->getSpelling() + ": " + toString(pat.takeError())); in readConfigs()
1619 arg->getSpelling()); in readConfigs()
1622 parseClangOption(std::string("-") + arg->getValue(), arg->getSpelling()); in readConfigs()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp70 *OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition()
441 *OS << PP.getSpelling(T, SpellingBuffer); in EmbedDirective()
493 const std::string TokenText = PP.getSpelling(IncludeTok); in InclusionDirective()
513 << "#" << PP.getSpelling(IncludeTok) << " " in InclusionDirective()
877 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma()
996 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens()
1013 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DX86.cpp128 << A->getSpelling() << Triple.getTriple(); in getX86TargetFeatures()
281 << A->getSpelling() << Value; in getX86TargetFeatures()
302 << A->getSpelling() << Scope; in getX86TargetFeatures()
/freebsd/contrib/llvm-project/lld/MachO/
H A DDriverUtils.cpp171 os << arg->getSpelling() << " " in createResponseFile()
181 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile()
185 os << arg->getSpelling() << " " << quote(arg->getValue(0)) << " " in createResponseFile()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp37 *OS << PP.getSpelling(*I); in DoRewriteTest()
/freebsd/contrib/llvm-project/lld/Common/
H A DReproduce.cpp54 std::string k = std::string(arg.getSpelling()); in toString()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp202 << A->getSpelling() << Val; in AddAArch64TargetArgs()
246 << A->getSpelling() << Val; in AddRISCVTargetArgs()
260 << A->getSpelling() << Value; in AddX86_64TargetArgs()
521 << A->getSpelling() << Val; in addFloatingPointOptions()
803 << A->getSpelling() << A->getValue(); in ConstructJob()
H A DAIX.cpp46 << A->getSpelling() << D.getTargetTriple(); in ConstructJob()
126 << A->getSpelling() << D.getTargetTriple(); in ConstructJob()
177 << A->getSpelling() << BuildId; in ConstructJob()
H A DClang.cpp611 << PGOGenerateArg->getSpelling() << ProfileGenerateArg->getSpelling(); in addPGOAndCoverageFlags()
617 << ProfileUseArg->getSpelling() << PGOGenerateArg->getSpelling(); in addPGOAndCoverageFlags()
621 << ProfileGenerateArg->getSpelling() << ProfileUseArg->getSpelling(); in addPGOAndCoverageFlags()
625 << CSPGOGenerateArg->getSpelling() << PGOGenerateArg->getSpelling(); in addPGOAndCoverageFlags()
632 << ProfileSampleUseArg->getSpelling() << TC.getTriple().str(); in addPGOAndCoverageFlags()
764 << A->getSpelling() << Val; in addPGOAndCoverageFlags()
904 << A->getSpelling() << Value; in RenderDebugInfoCompressionArgs()
1550 << A->getSpelling() << Scope; in CollectARMPACBTIOptions()
1577 << A->getSpelling() << DiagMsg; in CollectARMPACBTIOptions()
1821 << A->getSpelling() << Val; in AddAArch64TargetArgs()
[all …]
H A DCommonArgs.cpp508 << A->getSpelling() << V; in addLinkerCompressDebugSectionsOption()
801 << A->getSpelling() << Triple.getTriple(); in isTLSDESCEnabled()
804 << A->getSpelling() << V << Triple.getTriple(); in isTLSDESCEnabled()
1850 << LastPICArg->getSpelling() << Triple.str(); in ParsePICArgs()
1876 << LastPICArg->getSpelling() in ParsePICArgs()
1902 << A->getSpelling() << Triple.str(); in ParsePICArgs()
1932 << LastROPIArg->getSpelling() << Triple.str(); in ParsePICArgs()
1939 << LastRWPIArg->getSpelling() << Triple.str(); in ParsePICArgs()
2088 if (int N = DwarfVersionNum(GDwarfN->getSpelling())) { in getDwarfVersion()
2092 << GDwarfN->getSpelling() << TC.getTriple().str(); in getDwarfVersion()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Option/
H A DArg.h91 StringRef getSpelling() const { return Spelling; } in getSpelling() function
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetCXXABI.h60 static const auto &getSpelling(Kind ABIKind) { in getSpelling() function
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2071 StringRef getSpelling(SourceLocation loc,
2074 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid);
2085 std::string getSpelling(const Token &Tok, bool *Invalid = nullptr) const {
2086 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid);
2101 unsigned getSpelling(const Token &Tok, const char *&Buffer,
2103 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid);
2110 StringRef getSpelling(const Token &Tok,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp136 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp56 Value << PP.getSpelling(T, SpellingBuffer); in writeMacroDefinition()

1234