Searched refs:getSpellingLoc (Results 1 - 23 of 23) sorted by relevance

/external/clang/lib/Basic/
H A DSourceLocation.cpp60 SM.getSpellingLoc(*this).print(OS, SM);
91 FullSourceLoc FullSourceLoc::getSpellingLoc() const { function in class:FullSourceLoc
93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr);
H A DSourceManager.cpp915 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc();
957 Loc = E->getExpansion().getSpellingLoc();
975 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc();
1832 ExpInfo.getSpellingLoc(),
1869 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs),
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation());
161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation());
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
H A DRewriteScopedRefptr.cpp69 result.SourceManager->getSpellingLoc(expr->getLocStart()),
70 result.SourceManager->getSpellingLoc(expr->getLocEnd()));
84 result.SourceManager->getSpellingLoc(sub_expr->getLocStart()),
85 result.SourceManager->getSpellingLoc(sub_expr->getLocEnd()));
141 result.SourceManager->getSpellingLoc(begin),
142 result.SourceManager->getSpellingLoc(end));
/external/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc))))
58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first);
380 Begin = SM->getSpellingLoc(Begin);
381 End = SM->getSpellingLoc(End);
458 SpellingLoc = SM.getSpellingLoc(SpellingLoc);
/external/clang/lib/Tooling/
H A DRefactoring.cpp127 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin());
128 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd());
141 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()),
/external/clang/unittests/Lex/
H A DLexerTest.cpp324 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc);
325 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc);
326 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc);
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp264 SourceLocation spelling_loc = manager.getSpellingLoc(loc);
323 manager.getSpellingLoc(type_info_range.getEnd());
H A DChromeClassTester.cpp301 SourceLocation spelling_location = source_manager.getSpellingLoc(loc);
/external/clang/include/clang/Basic/
H A DSourceLocation.h285 FullSourceLoc getSpellingLoc() const;
H A DSourceManager.h325 SourceLocation getSpellingLoc() const { function in class:clang::SrcMgr::ExpansionInfo
1066 SourceLocation getSpellingLoc(SourceLocation Loc) const { function in class:clang::SourceManager
1329 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc));
/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()),
/external/clang/lib/Edit/
H A DCommit.cpp251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc);
/external/clang/lib/Sema/
H A DSemaChecking.cpp4130 SL = SM.getSpellingLoc(SL);
4131 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()),
4132 SM.getSpellingLoc(DSR.getEnd()));
4133 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()),
4134 SM.getSpellingLoc(SSR.getEnd()));
4384 SL = SM.getSpellingLoc(SL);
4385 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()),
4386 SM.getSpellingLoc(SR.getEnd()));
5845 // a system macro. The problem is that 'getSpellingLoc()' is slow, so we
7155 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc(
[all...]
H A DSemaCodeComplete.cpp526 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation()))))
/external/clang/lib/AST/
H A DASTDumper.cpp452 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc);
H A DExpr.cpp983 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc);
H A DASTImporter.cpp4882 FromLoc = FromSM.getSpellingLoc(FromLoc);
/external/clang/lib/Parse/
H A DParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation());
47 return FirstEnd == SM.getSpellingLoc(Second.getLocation());
/external/chromium_org/tools/clang/blink_gc_plugin/
H A DBlinkGCPlugin.cpp1468 SourceLocation spelling_location = source_manager.getSpellingLoc(loc);
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1581 Loc = Loc.getSpellingLoc();
/external/clang/tools/libclang/
H A DCIndex.cpp146 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc),
6932 Loc = Unit->getSourceManager().getSpellingLoc(Loc);
/external/clang/lib/Serialization/
H A DASTWriter.cpp1763 Record.push_back(Expansion.getSpellingLoc().getRawEncoding());

Completed in 7064 milliseconds