Home
last modified time | relevance | path

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

12

/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()
1831 ExpInfo.getSpellingLoc(), in computeMacroArgsCache()
1868 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), in associateFileChunkWithMacroArgExp()
2175 out << " spelling from " << EI.getSpellingLoc().getOffset() << "\n"; in dump()
/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()
809 SourceLocation spellLoc = SM.getSpellingLoc(loc); in isAtEndOfMacroExpansion()
976 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
993 Loc = SM.getSpellingLoc(Loc); in getImmediateMacroName()
1030 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()
442 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
443 End = SM->getSpellingLoc(End); in mapDiagnosticRanges()
469 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in emitSingleMacroExpansion()
/external/clang/lib/Tooling/Core/
DReplacement.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.cpp323 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc); in TEST_F()
324 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc); in TEST_F()
325 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc); in TEST_F()
/external/clang/include/clang/Basic/
DSourceManager.h317 SourceLocation getSpellingLoc() const { in getSpellingLoc() function
1087 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function
1354 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/clang/lib/CodeGen/
DCoverageMappingGen.cpp101 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); in getPreciseTokenLocEnd()
128 return strcmp(SM.getBufferName(SM.getSpellingLoc(Loc)), "<built-in>") == 0; in isInBuiltin()
/external/clang/lib/Sema/
DSemaChecking.cpp5309 SL = SM.getSpellingLoc(SL); in CheckMemaccessArguments()
5310 DSR = SourceRange(SM.getSpellingLoc(DSR.getBegin()), in CheckMemaccessArguments()
5311 SM.getSpellingLoc(DSR.getEnd())); in CheckMemaccessArguments()
5312 SSR = SourceRange(SM.getSpellingLoc(SSR.getBegin()), in CheckMemaccessArguments()
5313 SM.getSpellingLoc(SSR.getEnd())); in CheckMemaccessArguments()
5570 SL = SM.getSpellingLoc(SL); in CheckStrncatArguments()
5571 SR = SourceRange(SM.getSpellingLoc(SR.getBegin()), in CheckStrncatArguments()
5572 SM.getSpellingLoc(SR.getEnd())); in CheckStrncatArguments()
8622 SourceLocation RBracketLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
8625 SourceLocation IndexLoc = SourceMgr.getSpellingLoc( in CheckArrayAccess()
DSemaCodeComplete.cpp525 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp646 StringRef FilePath = SM.getFilename(SM.getSpellingLoc(Decl->getLocStart())); in checkPostCall()
DLocalizationChecker.cpp934 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()
DParseDeclCXX.cpp3613 PP.getSourceManager().getSpellingLoc(Tok.getLocation()); in TryParseCXX11AttributeIdentifier()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp1571 Loc = Loc.getSpellingLoc(); in getEndPath()
/external/clang/lib/AST/
DASTDumper.cpp575 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
DExpr.cpp1044 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
DASTImporter.cpp5684 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
/external/clang/tools/libclang/
DCIndex.cpp151 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange()
7495 Loc = Unit->getSourceManager().getSpellingLoc(Loc); in checkForMacroInMacroDefinition()
/external/clang/lib/Serialization/
DASTWriter.cpp1942 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()

12