Home
last modified time | relevance | path

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

123

/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/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()
DMacroInfo.cpp122 if (PP.getSpelling(A) != PP.getSpelling(B)) in isIdenticalTo()
DMacroArgs.cpp224 std::string TokStr = PP.getSpelling(Tok, &Invalid); in StringifyArgument()
238 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); in StringifyArgument()
DPPDirectives.cpp231 std::string Spelling = getSpelling(MacroNameTok, &Invalid); in CheckMacroName()
457 std::string DirectiveStr = getSpelling(Tok); in SkipExcludedConditionalBlock()
1096 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue()
1411 std::string Str = getSpelling(StrTok, &Invalid); in HandleIdentSCCSDirective()
1558 unsigned ActualLen = getSpelling(CurTok, BufPtr); in ConcatenateIncludeName()
1700 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
/external/clang/tools/libclang/
DCIndexDiagnostic.h68 virtual CXString getSpelling() const = 0;
129 CXString getSpelling() const override;
DCXLoadedDiagnostic.h38 CXString getSpelling() const override;
DCXStoredDiagnostic.cpp52 CXString CXStoredDiagnostic::getSpelling() const { in getSpelling() function in CXStoredDiagnostic
DCIndexDiagnostic.cpp61 CXString getSpelling() const override { in getSpelling() function in __anon2a4946200111::CXDiagnosticCustomNoteImpl
393 return D->getSpelling(); in clang_getDiagnosticSpelling()
/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/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,
DPreprocessor.h1359 StringRef getSpelling(SourceLocation loc,
1362 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid);
1373 std::string getSpelling(const Token &Tok, bool *Invalid = nullptr) const {
1374 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid);
1389 unsigned getSpelling(const Token &Tok, const char *&Buffer,
1391 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid);
1398 StringRef getSpelling(const Token &Tok,
/external/clang/lib/Frontend/Rewrite/
DRewriteTest.cpp38 *OS << PP.getSpelling(*I); in DoRewriteTest()
DRewriteMacros.cpp198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
DInclusionRewriter.cpp358 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid); in HandleHasInclude()
374 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid); in HandleHasInclude()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp71 OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition()
611 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma()
676 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens()
684 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp99 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
/external/llvm/include/llvm/Option/
DArg.h71 StringRef getSpelling() const { return Spelling; } in getSpelling() function
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
562 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp115 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); in TEST_F()
116 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str)); in TEST_F()
/external/llvm/lib/LibDriver/
DLibDriver.cpp122 llvm::errs() << "ignoring unknown argument: " << Arg->getSpelling() << "\n"; in libDriverMain()
/external/clang/include/clang/AST/
DAttr.h92 const char *getSpelling() const;
/external/clang/lib/Driver/
DDriver.cpp1231 << Previous->getSpelling() << (*it)->getSpelling(); in BuildInputs()
1505 << A->getSpelling() << V; in BuildActions()
1517 << A->getSpelling() << V; in BuildActions()
1526 Diag(clang::diag::err_drv_missing_argument) << A->getSpelling() << 1; in BuildActions()
1538 Diag(clang::diag::warn_drv_ycyu_no_arg_clang_cl) << YcArg->getSpelling(); in BuildActions()
1543 Diag(clang::diag::warn_drv_ycyu_no_arg_clang_cl) << YuArg->getSpelling(); in BuildActions()
1563 << (YcArg ? YcArg : YuArg)->getSpelling(); in BuildActions()

123