Home
last modified time | relevance | path

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

/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.cpp915 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getSpellingLocSlowCase()
957 Loc = E->getExpansion().getSpellingLoc(); in getDecomposedSpellingLocSlowCase()
975 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc(); in getImmediateSpellingLoc()
1832 ExpInfo.getSpellingLoc(), in computeMacroArgsCache()
1869 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp()
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp69 result.SourceManager->getSpellingLoc(expr->getLocStart()), in RewriteImplicitToExplicitConversion()
70 result.SourceManager->getSpellingLoc(expr->getLocEnd())); in RewriteImplicitToExplicitConversion()
84 result.SourceManager->getSpellingLoc(sub_expr->getLocStart()), in RewriteImplicitToExplicitConversion()
85 result.SourceManager->getSpellingLoc(sub_expr->getLocEnd())); in RewriteImplicitToExplicitConversion()
141 result.SourceManager->getSpellingLoc(begin), in RewriteRawPtrToScopedRefptr()
142 result.SourceManager->getSpellingLoc(end)); in RewriteRawPtrToScopedRefptr()
/external/clang/lib/Lex/
DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat()
161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
DLexer.cpp524 SourceLocation FileLoc = SM.getSpellingLoc(Loc); in GetBeginningOfToken()
815 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion()
982 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
999 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName()
1036 SourceLocation SpellingLoc = SM.getSpellingLoc(FileLoc); in GetMappedTokenLoc()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroName()
58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); in getImmediateMacroName()
380 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
381 End = SM->getSpellingLoc(End); in mapDiagnosticRanges()
458 SpellingLoc = SM.getSpellingLoc(SpellingLoc); in emitMacroExpansions()
/external/clang/lib/Tooling/
DRefactoring.cpp127 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize()
128 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize()
141 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
/external/clang/unittests/Lex/
DLexerTest.cpp324 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc); in TEST_F()
325 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc); in TEST_F()
326 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc); in TEST_F()
/external/chromium_org/tools/clang/plugins/
DFindBadConstructsConsumer.cpp264 SourceLocation spelling_loc = manager.getSpellingLoc(loc); in CheckVirtualMethod()
323 manager.getSpellingLoc(type_info_range.getEnd()); in CheckOverriddenMethod()
DChromeClassTester.cpp301 SourceLocation spelling_location = source_manager.getSpellingLoc(loc); in GetFilename()
/external/clang/include/clang/Basic/
DSourceManager.h325 SourceLocation getSpellingLoc() const { in getSpellingLoc() function
1066 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function
1329 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
DSourceLocation.h285 FullSourceLoc getSpellingLoc() const;
/external/clang/lib/Edit/
DCommit.cpp251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
/external/clang/lib/Sema/
DSemaChecking.cpp4130 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
4131 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
4132 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
4133 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
4134 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
4384 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
4385 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
4386 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
7155 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
7158 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
DSemaCodeComplete.cpp526 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
/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.cpp1581 Loc = Loc.getSpellingLoc(); in getEndPath()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp1468 SourceLocation spelling_location = source_manager.getSpellingLoc(loc); in GetFilename()
/external/clang/lib/AST/
DASTDumper.cpp452 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
DExpr.cpp983 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
DASTImporter.cpp4882 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
/external/clang/tools/libclang/
DCIndex.cpp146 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
6932 Loc = Unit->getSourceManager().getSpellingLoc(Loc); in checkForMacroInMacroDefinition()
/external/clang/lib/Serialization/
DASTWriter.cpp1763 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()