/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 60 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()
|
D | SourceManager.cpp | 909 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/ |
D | TokenConcatenation.cpp | 55 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()
|
D | Lexer.cpp | 518 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/ |
D | DiagnosticRenderer.cpp | 52 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/ |
D | Replacement.cpp | 127 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/ |
D | LexerTest.cpp | 323 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/ |
D | SourceManager.h | 317 SourceLocation getSpellingLoc() const { in getSpellingLoc() function 1087 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function 1354 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
D | SourceLocation.h | 286 FullSourceLoc getSpellingLoc() const;
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); in canInsertAfterToken()
|
D | EditedSource.cpp | 33 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 99 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), in handleAttr()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 101 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/ |
D | SemaChecking.cpp | 5309 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()
|
D | SemaCodeComplete.cpp | 525 SemaRef.SourceMgr.getSpellingLoc(ND->getLocation())))) in isInterestingDecl()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 646 StringRef FilePath = SM.getFilename(SM.getSpellingLoc(Decl->getLocStart())); in checkPostCall()
|
D | LocalizationChecker.cpp | 934 SL = SE.getExpansion().getSpellingLoc(); in VisitObjCMessageExpr()
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent() 47 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
|
D | ParseDeclCXX.cpp | 3613 PP.getSourceManager().getSpellingLoc(Tok.getLocation()); in TryParseCXX11AttributeIdentifier()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 1571 Loc = Loc.getSpellingLoc(); in getEndPath()
|
/external/clang/lib/AST/ |
D | ASTDumper.cpp | 575 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); in dumpLocation()
|
D | Expr.cpp | 1044 SourceLocation StrTokSpellingLoc = SM.getSpellingLoc(StrTokLoc); in getLocationOfByte()
|
D | ASTImporter.cpp | 5684 FromLoc = FromSM.getSpellingLoc(FromLoc); in Import()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 151 unsigned Length = Lexer::MeasureTokenLength(SM.getSpellingLoc(EndLoc), in translateSourceRange() 7495 Loc = Unit->getSourceManager().getSpellingLoc(Loc); in checkForMacroInMacroDefinition()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1942 Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); in WriteSourceManagerBlock()
|