| /llvm-project-15.0.7/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 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() 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 D | ClangExtDefMapGen.cpp | 85 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 D | SemaLookupTest.cpp | 33 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 D | SemaCXXScopeSpec.cpp | 384 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 D | SemaLookup.cpp | 693 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 D | SemaExprObjC.cpp | 2299 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 D | SemaStmtAsm.cpp | 830 if (LookupName(BaseResult, getCurScope()) && BaseResult.isSingleResult()) in LookupInlineAsmField()
|
| H A D | SemaTemplateVariadic.cpp | 1010 LookupName(R, S); in ActOnSizeofParameterPackExpr()
|
| H A D | SemaDecl.cpp | 360 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 D | SemaDeclCXX.cpp | 847 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 D | SemaTemplate.cpp | 466 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 D | SemaCoroutine.cpp | 809 LookupName(Operators, S); in BuildOperatorCoawaitLookupExpr()
|
| H A D | SemaLambda.cpp | 1158 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition()
|
| H A D | SemaType.cpp | 3764 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 3884 if (!S.LookupName(Result, S.getCurScope())) in warnAboutRedundantParens()
|
| H A D | SemaDeclObjC.cpp | 4769 LookupName(R, S); in ActOnMethodDeclaration()
|
| H A D | SemaChecking.cpp | 6851 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 D | SemaOpenMP.cpp | 7378 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 D | SemaExpr.cpp | 5404 LookupName(Previous, S); in ActOnOMPIteratorExpr() 6853 LookupName(R, TUScope, /*AllowBuiltinCreation=*/true); in BuildBuiltinCallExpr() 20756 if (LookupName(Result, getCurScope()) && Result.isSingleResult()) { in ActOnObjCBoolLiteral()
|
| H A D | SemaExprCXX.cpp | 291 LookupName(Found, S); in getDestructorName()
|
| /llvm-project-15.0.7/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 168 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName, 218 StringRef LookupName);
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 86 sema.LookupName(*lookup_result, scopes.back()); in emulateLookupInCtxt()
|
| H A D | ClangModulesDeclVendor.cpp | 399 m_compiler_instance->getSema().LookupName( in FindDecls()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyCheck.cpp | 93 const llvm::Twine &LookupName) { in getAsBool() argument
|
| /llvm-project-15.0.7/clang/unittests/Interpreter/ |
| H A D | InterpreterTest.cpp | 250 SemaRef.LookupName(R, SemaRef.TUScope);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 389 DeclarationName LookupName(&II); in lookupSiblingsWithinContext() local 408 LookupResult = DC->lookup(LookupName); in lookupSiblingsWithinContext()
|