Home
last modified time | relevance | path

Searched refs:DeclLoc (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clangd/index/
H A DSymbolCollector.cpp389 if (auto DeclLoc = getTokenLocation(MI->getDefinitionLoc(), SM, Opts, in handleMacroOccurence() local
391 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurence()
459 if (auto DeclLoc = getTokenLocation(findNameLoc(&ND), SM, Opts, in addDeclaration() local
461 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clangd/index/
H A DSymbolCollector.cpp413 if (auto DeclLoc = in handleMacroOccurence() local
415 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurence()
533 if (auto DeclLoc = in addDeclaration() local
535 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in checkDeclsAreVisible() local
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp115 SourceLocation DeclLoc = D->getLocation(); in Private()
118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in Private()
122 if (SM.isBeforeInTranslationUnit(DeclLoc, TargetLoc)) in Private()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clangd/index/
H A DSymbolCollector.cpp402 if (auto DeclLoc = in handleMacroOccurence() local
404 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurence()
582 if (auto DeclLoc = in addDeclaration() local
584 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DSourceCodeTests.cpp445 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
449 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)); in TEST()
452 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp437 if (auto DeclLoc = in handleMacroOccurrence() local
439 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurrence()
624 if (auto DeclLoc = in addDeclaration() local
626 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clangd/unittests/
H A DSourceCodeTests.cpp573 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST()
580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST()
583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DSourceCodeTests.cpp573 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST()
580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST()
583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/index/
H A DSymbolCollector.cpp436 if (auto DeclLoc = in handleMacroOccurrence() local
438 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurrence()
641 if (auto DeclLoc = in addDeclaration() local
643 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/unittests/
H A DSourceCodeTests.cpp573 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST()
580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST()
583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp436 if (auto DeclLoc = in handleMacroOccurrence() local
438 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurrence()
641 if (auto DeclLoc = in addDeclaration() local
643 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clangd/index/
H A DSymbolCollector.cpp437 if (auto DeclLoc = in handleMacroOccurrence() local
439 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurrence()
624 if (auto DeclLoc = in addDeclaration() local
626 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clangd/unittests/
H A DSourceCodeTests.cpp573 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST()
580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST()
583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clangd/unittests/
H A DSourceCodeTests.cpp573 auto DeclLoc = [&AST](llvm::StringRef Name) { in TEST() local
577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST()
580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST()
583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()

12345678910>>...13