/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MisleadingIndentationCheck.cpp | 93 SourceLocation NextLoc = NextStmt->getBeginLoc(); in missingBracesCheck() local 95 if (NextLoc.isInvalid() || NextLoc.isMacroID()) in missingBracesCheck() 99 SM.getExpansionColumnNumber(NextLoc)) { in missingBracesCheck() 100 diag(NextLoc, "misleading indentation: statement is indented too deeply"); in missingBracesCheck()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 76 SourceLocation NextLoc = S->getLocEnd(); in VisitSwitchStmt() local 80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc))); in VisitSwitchStmt() 81 NextLoc = Curr->getLocStart(); in VisitSwitchStmt()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 76 SourceLocation NextLoc = S->getEndLoc(); in VisitSwitchStmt() local 81 CaseInfo(Curr, SourceRange(Curr->getBeginLoc(), NextLoc))); in VisitSwitchStmt() 82 NextLoc = Curr->getBeginLoc(); in VisitSwitchStmt()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 786 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens() local 787 if (CurLoc.isFileID() != NextLoc.isFileID()) in updateConsecutiveMacroArgTokens() 791 if (!SM.isInSameSLocAddrSpace(CurLoc, NextLoc, &RelOffs)) in updateConsecutiveMacroArgTokens() 798 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens() 801 CurLoc = NextLoc; in updateConsecutiveMacroArgTokens()
|
D | PPMacroExpansion.cpp | 1590 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() local 1591 while (NextLoc.isValid()) { in ExpandBuiltinMacro() 1592 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro() 1596 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
|
/external/llvm/lib/Object/ |
D | Archive.cpp | 183 const char *NextLoc = Data.data() + SpaceToSkip; in getNext() local 186 if (NextLoc == Parent->Data.getBufferEnd()) in getNext() 190 if (NextLoc > Parent->Data.getBufferEnd()) in getNext() 194 Child Ret(Parent, NextLoc, &EC); in getNext()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenLexer.cpp | 1009 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens() local 1010 if (CurLoc.isFileID() != NextLoc.isFileID()) in updateConsecutiveMacroArgTokens() 1014 if (!SM.isInSameSLocAddrSpace(CurLoc, NextLoc, &RelOffs)) in updateConsecutiveMacroArgTokens() 1021 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens() 1024 CurLoc = NextLoc; in updateConsecutiveMacroArgTokens()
|
D | PPMacroExpansion.cpp | 1518 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() local 1519 while (NextLoc.isValid()) { in ExpandBuiltinMacro() 1520 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro() 1524 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro()
|
/external/clang/lib/AST/ |
D | TypeLoc.cpp | 92 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { class 106 return NextLoc().Visit(TL); in getNextTypeLocImpl()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | IncludeFixer.cpp | 205 SourceLocation NextLoc = Loc; in qualifiedByUnresolved() local 206 while (auto CCTok = Lexer::findNextToken(NextLoc, SM, LangOpts)) { in qualifiedByUnresolved() 213 NextLoc = IDTok->getLocation(); in qualifiedByUnresolved()
|
/external/llvm-project/clang/lib/AST/ |
D | TypeLoc.cpp | 110 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { class 125 return NextLoc().Visit(TL); in getNextTypeLocImpl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Archive.cpp | 462 const char *NextLoc = Data.data() + SpaceToSkip; in getNext() local 465 if (NextLoc == Parent->Data.getBufferEnd()) in getNext() 469 if (NextLoc > Parent->Data.getBufferEnd()) { in getNext() 482 Child Ret(Parent, NextLoc, &Err); in getNext()
|
/external/llvm-project/llvm/lib/Object/ |
D | Archive.cpp | 458 const char *NextLoc = Data.data() + SpaceToSkip; in getNext() local 461 if (NextLoc == Parent->Data.getBufferEnd()) in getNext() 465 if (NextLoc > Parent->Data.getBufferEnd()) { in getNext() 478 Child Ret(Parent, NextLoc, &Err); in getNext()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1062 SourceLocation NextLoc = Loc.getLocWithOffset(1); in isAtEndOfImmediateMacroExpansion() local 1063 if (isInFileID(NextLoc, FID)) in isAtEndOfImmediateMacroExpansion()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 1110 SourceLocation NextLoc = Loc.getLocWithOffset(1); in isAtEndOfImmediateMacroExpansion() local 1111 if (isInFileID(NextLoc, FID)) in isAtEndOfImmediateMacroExpansion()
|