Home
last modified time | relevance | path

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

123456

/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp43 getToken().getSpelling() != "at") in parseCallSiteLocation()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
172 if (getToken().getSpelling() == "unknown") { in parseLocationInstance()
DToken.cpp85 (getKind() == at_identifier && getSpelling()[1] == '"')); in getStringValue()
87 StringRef bytes = getSpelling().drop_front().drop_back(); in getStringValue()
133 StringRef bytes = getSpelling().drop_front().drop_back(); in getHexStringValue()
146 StringRef nameStr = getSpelling().drop_front(); in getSymbolReference()
DToken.h33 StringRef getSpelling() const { return spelling; } in getSpelling() function
70 return getUInt64IntegerValue(getSpelling()); in getUInt64IntegerValue()
/external/llvm-project/llvm/lib/Option/
DArg.cpp105 OS << getSpelling(); in render()
116 getIndex(), getSpelling(), getValue(0))); in render()
121 Output.push_back(Args.MakeArgString(getSpelling())); in render()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DArg.cpp105 OS << getSpelling(); in render()
116 getIndex(), getSpelling(), getValue(0))); in render()
121 Output.push_back(Args.MakeArgString(getSpelling())); in render()
/external/llvm/lib/Option/
DArg.cpp100 OS << getSpelling(); in render()
111 getIndex(), getSpelling(), getValue(0))); in render()
116 Output.push_back(Args.MakeArgString(getSpelling())); in render()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DAvoidUnderscoreInGoogletestNameCheck.cpp57 std::string TestCaseName = PP->getSpelling(*TestCaseNameToken); in MacroExpands()
64 std::string TestNameMaybeDisabled = PP->getSpelling(*TestNameToken); in MacroExpands()
/external/clang/lib/Lex/
DTokenConcatenation.cpp63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix()
67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix()
139 PP.getSpelling(Tok, TokPtr); in GetFirstChar()
142 return PP.getSpelling(Tok)[0]; in GetFirstChar()
DPragma.cpp229 std::string StrVal = getSpelling(StrTok); in Handle_Pragma()
465 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency()
495 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency()
516 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
524 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
534 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro()
540 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
646 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
677 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
1120 Specifier = PP.getSpelling(Tok, SpecifierBuf); in HandlePragma()
DPreprocessor.cpp216 << getSpelling(Tok) << "'"; in DumpToken()
440 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling() function in Preprocessor
455 unsigned Len = getSpelling(Tok, Ptr, Invalid); in getSpelling()
557 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer); in LookUpIdentifierInfo()
862 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid); in parseSimpleIntegerLiteral()
/external/llvm-project/clang/lib/Lex/
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()
DPragma.cpp263 std::string StrVal = getSpelling(StrTok); in Handle_Pragma()
509 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency()
539 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency()
560 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
568 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
578 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro()
584 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro()
686 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
706 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
1336 Specifier = PP.getSpelling(Tok, SpecifierBuf); in HandlePragma()
/external/llvm-project/clang/tools/libclang/
DCIndexDiagnostic.h68 virtual CXString getSpelling() const = 0;
129 CXString getSpelling() const override;
DCXLoadedDiagnostic.h37 CXString getSpelling() const override;
/external/clang/tools/libclang/
DCIndexDiagnostic.h68 virtual CXString getSpelling() const = 0;
129 CXString getSpelling() const override;
DCXLoadedDiagnostic.h38 CXString getSpelling() const override;
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantPreprocessorCheck.cpp48 std::string MacroName = PP.getSpelling(MacroNameTok); in Ifdef()
56 std::string MacroName = PP.getSpelling(MacroNameTok); in Ifndef()
/external/clang/lib/Parse/
DParseOpenMP.cpp118 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind()
130 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind()
919 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeOrExecutableDirective()
1293 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSimpleClause()
1373 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause()
1385 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause()
1400 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause()
1414 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause()
1424 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause()
1436 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp176 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind()
188 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind()
586 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclareMapperDirective()
823 StringRef Name = P.getPreprocessor().getSpelling(Tok, Buffer); in getNameFromIdOrString()
1078 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer); in parseContextScore()
1421 : getOpenMPClauseKind(PP.getSpelling(Tok)); in parseOMPDeclareVariantMatchClause()
1546 Kind, Tok.isAnnotation() ? "" : P.getPreprocessor().getSpelling(Tok), in parseOpenMPSimpleClause()
1787 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
1828 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2198 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeOrExecutableDirective()
[all …]
/external/clang/include/clang/Lex/
DLexer.h248 static unsigned getSpelling(const Token &Tok, const char *&Buffer,
258 static std::string getSpelling(const Token &Tok,
271 static StringRef getSpelling(SourceLocation loc,
/external/llvm-project/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp70 OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition()
341 const std::string TokenText = PP.getSpelling(IncludeTok); in InclusionDirective()
360 << "#" << PP.getSpelling(IncludeTok) << " " in InclusionDirective()
695 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma()
794 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens()
802 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
/external/llvm-project/clang/include/clang/Lex/
DLexer.h306 static unsigned getSpelling(const Token &Tok, const char *&Buffer,
316 static std::string getSpelling(const Token &Tok,
329 static StringRef getSpelling(SourceLocation loc,
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteTest.cpp37 *OS << PP.getSpelling(*I); in DoRewriteTest()
/external/clang/lib/Frontend/Rewrite/
DRewriteTest.cpp38 *OS << PP.getSpelling(*I); in DoRewriteTest()
/external/llvm-project/lld/MachO/
DDriverUtils.cpp140 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile()
144 os << arg->getSpelling() << " " << quote(arg->getValue(0)) << " " in createResponseFile()

123456