Home
last modified time | relevance | path

Searched refs:getSpellingLoc (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp95 result.SourceManager->getSpellingLoc(target->getLocStart()), in run()
96 result.SourceManager->getSpellingLoc(target->getArg(0)->getExprLoc()) in run()
99 result.SourceManager->getSpellingLoc(target->getRParenLoc()), in run()
100 result.SourceManager->getSpellingLoc(target->getRParenLoc())); in run()
114 result.SourceManager->getSpellingLoc(target->getLocStart()), in run()
115 result.SourceManager->getSpellingLoc( in run()
124 result.SourceManager->getSpellingLoc(target->getLocStart()), in run()
125 result.SourceManager->getSpellingLoc(target->getArg(0)->getExprLoc()) in run()
172 result.SourceManager->getSpellingLoc(callee->getLocEnd()), in run()
173 result.SourceManager->getSpellingLoc(callee->getLocEnd())); in run()
[all …]
/external/clang/lib/Basic/
DSourceLocation.cpp60 SM.getSpellingLoc(*this).print(OS, SM); in print()
91 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() function in FullSourceLoc
93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
DSourceManager.cpp909 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase()
951 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase()
969 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc()
1838 ExpInfo.getSpellingLoc(), in computeMacroArgsCache()
1875 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp()
2190 out << " spelling from " << EI.getSpellingLoc().getOffset() << "\n"; in dump()
/external/v8/tools/clang/pass_to_move/
DPassToMove.cpp54 result.SourceManager->getSpellingLoc(arg->getLocStart()), 0, in run()
64 result.SourceManager->getSpellingLoc(callee->getOperatorLoc()), in run()
65 result.SourceManager->getSpellingLoc(call_expr->getRParenLoc())), in run()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp70 result.SourceManager->getSpellingLoc(expr->getLocStart()), in RewriteImplicitToExplicitConversion()
71 result.SourceManager->getSpellingLoc(expr->getLocEnd())); in RewriteImplicitToExplicitConversion()
85 result.SourceManager->getSpellingLoc(sub_expr->getLocStart()), in RewriteImplicitToExplicitConversion()
86 result.SourceManager->getSpellingLoc(sub_expr->getLocEnd())); in RewriteImplicitToExplicitConversion()
142 result.SourceManager->getSpellingLoc(begin), in RewriteRawPtrToScopedRefptr()
143 result.SourceManager->getSpellingLoc(end)); in RewriteRawPtrToScopedRefptr()
/external/clang/lib/Lex/
DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
134 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
164 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat()
165 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
DLexer.cpp518 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken()
811 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion()
978 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
995 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName()
1014 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroNameForDiagnostics()
1020 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); in getImmediateMacroNameForDiagnostics()
1057 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
/external/clang/unittests/Lex/
DLexerTest.cpp328 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc); in TEST_F()
329 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc); in TEST_F()
330 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc); in TEST_F()
/external/clang/lib/Tooling/Core/
DReplacement.cpp122 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize()
123 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize()
136 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp401 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
402 End = SM->getSpellingLoc(End); in mapDiagnosticRanges()
428 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in emitSingleMacroExpansion()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp480 ClassifyLocation(instance().getSourceManager().getSpellingLoc(loc)); in ReportIfSpellingLocNotIgnored()
650 LocationType type = ClassifyLocation(manager.getSpellingLoc(loc)); in CheckVirtualBodies()
1013 instance().getSourceManager().getSpellingLoc(fd->getLocation()))) in ParseFunctionTemplates()
DChromeClassTester.cpp216 SourceLocation spelling_location = source_manager.getSpellingLoc(loc); in GetFilename()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp103 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
130 return strcmp(SM.getBufferName(SM.getSpellingLoc(Loc)), "<built-in>") == 0; in isInBuiltin()
176 if (SM.isInSystemHeader(SM.getSpellingLoc(Loc))) in gatherFileIDs()
259 if (SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) in emitSourceRegions()
/external/v8/tools/clang/blink_gc_plugin/
DBlinkGCPluginConsumer.cpp144 instance_.getSourceManager().getSpellingLoc(fd->getLocation()))) in ParseFunctionTemplates()
716 SourceLocation spelling_location = source_manager.getSpellingLoc(loc); in GetFilename()
/external/clang/include/clang/Basic/
DSourceManager.h316 SourceLocation getSpellingLoc() const { in getSpellingLoc() function
1095 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function
1362 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
DSourceLocation.h286 FullSourceLoc getSpellingLoc() const;
/external/clang/lib/Edit/
DCommit.cpp251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
DEditedSource.cpp33 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1102 clang::SourceLocation spell = source_manager.getSpellingLoc(loc); in GenerateReplacement()
1124 clang::SourceLocation spell = source_manager.getSpellingLoc(loc); in GenerateReplacement()
/external/clang/lib/Sema/
DSemaChecking.cpp6197 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
6198 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
6199 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
6200 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
6201 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
6457 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
6458 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
6459 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
9645 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
9648 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp793 StringRef FilePath = SM.getFilename(SM.getSpellingLoc(Decl->getLocStart())); in checkPostCall()
DLocalizationChecker.cpp1033 SL = SE.getExpansion().getSpellingLoc(); in VisitObjCMessageExpr()
/external/clang/lib/Parse/
DParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
47 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp1633 Loc = Loc.getSpellingLoc(); in getEndPath()

12