|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/SmallSet.h 240 if (*I == V)
tools/clang/include/clang/AST/TypeLoc.h 713 (D->getIdentifier() == nullptr || D->getLocation() == getNameLoc());
tools/clang/include/clang/Basic/SourceLocation.h 188 return !(LHS == RHS);
215 return B == X.B && E == X.E;
215 return B == X.B && E == X.E;
tools/clang/include/clang/Basic/SourceManager.h 1196 if (Expansion.getEnd() == Range.getEnd())
1656 return Location == Start || Location == End ||
1656 return Location == Start || Location == End ||
tools/clang/include/clang/Sema/Sema.h11714 return LHS.FD == RHS.FD && LHS.Loc == RHS.Loc;
tools/clang/include/clang/Sema/Weak.h 38 return alias == RHS.getAlias() && loc == RHS.getLocation();
tools/clang/lib/ARCMigrate/ARCMT.cpp 40 (diagLoc == range.getEnd() ||
69 (diagLoc == range.getEnd() ||
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp 52 if (AfterMacroLoc == SemiLoc)
69 return AfterMacroSemiLoc == SemiLoc;
tools/clang/lib/AST/Decl.cpp 4756 return SM.getSpellingLoc(TTLoc) == SM.getSpellingLoc(TDLoc);
tools/clang/lib/AST/RawCommentList.cpp 114 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) {
tools/clang/lib/Analysis/CloneDetection.cpp 48 getBeginLoc() == Other.getBeginLoc();
54 Other.getEndLoc() == getEndLoc();
tools/clang/lib/Basic/Diagnostic.cpp 364 if ((L.isInvalid() || L == DiagStatesByLoc.getCurDiagStateLoc()) &&
tools/clang/lib/Basic/SourceManager.cpp 1074 PrevEntry.getExpansion().getExpansionLocStart() == ExpLoc)
1109 NextEntry.getExpansion().getExpansionLocStart() ==
1944 if (LHS == RHS)
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 517 if (DR.getBeginLoc() == DeferredEndLoc)
617 if (StartLoc == getStartOfFileOrMacro(StartLoc) &&
618 EndLoc == getEndOfFileOrMacro(EndLoc))
684 return Region.getBeginLoc() == StartLoc &&
685 Region.getEndLoc() == EndLoc;
700 MostRecentLocation == getEndOfFileOrMacro(MostRecentLocation) &&
820 if (StartLoc == EndLoc)
1156 if (Parent.hasStartLoc() && Parent.getBeginLoc() == getStart(S))
tools/clang/lib/Format/Format.cpp 1382 if (Tok->WhitespaceRange.getBegin() == Tok->WhitespaceRange.getEnd()) {
tools/clang/lib/Format/UnwrappedLineParser.cpp 828 FormatTok->WhitespaceRange.getBegin() ==
tools/clang/lib/Frontend/CompilerInstance.cpp 1630 if (ImportLoc.isValid() && LastModuleImportLoc == ImportLoc) {
tools/clang/lib/Frontend/DiagnosticRenderer.cpp 172 if (LastIncludeLoc == IncludeLoc)
460 if (ArgumentLoc == MacroLoc) return true;
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 754 StartLoc == (*DI)->getBeginLoc())
779 StartLoc == (*DI)->getBeginLoc())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 686 StartLoc == (*DI)->getBeginLoc())
705 StartLoc == (*DI)->getBeginLoc())
tools/clang/lib/Frontend/TextDiagnostic.cpp 1152 if (Loc == LastLoc && Ranges.empty() && Hints.empty() &&
tools/clang/lib/Index/IndexDecl.cpp 376 if (Loc == SuperLoc)
559 } else if (D->getLocation() == IvarLoc) {
tools/clang/lib/Lex/Lexer.cpp 928 BeginEntry.getExpansion().getExpansionLocStart() ==
2527 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) {
2957 return Loc == PP->getCodeCompletionLoc();
tools/clang/lib/Lex/PPCaching.cpp 119 assert(CachedTokens[CachedLexPos-1].getLastLoc() == Tok.getAnnotationEndLoc()
126 if (AnnotBegin->getLocation() == Tok.getLocation()) {
tools/clang/lib/Lex/PPLexerChange.cpp 407 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) ==
503 if (CurLexer->getFileLoc() == CodeCompletionFileLoc)
tools/clang/lib/Lex/TokenConcatenation.cpp 174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
tools/clang/lib/Parse/ParseDeclCXX.cpp 959 return T.getOpenLocation() == Tok.getLocation() ?
tools/clang/lib/Parse/ParseExpr.cpp 982 getCurScope(), II, ILoc, ExprStatementTokLoc == ILoc);
1799 Base && ExprStatementTokLoc == Base->getBeginLoc(),
tools/clang/lib/Parse/ParseExprCXX.cpp 46 return FirstEnd == SM.getSpellingLoc(Second.getLocation());
tools/clang/lib/Parse/ParseObjc.cpp 1287 else if (Tok.getLocation() == TypeStartLoc) {
1458 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) {
2852 ExprStatementTokLoc == AtLoc) {
tools/clang/lib/Parse/ParsePragma.cpp 1389 if (FixItRange.getBegin() == FixItRange.getEnd())
tools/clang/lib/Parse/ParseStmtAsm.cpp 108 assert(FirstOrigToken[NumConsumedToks].getLocation() ==
tools/clang/lib/Rewrite/HTMLRewrite.cpp 633 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 405 if (ExpectedLoc == LParLoc)
tools/clang/lib/Sema/SemaExpr.cpp11929 Loc.getLocWithOffset(1) == UO->getOperatorLoc() &&
14146 if (ExplicitSignature.getLocalRangeBegin() ==
tools/clang/lib/Sema/SemaExprObjC.cpp 3203 if (Pos != S.ReferencedSelectors.end() && Pos->second == Loc)
tools/clang/lib/Sema/SemaModule.cpp 480 if (EomLoc == getSourceManager().getLocForEndOfFile(File)) {
tools/clang/lib/Sema/SemaType.cpp 3808 if (!FixItLoc.isValid() || FixItLoc == PointerLoc)
5480 assert(TL.getRAngleLoc() == OldTL.castAs<TemplateSpecializationTypeLoc>().getRAngleLoc());
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 2636 if (!MacroStack.empty() && InstantiationLoc == MacroStack.back().second) {
2651 if (InstantiationLoc == MacroStack.back().second) {
2656 if (ParentInstantiationLoc == MacroStack.back().second) {
2664 if (!MacroGroup || ParentInstantiationLoc == MacroStack.back().second) {
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 150 if (R.getBegin() == R.getEnd()) {
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp 44 SelectionEnd(Selection.getBegin() == Selection.getEnd()
383 if (SelectionRange.getBegin() == SelectionRange.getEnd())
tools/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp 63 return Point == Start || Point == End ||
63 return Point == Start || Point == End ||
tools/clang/lib/Tooling/Syntax/BuildTree.cpp 79 assert(First == Last ||
268 assert(It->location() == L);
tools/clang/lib/Tooling/Syntax/Tokens.cpp 405 assert(File.SpelledTokens[NextSpelled[FID]].location() == L &&
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 129 return SM.getLocForEndOfFile(SM.getDecomposedLoc(Loc).first) == End
tools/clang/tools/extra/clang-move/Move.cpp 305 return SM.getLocForEndOfFile(LocInfo.first) == EndLoc
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 88 if (Tok.getLocation() == Range.getEnd() || Tok.is(tok::eof))
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.h 28 if (L.getBegin() == R.getBegin()) {
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp 377 return Loc == TestMacroLoc;
387 if (MacroLoc.isFileID() && MacroLoc == TestMacroLoc) {
tools/clang/tools/extra/clang-tidy/readability/RedundantDeclarationCheck.cpp 47 if (Prev->getLocation() == D->getLocation())
67 if (Other != D && Other->getBeginLoc() == VD->getBeginLoc()) {
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.cpp 61 if (!IfStack.empty() && IfLoc == IfStack.back().Loc)
63 if (!IfdefStack.empty() && IfLoc == IfdefStack.back().Loc)
65 if (!IfndefStack.empty() && IfLoc == IfndefStack.back().Loc)
tools/clang/tools/extra/clang-tidy/utils/ASTUtils.cpp 80 MacroArgExpansionStartForRangeBegin == MacroArgExpansionStartForRangeEnd;
tools/clang/tools/extra/clangd/IncludeFixer.cpp 110 LastUnresolvedName->Loc == Info.getLocation())
tools/clang/tools/extra/clangd/SourceCode.cpp 317 if (BeforeTokBeginning == CurrentTokBeginning) {
379 return L == R.getEnd() || halfOpenRangeContains(Mgr, R, L);
tools/clang/tools/extra/clangd/XRefs.cpp 166 if (Loc == SearchedLocation) {
943 return L.Loc == R.Loc;
tools/clang/tools/extra/clangd/refactor/tweaks/RawStringLiteral.cpp 61 if (SM.isBeforeInTranslationUnit(*I, Cursor) || *I == Cursor)
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 2277 return ND.getLocation() == SL && llvm::isa<FunctionDecl>(ND);
tools/clang/tools/libclang/CIndex.cpp 127 if (L == R.getBegin() || L == R.getEnd())
127 if (L == R.getBegin() || L == R.getEnd())
573 BeginLoc == RegionOfInterest.getEnd()) {
5605 if (Data->VisitedDeclaratorDeclStartLoc == StartLoc)
5633 D->getLocation() == Data->TokenBeginLoc)
7181 if (TokLoc == cursorRange.getBegin())
7226 E->getBeginLoc() == D->getLocation() &&
7227 E->getBeginLoc() == GetTokenLoc(I)) {
7368 if (macroRange.getBegin() == macroRange.getEnd())
7473 assert(Tok.getLocation() ==
8814 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc())
tools/clang/tools/libclang/CXCursor.cpp 109 RegionOfInterest.getBegin() == RegionOfInterest.getEnd()) {
565 RegionOfInterest.getBegin() == RegionOfInterest.getEnd()) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp 169 ObjCID->getLocation() == Loc) {
177 ObjCPD->getLocation() == Loc) {
tools/clang/tools/libclang/Indexing.cpp 255 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) {
tools/clang/unittests/Tooling/SourceCodeTest.cpp 47 arg.getBegin() == R.getBegin() && arg.getEnd() == R.getEnd();
47 arg.getBegin() == R.getBegin() && arg.getEnd() == R.getEnd();
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp 83 return arg.location() == SourceRng.first &&
84 arg.endLocation() == SourceRng.second;
usr/include/c++/7.4.0/bits/predefined_ops.h 106 { return *__it1 == *__it2; }
241 { return *__it == _M_value; }
usr/include/c++/7.4.0/bits/stl_pair.h 449 { return __x.first == __y.first && __x.second == __y.second; }
449 { return __x.first == __y.first && __x.second == __y.second; }
usr/include/c++/7.4.0/tuple 1372 return bool(std::get<__i>(__t) == std::get<__i>(__u))
utils/unittest/googlemock/include/gmock/gmock-matchers.h 206 bool operator()(const A& a, const B& b) const { return a == b; }
utils/unittest/googletest/include/gtest/gtest.h 1392 if (lhs == rhs) {