Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/CrossTU/
DCrossTranslationUnit.cpp158 static bool parseCrossTUIndexItem(StringRef LineRef, StringRef &LookupName, in parseCrossTUIndexItem() argument
176 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()
258 StringRef LookupName) { in findDefInDeclContext() argument
263 if (const auto *ND = findDefInDeclContext<T>(SubDC, LookupName)) in findDefInDeclContext()
271 if (!ResultLookupName || *ResultLookupName != LookupName) in findDefInDeclContext()
286 const std::optional<std::string> LookupName = getLookupName(D); in getCrossTUDefinitionImpl() local
287 if (!LookupName) in getCrossTUDefinitionImpl()
[all …]
/openbsd/src/gnu/llvm/clang/tools/clang-extdef-mapping/
DClangExtDefMapGen.cpp86 std::optional<std::string> LookupName = in addIfInMain() local
88 if (!LookupName) in addIfInMain()
90 assert(!LookupName->empty() && "Lookup name should be non-empty."); in addIfInMain()
104 Index[*LookupName] = CurrentFileName; in addIfInMain()
/openbsd/src/gnu/llvm/clang/lib/Sema/
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()
DSemaLookup.cpp696 S.LookupName(Result, S.TUScope); in getOpenCLEnumType()
709 S.LookupName(Result, S.TUScope); in getOpenCLTypedefType()
971 Sema.LookupName(Result, S); in LookupPredefedObjCSuperType()
2179 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation, in LookupName() function in Sema
2747 return LookupName(R, S, AllowBuiltinCreation); in LookupParsedName()
3294 LookupName(R, S); in LookupSingleName()
3317 LookupName(Operators, S); in LookupOverloadedOperatorName()
3649 LookupName(R, S); in LookupLiteralOperator()
5843 LookupName(R, S); in ActOnPragmaDump()
DSemaExprObjC.cpp2297 LookupName(Result, S); in getObjCMessageKind()
3741 return LookupName(R, TUScope, false); in isKnownName()
4015 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
4079 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
4240 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
DSemaStmtAsm.cpp836 if (LookupName(BaseResult, getCurScope()) && BaseResult.isSingleResult()) in LookupInlineAsmField()
DSemaTemplateVariadic.cpp1015 LookupName(R, S); in ActOnSizeofParameterPackExpr()
DSemaDecl.cpp418 LookupName(Result, S); in getTypeName()
422 LookupName(Result, S); in getTypeName()
674 LookupName(R, S, false); in isTagName()
5325 if (!SemaRef.LookupName(R, S)) return false; in CheckAnonMemberRedeclaration()
6343 LookupName(Previous, S, CreateBuiltins); in HandleDeclarator()
8307 LookupName(R, S); in CheckShadow()
8883 SemaRef.LookupName(Prev, S); in DiagnoseInvalidRedeclaration()
14646 LookupName(R, S); in ActOnParamDeclarator()
16845 LookupName(Previous, S); in ActOnTag()
17015 LookupName(Previous, S); in ActOnTag()
[all …]
DSemaTemplate.cpp467 LookupName(Found, S); in LookupTemplateName()
580 LookupName(FoundOuter, S); in LookupTemplateName()
1884 LookupName(Previous, S); in CheckClassTemplate()
8967 LookupName(Previous, S); in ActOnConceptDefinition()
10956 LookupName(Result, CurScope); in CheckTypenameType()
DSemaCoroutine.cpp816 LookupName(Operators, S); in BuildOperatorCoawaitLookupExpr()
DSemaDeclCXX.cpp881 LookupName(Previous, S, in ActOnDecompositionDeclarator()
12419 LookupName(Previous, S); in BuildUsingDeclaration()
12661 LookupName(Previous, S); in BuildUsingEnumDeclaration()
12693 LookupName(Previous, S); in BuildUsingEnumDeclaration()
13091 LookupName(Previous, S); in ActOnAliasDeclaration()
13239 LookupName(PrevR, S); in ActOnNamespaceAliasDef()
14171 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
17237 LookupName(Previous, S, /*AllowBuiltinCreation*/false); in ActOnFriendFunctionDecl()
18525 LookupName(Previous, S); in HandleMSProperty()
DSemaLambda.cpp1189 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition()
DSemaType.cpp3831 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction()
3951 if (!S.LookupName(Result, S.getCurScope())) in warnAboutRedundantParens()
DSemaDeclObjC.cpp4781 LookupName(R, S); in ActOnMethodDeclaration()
DSemaChecking.cpp7048 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
10449 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr()
11200 S.LookupName(R, S.getCurScope()); in emitReplacement()
DSemaOpenMP.cpp7464 if (LookupName(Result, getCurScope())) { in checkOpenMPDeclareVariantFunction()
17588 if (SemaRef.LookupName(Result, SemaRef.getCurScope())) { in isValidInteropVariable()
22103 LookupName(Lookup, S); in ActOnOpenMPDeclareReductionDirectiveStart()
22355 LookupName(Lookup, S); in ActOnOpenMPDeclareMapperDirective()
DSemaExpr.cpp5409 LookupName(Previous, S); in ActOnOMPIteratorExpr()
7093 LookupName(R, TUScope, /*AllowBuiltinCreation=*/true); in BuildBuiltinCallExpr()
21135 if (LookupName(Result, getCurScope()) && Result.isSingleResult()) { in ActOnObjCBoolLiteral()
DSemaExprCXX.cpp294 LookupName(Found, S); in getDestructorName()
DSemaOverload.cpp952 S.LookupName(NonMembers, in shouldAddReversedEqEq()
/openbsd/src/gnu/llvm/clang/include/clang/CrossTU/
DCrossTranslationUnit.h168 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
218 StringRef LookupName);
/openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
DCxxModuleHandler.cpp87 sema.LookupName(*lookup_result, scopes.back()); in emulateLookupInCtxt()
DClangModulesDeclVendor.cpp458 m_compiler_instance->getSema().LookupName( in FindDecls()
/openbsd/src/gnu/llvm/clang/include/clang/Sema/
DSema.h4453 bool LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation = false,