Home
last modified time | relevance | path

Searched refs:LookupName (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp176 LookupName = LineRef.substr(0, USRLength); in parseCrossTUIndexItem()
193 StringRef LookupName, FilePathInIndex; in parseCrossTUIndex() local
194 if (!parseCrossTUIndexItem(Line, LookupName, FilePathInIndex)) in parseCrossTUIndex()
204 Result.try_emplace(LookupName, FilePath.begin(), FilePath.end()); in parseCrossTUIndex()
263 if (const auto *ND = findDefInDeclContext<T>(SubDC, LookupName)) in findDefInDeclContext()
271 if (!ResultLookupName || *ResultLookupName != LookupName) in findDefInDeclContext()
286 const llvm::Optional<std::string> LookupName = getLookupName(D); in getCrossTUDefinitionImpl() local
287 if (!LookupName) in getCrossTUDefinitionImpl()
347 if (const T *ResultDecl = findDefInDeclContext<T>(TU, *LookupName)) in getCrossTUDefinitionImpl()
511 StringRef LookupName, StringRef CrossTUDir, StringRef IndexName, in loadExternalAST() argument
[all …]
/llvm-project-15.0.7/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp85 llvm::Optional<std::string> LookupName = in addIfInMain() local
87 if (!LookupName) in addIfInMain()
89 assert(!LookupName->empty() && "Lookup name should be non-empty."); in addIfInMain()
103 Index[*LookupName] = CurrentFileName; in addIfInMain()
/llvm-project-15.0.7/clang/unittests/Sema/
H A DSemaLookupTest.cpp33 S.LookupName(R_cpp, S.TUScope, /*AllowBuiltinCreation=*/false, in ExecuteAction()
43 S.LookupName(R_nocpp, S.TUScope, /*AllowBuiltinCreation=*/false, in ExecuteAction()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp384 LookupName(Found, S); in FindFirstQualifierInScope()
435 LookupName(Found, S); in isNonTypeNestedNameSpecifier()
565 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
573 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
604 LookupName(R, S); in BuildCXXNestedNameSpecifier()
690 LookupName(FoundOuter, S); in BuildCXXNestedNameSpecifier()
795 LookupName(Found, S); in BuildCXXNestedNameSpecifier()
H A DSemaLookup.cpp693 S.LookupName(Result, S.TUScope); in getOpenCLEnumType()
706 S.LookupName(Result, S.TUScope); in getOpenCLTypedefType()
968 Sema.LookupName(Result, S); in LookupPredefedObjCSuperType()
2168 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation, in LookupName() function in Sema
2736 return LookupName(R, S, AllowBuiltinCreation); in LookupParsedName()
3283 LookupName(R, S); in LookupSingleName()
3306 LookupName(Operators, S); in LookupOverloadedOperatorName()
3637 LookupName(R, S); in LookupLiteralOperator()
5834 LookupName(R, S); in ActOnPragmaDump()
H A DSemaExprObjC.cpp2299 LookupName(Result, S); in getObjCMessageKind()
3747 return LookupName(R, TUScope, false); in isKnownName()
4021 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
4085 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
4246 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
H A DSemaStmtAsm.cpp830 if (LookupName(BaseResult, getCurScope()) && BaseResult.isSingleResult()) in LookupInlineAsmField()
H A DSemaTemplateVariadic.cpp1010 LookupName(R, S); in ActOnSizeofParameterPackExpr()
H A DSemaDecl.cpp360 LookupName(Result, S); in getTypeName()
364 LookupName(Result, S); in getTypeName()
637 LookupName(R, S, false); in isTagName()
6264 LookupName(Previous, S, CreateBuiltins); in HandleDeclarator()
8182 LookupName(R, S); in CheckShadow()
8745 SemaRef.LookupName(Prev, S); in DiagnoseInvalidRedeclaration()
14256 LookupName(R, S); in ActOnParamDeclarator()
16386 LookupName(Previous, S); in ActOnTag()
16556 LookupName(Previous, S); in ActOnTag()
17407 LookupName(Previous, S); in HandleField()
[all …]
H A DSemaDeclCXX.cpp847 LookupName(Previous, S, in ActOnDecompositionDeclarator()
12311 LookupName(Previous, S); in BuildUsingDeclaration()
12552 LookupName(Previous, S); in BuildUsingEnumDeclaration()
12584 LookupName(Previous, S); in BuildUsingEnumDeclaration()
12982 LookupName(Previous, S); in ActOnAliasDeclaration()
13130 LookupName(PrevR, S); in ActOnNamespaceAliasDef()
14061 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
17028 LookupName(Previous, S, /*AllowBuiltinCreation*/false); in ActOnFriendFunctionDecl()
18314 LookupName(Previous, S); in HandleMSProperty()
H A DSemaTemplate.cpp466 LookupName(Found, S); in LookupTemplateName()
579 LookupName(FoundOuter, S); in LookupTemplateName()
1790 LookupName(Previous, S); in CheckClassTemplate()
8712 LookupName(Previous, S); in ActOnConceptDefinition()
10698 LookupName(Result, CurScope); in CheckTypenameType()
H A DSemaCoroutine.cpp809 LookupName(Operators, S); in BuildOperatorCoawaitLookupExpr()
H A DSemaLambda.cpp1158 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition()
H A DSemaType.cpp3764 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction()
3884 if (!S.LookupName(Result, S.getCurScope())) in warnAboutRedundantParens()
H A DSemaDeclObjC.cpp4769 LookupName(R, S); in ActOnMethodDeclaration()
H A DSemaChecking.cpp6851 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
10133 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr()
10877 S.LookupName(R, S.getCurScope()); in emitReplacement()
H A DSemaOpenMP.cpp7378 if (LookupName(Result, getCurScope())) { in checkOpenMPDeclareVariantFunction()
17306 if (SemaRef.LookupName(Result, SemaRef.getCurScope())) { in isValidInteropVariable()
21812 LookupName(Lookup, S); in ActOnOpenMPDeclareReductionDirectiveStart()
22064 LookupName(Lookup, S); in ActOnOpenMPDeclareMapperDirective()
H A DSemaExpr.cpp5404 LookupName(Previous, S); in ActOnOMPIteratorExpr()
6853 LookupName(R, TUScope, /*AllowBuiltinCreation=*/true); in BuildBuiltinCallExpr()
20756 if (LookupName(Result, getCurScope()) && Result.isSingleResult()) { in ActOnObjCBoolLiteral()
H A DSemaExprCXX.cpp291 LookupName(Found, S); in getDestructorName()
/llvm-project-15.0.7/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h168 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
218 StringRef LookupName);
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp86 sema.LookupName(*lookup_result, scopes.back()); in emulateLookupInCtxt()
H A DClangModulesDeclVendor.cpp399 m_compiler_instance->getSema().LookupName( in FindDecls()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyCheck.cpp93 const llvm::Twine &LookupName) { in getAsBool() argument
/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp250 SemaRef.LookupName(R, SemaRef.TUScope);
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp389 DeclarationName LookupName(&II); in lookupSiblingsWithinContext() local
408 LookupResult = DC->lookup(LookupName); in lookupSiblingsWithinContext()

12