/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()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceLocation.cpp | 76 SM.getSpellingLoc(*this).print(OS, SM); in print() 123 PrintedLoc = PrintDifference(OS, SM, SM.getSpellingLoc(Loc), PrintedLoc); in PrintDifference() 161 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() function in FullSourceLoc 163 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
|
/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()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar() 172 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat() 173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation()); in AvoidConcat()
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 164 Start = SM.getSpellingLoc(Start); in createReplacement() 165 End = SM.getSpellingLoc(End); in createReplacement() 171 SM, CharSourceRange::getTokenRange(SM.getSpellingLoc(Start), in createReplacement() 172 SM.getSpellingLoc(End)), in createReplacement() 193 Loc = SM.getSpellingLoc(Loc); in createInsertion() 273 SourceLocation DeclLoc = SM.getSpellingLoc(D->getBeginLoc()); in isDeclVisibleAtLocation() 274 Loc = SM.getSpellingLoc(Loc); in isDeclVisibleAtLocation() 701 MoveNs.InsertionOffset = SM.getFileOffset(SM.getSpellingLoc(InsertionLoc)); in moveOldNamespace() 738 CharSourceRange::getTokenRange(SM.getSpellingLoc(Start), in moveClassForwardDeclaration() 739 SM.getSpellingLoc(End)), in moveClassForwardDeclaration() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientAlgorithmCheck.cpp | 133 CallRange.setBegin(SM.getSpellingLoc(CallRange.getBegin())); in check() 134 CallRange.setEnd(SM.getSpellingLoc(CallRange.getEnd())); in check()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | Lookup.cpp | 146 UseLoc = SM.getSpellingLoc(UseLoc); in disambiguateSpellingInScope() 165 SM.getSpellingLoc(Res->getLocation()), UseLoc)) in disambiguateSpellingInScope()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | NoInternalDependenciesCheck.cpp | 38 Result.SourceManager->getSpellingLoc(InternalDependency->getBeginLoc()); in check()
|
D | AbseilMatcher.h | 35 SourceLocation Loc = SourceManager.getSpellingLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER()
|
D | DurationDivisionCheck.cpp | 50 result.SourceManager->getSpellingLoc(OpCall->getEndLoc()), 0, in check()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | FindSymbols.cpp | 174 SourceLocation BeginLoc = SM.getSpellingLoc(SM.getFileLoc(ND.getBeginLoc())); in declToSym() 175 SourceLocation EndLoc = SM.getSpellingLoc(SM.getFileLoc(ND.getEndLoc())); in declToSym() 199 NameLoc = SM.getSpellingLoc(NameLoc); in declToSym()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | DeprecatedIosBaseAliasesCheck.cpp | 55 IoStateLoc = SM.getSpellingLoc(IoStateLoc); in check()
|
D | RedundantVoidArgCheck.cpp | 242 {SM->getSpellingLoc(TL.getBeginLoc()), in processLambdaExpr() 243 SM->getSpellingLoc(TL.getEndLoc())}, in processLambdaExpr()
|
D | UseNullptrCheck.cpp | 335 ArgLoc = Expansion.getSpellingLoc().getLocWithOffset(LocInfo.second); in getMacroAndArgLocations() 394 Loc = Expansion.getSpellingLoc().getLocWithOffset(LocInfo.second); in expandsFrom()
|
D | ReplaceAutoPtrCheck.cpp | 137 AutoPtrLoc = SM.getSpellingLoc(AutoPtrLoc); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | FileExtensionsUtils.cpp | 31 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in isSpellingLocInHeaderFile()
|
/external/llvm-project/clang-tools-extra/clang-tidy/android/ |
D | ComparisonInTempFailureRetryCheck.cpp | 72 if (!Lexer::getRawToken(SM.getSpellingLoc(Invocation), Tok, SM, Opts, in check()
|
/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 328 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/llvm-project/clang/include/clang/Basic/ |
D | JsonSupport.h | 127 printSourceLocationAsJson(Out, SM.getSpellingLoc(Loc), SM, true);
|
D | SourceManager.h | 365 SourceLocation getSpellingLoc() const { in getSpellingLoc() function 1195 SourceLocation getSpellingLoc(SourceLocation Loc) const { in getSpellingLoc() function 1494 if (isWrittenInScratchSpace(getSpellingLoc(loc))) { in isInSystemMacro() 1497 } while (isWrittenInScratchSpace(getSpellingLoc(loc))); in isInSystemMacro() 1501 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 122 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/ |
D | DiagnosticRenderer.cpp | 401 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges() 402 End = SM->getSpellingLoc(End); in mapDiagnosticRanges() 428 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); in emitSingleMacroExpansion()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 409 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges() 410 End = SM->getSpellingLoc(End); in mapDiagnosticRanges() 433 FullSourceLoc SpellingLoc = Loc.getSpellingLoc(); in emitSingleMacroExpansion()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | ExplicitConstructorCheck.cpp | 44 FileID File = Sources.getFileID(Sources.getSpellingLoc(StartLoc)); in FindToken()
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 137 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin()); in getRangeSize() 138 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize() 151 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()), in setFromSourceRange()
|