Home
last modified time | relevance | path

Searched refs:NextLoc (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp93 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/
DTransProtectedScope.cpp76 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/
DTransProtectedScope.cpp76 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/
DTokenLexer.cpp786 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()
DPPMacroExpansion.cpp1590 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/
DArchive.cpp183 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/
DTokenLexer.cpp1009 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()
DPPMacroExpansion.cpp1518 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/
DTypeLoc.cpp92 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { class
106 return NextLoc().Visit(TL); in getNextTypeLocImpl()
/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.cpp205 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/
DTypeLoc.cpp110 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { class
125 return NextLoc().Visit(TL); in getNextTypeLocImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp462 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/
DArchive.cpp458 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/
DSourceManager.cpp1062 SourceLocation NextLoc = Loc.getLocWithOffset(1); in isAtEndOfImmediateMacroExpansion() local
1063 if (isInFileID(NextLoc, FID)) in isAtEndOfImmediateMacroExpansion()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1110 SourceLocation NextLoc = Loc.getLocWithOffset(1); in isAtEndOfImmediateMacroExpansion() local
1111 if (isInFileID(NextLoc, FID)) in isAtEndOfImmediateMacroExpansion()